Skip to content

Latest commit

 

History

History
111 lines (75 loc) · 1.7 KB

README.md

File metadata and controls

111 lines (75 loc) · 1.7 KB

简介

  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/