0.1.0 • Published 3 years ago
ns-eshop-sale v0.1.0
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;
0.1.0
3 years ago