Search, Simplify detail & Downloadable from Apkpure.com
- Simply to use
- Readable
- Using async request & multithreading for really fast request (not really sure)
- Easy accessing dictionary
git clone https://github.com/kurodenjiro/api.apkpure
cd api.apkpure
pip3 install -r requirements.txt
python3 main.py
GET localhost:5000/query?search=<query string>
GET http://localhost:5000/appDetail?url=<url app>
#Example : /pubg-tencent-1i/com.tencent.ig
GET http://localhost:5000/trending
from apis import ApkPure
apk = ApkPure(return_as="dict")
#set 'dict' or 'rpc' for returning as
search = api._search("pubg")
print(search)
details = api.detail_from_url(search.results[0].url)
print(details)
# or you can get position of array when return data
search = api._search("pubg")
detail = api._detail(search, 1)
print(detail)
trending = api._trending()
print(trending)
download = api._download(url=detail.url_download, name=detail.title, ex=detail.extension, path="/downloads)