An open API service indexing awesome lists of open source software.

https://github.com/09u2h4n/pyapkdownloader

PyAPKDownloader is a Python module that enables you to download Android APK
https://github.com/09u2h4n/pyapkdownloader

apkdownloader apkpure apkpure-scraper aptoide python python3

Last synced: about 1 year ago
JSON representation

PyAPKDownloader is a Python module that enables you to download Android APK

Awesome Lists containing this project

README

          

---
[English](https://github.com/09u2h4n/PyAPKDownloader/blob/main/README.md) | [Turkish](https://github.com/09u2h4n/PyAPKDownloader/blob/main/docs/README_TR.md)
---

# PyAPKDownloader Module Documentation
PyAPKDownloader is a Python module that allows you to download Android APK files using alternative sources such as Aptoide and ApkPure. This documentation serves as a general introduction and may require customization for your specific use case.
## Installation 🚀
You can install PyAPKDownloader using pip:

pip install PyAPKDownloader

OR you can use setup.py to set dist directory and use.

pip install .

I recommend to use virtual in environment.

python3 -m venv venv && pip install .

## Usage 📦
The PyAPKDownloader module includes classes for Aptoide and ApkPure, which you can use to download APK files from the source of your choice.
### Using Aptoide 🛒
To download an APK file using the Aptoide class, you can use the following example:

from PyAPKDownloader.aptoide import Aptoide
Downloader = Aptoide()
Downloader.download_by_package_name(package_name="com.whatsapp", file_name="Whatsapp", version="latest", in_background=False, limit=30)
- `package_name`: Specifies the package name of the application you want to download.
- `file_name`: Specifies the name of the downloaded APK file.
- `version`: Specifies the version you want to download (e.g., you can use "latest" to get the latest version).
- `in_background`: Specifies whether the download process will run in the background.
- `limit`: Determines the depth of the search when searching for an application. (The more it is, the slower it becomes.)
### Using ApkPure 🌐
To download an APK file using the ApkPure class, you can use the following example:

from PyAPKDownloader.apkpure import ApkPure
Downloader = ApkPure()
Downloader.download_by_package_name(package_name="com.whatsapp", file_name="Whatsapp", version="latest", app_ext="xapk", in_background=False)
- `package_name`: Specifies the package name of the application you want to download.
- `file_name`: Specifies the name of the downloaded APK file.
- `version`: Specifies the version you want to download (e.g., you can use "latest" to get the latest version).
- `app_ext`: Specifies the file extension of the downloaded file (e.g., you can use "xapk").
- `in_background`: Specifies whether the download process will run in the background.

Note: Entries like `package_name="com.whatsapp"` are just examples. You can change the package name to download other applications.

## Contact and Support 📧

For more information about the PyAPKDownloader module, questions, or support, please refer to the [GitHub repository](https://github.com/09u2h4n/PyAPKDownloader).

This documentation provides an overview of the basic usage of the PyAPKDownloader module.

## ToDo 🛠️
* The code will be optimized
* New classes will be added
* Apkpure will be fixed
* New method (Js-powered requests) will be added