Package Exports
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 (@javilobo8/riot-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@javilobo8/riot-api
Another Riot API wrapper for Node.js.
Features
- Fully typed
- Promise-based
- Constants
- Axios based requests
Installation
npm install @javilobo8/riot-api
Usage
import { RiotAPILOL } from '@javilobo8/riot-api';
const riotApi = new RiotAPI({
apiKey: 'RGAPI-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
});
const account = await riotApi.account.byRiotId('EUW', 'javilobo8', 'zoso');
Base package: typescript-npm-package-template