JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q28645F
  • License MIT

Roku Store Scrapper for fetching all useful data from app page

Package Exports

  • roku-store-scraper
  • roku-store-scraper/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (roku-store-scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

roku-store-scraper

Node.js module to scrape application data from the Roku store.

Inspired by projects:

⚠️ Notes

This project is under development, thus a lot of things(most) are not implemented yet.
Feel free to contribute!

The API contract of this module adhered to the contract of the projects listed above.

Installation

npm install roku-store-scraper

Usage

Available methods:

  • app: Retrieves the full detail of an application.

app

Retrieves the full detail of an application. Options:

  • appId: the package id of the application (the id route on the url).
  • lang (optional, defaults to 'en'): the ISO 639-1 alpha-2 language code in which to fetch the app page.
  • country (optional, defaults to 'US'): the ISO 3166-1 alpha-2 country code used to retrieve the applications. Needed when the app is available only in some countries.

Example:

import rokuStoreScraper from "roku-store-scraper";

rokuStoreScraper.app({appId:  '53d2dd2504402eec1bc49ad74daf2e90:a13d7afc25f9a0a2db48abf783f2a46e'})
    .then(console.log, console.log);

Results:

{
  id: '53d2dd2504402eec1bc49ad74daf2e90:a13d7afc25f9a0a2db48abf783f2a46e',
  title: 'TuneIn',
  genres: [ 'Music & Podcasts', 'Featured' ]
}

If app does not exist the following value will be resolved:

null