Simple Python package for directly downloading applications from Cafe Bazaar.
Project description
Bazaar-Dl
Simple Python package for directly downloading applications from Cafe Bazaar (cafebazaar.ir).
Installation
Install the package using pip:
pip install Bazaar-Dl
Example Usage
To download an app by its package name:
from bazaar_dl import download
# Download an application from Cafe Bazaar
result = download("com.android.chrome")
print(result)
Sample Output
For a successful download:
{'status': 'success',
'status_code': 200,
'data': {'download_link': 'https://appcdn2.cafebazaar.ir/apks/411684004063.apk?expire=1729014711&token=1968a55c45e145e64eb90f4653644462&a=.apk',
'package_size': '48667070',
'installation_size': '73000605'}}
For an error (e.g., invalid package name):
{'status': 'error',
'status_code': 404,
'message': '{"properties":{"statusCode":404,"errorMessage":"متأسفانه برنامه مورد نظر شما یافت نشد."},"singleReply":null}'}
Notes
- Replace
"com.android.chrome"
with the package name of the application you want to download.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bazaar_dl-1.0.3.tar.gz
(15.7 kB
view details)
Built Distribution
Bazaar_Dl-1.0.3-py3-none-any.whl
(15.0 kB
view details)
File details
Details for the file bazaar_dl-1.0.3.tar.gz
.
File metadata
- Download URL: bazaar_dl-1.0.3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c9daa009e7cccf2d0e4b4f59b59da53bd5f3193d51ff0f78ce85f35b078c5e4 |
|
MD5 | 32b30860a1c4bb30319c7c014fac6bc2 |
|
BLAKE2b-256 | 1bb9e49706f8c4e126422484891bfad6be32737b3d0bef2f1023daabce1b717b |
File details
Details for the file Bazaar_Dl-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: Bazaar_Dl-1.0.3-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2327f72b4569f6020375648a4c94559c1c6d8e5fd907cb6a2737c7f095519fdb |
|
MD5 | 7457b4e9195373a1b3efcfc9d0420ee0 |
|
BLAKE2b-256 | a371d50787658c620dcc47a68162173d7821b2e42b1f0c76735d4ad5ce866b3b |