ns-eshop-sale
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

ns-eshop-sale

ns-eshop-sale is a package written in Node.js that fetches Nintendo Switch's eShop Games on Sale.

Installation

npm install ns-eshop-sale

Usage

import { getSaleGames } from 'ns-eshop-sale';

(async () => {
  console.log(
    await getSaleGames({ country: 'KR', language: 'ko', count: 3, offset: 0 })
  );
})();

API

getSaleGames(apiParams: ApiParams): Promise

ApiParams

  country?: string;
  language?: string;
  count?: number;
  offset?: number;

ApiResponse

  contents: Content[];
  length: number;
  offset: number;
  total: number;

Readme

Keywords

none

Package Sidebar

Install

npm i ns-eshop-sale

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

15.7 kB

Total Files

33

Last publish

Collaborators

  • rkjun