Giter VIP home page Giter VIP logo

api.apkpure's Introduction

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

api.apkpure's People

Contributors

alnyz avatar codacy-badger avatar kurodenjiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.