Skip to content

nicolasq123/google-play-api

 
 

Repository files navigation

简介

  1. fork from https://github.com/facundoolano/google-play-scraper/
  2. 爬数据转成csv

install nvm node

  1. nvm install 16
  2. nvm use 16
  3. npm install
  4. npm start

运行python脚本爬数据保存到csv

python3 main.py

google-play-api

Turns google-play-scraper into a RESTful API.

To run locally:

npm install
npm start

Example requests

The parameters for each endpoint are taken directly from google-play-scraper. For a full reference check its documentation.

Get the top free apps (default list)

GET /api/apps/

Get the top free apps with full detail

GET /api/apps/?fullDetail=true

Get the top selling action games in russia

GET /api/apps/?collection=topselling_paid&category=GAME_ACTION&country=ru

Get an app detail

GET /api/apps/org.wikipedia/

Get an app detail in spanish

GET /api/apps/org.wikipedia/?lang=es

Get app required permissions with full descriptions

GET /api/apps/org.wikipedia/permissions/

Get app required permissions (short list)

GET /api/apps/org.wikipedia/permissions/?short=true

Get app data safety information

GET /api/apps/org.wikipedia/datasafety/

Get similar apps

GET /api/apps/org.wikipedia/similar/

Get an app's reviews

GET /api/apps/org.wikipedia/reviews/

Search apps

GET /api/apps/?q=facebook

Get search suggestions for a partial term

GET /api/apps/?suggest=face

Get apps by developer

GET /api/developers/Wikimedia%20Foundation/

Get categories

GET /api/categories/

About

Turns google-play-scraper into a RESTful API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.6%
  • Python 38.8%
  • Makefile 2.5%
  • Dockerfile 1.1%