ns-eshop-sale
v0.1.0
Published
An unofficial nodejs API for Nintendo Switch eShop on Sale.
Readme
ns-eshop-sale
ns-eshop-saleis a package written in Node.js that fetches Nintendo Switch's eShop Games on Sale.
Installation
npm install ns-eshop-saleUsage
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;
