baltpeter / parse-play

Library for fetching and parsing select data on Android apps from the Google Play Store via undocumented internal APIs.
MIT License
24 stars 2 forks source link

Support for fetching top charts data #1

Closed baltpeter closed 2 years ago

baltpeter commented 2 years ago

This adds support for fetching top charts for Android apps from the Google Play Store using an undocumented internal API. You can fetch multiple top charts in the same request.

Usage example:

const res = await fetchTopCharts(
    [
        { category: 'APPLICATION', chart: 'topselling_free', count: 500 },
        { category: 'GAME', chart: 'topselling_free', count: 500 },
    ],
    { country: 'DE', language: 'EN' }
);
console.log(res);