kurodenjiro / api.apkpure

api Search, Simplify detail & Downloadable from Apkpure.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ApkPure Api Enpoint ✨

Search, Simplify detail & Downloadable from Apkpure.com

Python License


Features

  1. Simply to use
  2. Readable
  3. Using async request & multithreading for really fast request (not really sure)
  4. Easy accessing dictionary

Installing

  • git clone https://github.com/kurodenjiro/api.apkpure
  • cd api.apkpure
  • pip3 install -r requirements.txt

Start Server

python3 main.py

API document

Search

GET localhost:5000/query?search=<query string>

Get Detail

GET http://localhost:5000/appDetail?url=<url app> 

#Example : /pubg-tencent-1i/com.tencent.ig

Get Trending

GET http://localhost:5000/trending

How to

from apis import ApkPure

apk = ApkPure(return_as="dict")
#set 'dict' or 'rpc' for returning as

Search Application

search = api._search("pubg")
print(search)

Get Details from giving url

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)

Get Trending

trending = api._trending()
print(trending)

Download application

download = api._download(url=detail.url_download, name=detail.title, ex=detail.extension, path="/downloads)

Buy Me A Coffee

Author

Kuro / Kuro

api.apkpure

About

api Search, Simplify detail & Downloadable from Apkpure.com

License:Other


Languages

Language:Python 100.0%