Skip to content

AbhiTheModder/apksearch

Repository files navigation

apksearch

apksearch is a Python library designed to search for APK files on different APK websites, such as APKPure and APKMirror. It allows users to find APKs, check for available versions, and retrieve download links.

The Inspiration: There were countless occasions when I needed a specific APK for a package name, only to find it unavailable on popular platforms. This led to the tedious task of manually visiting multiple websites and searching one by one.

screenshot


As you can see, Roblox version 2.647.716 is not available on APKPure and APKCombo, this helped me avoid going through these sites.

P.S: If you're looking for an APK downloader, I highly recommend using apkeep.

Features

  • Search APKs: The library provides methods to search for APKs using package names.
  • Retrieve APK Versions and Download Links: It can fetch available versions and their download links for a given APK from various websites.
  • Command-Line Interface: A CLI is available for users to search for APKs directly from the command line.

Supported Websites

Note

For site owners: If you're the owner of a website that's not listed here and you'd like to add support for it, feel free to open an issue or submit a pull request. I'm open to adding more websites to the library. I respect the value of user engagement and the revenue it generates for your site. To honor this, I have deliberately avoided including a download feature in the library, ensuring users will still need to visit your website, maintaining its traffic and engagement. Additionally, I kindly ask that you refrain from enforcing strict blocking measures, such as aggressive Cloudflare rules, as the library is designed to work collaboratively rather than disruptively. Thank you!

Installation

To install/upgrade the apksearch library, use the following command:

pip install -U git+https://github.com/AbhiTheModder/apksearch.git

OR, through pip:

pip install -U apksearch

OR, if you've cloned the repository locally you can do so via:

pip install -U . # or path to the local clone

Usage

Command-Line Interface

To use the CLI, run the following command:

apksearch <package_name> [--version <version>]

Example:

apksearch com.roblox.client --version 2.652.765

Testing

The project includes tests for the sites classes. To run the tests, use the following command:

pytest

TODO

  • Add more websites to search for APKs.

Acknowledgements

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

If you find this project helpful, please consider giving it a ⭐. Your support is greatly appreciated!