4.0.0 • Published 23 days ago
@valapi/riot-api v4.0.0
- @valapi/riot-api isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.
- @valapi/riot-api was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.
- MIT License
Installation
NPM:
npm install @valapi/riot-api
PNPM:
pnpm add @valapi/riot-api
Guide
Full Guide: valapi.github.io
import { RiotApi } from "@valapi/riot-api";
Client
const riotApi = new RiotApi({
apiKey: "LoooooongApiKey_123456789",
region: "ap"
});
API
const status = await riotApi.StatusV1.platformData();
console.log(status.data);
const accountData = await riotApi.AccountV1.byRiotId("PRX f0rsakeN", "Huh");
console.log(accountData.data);
4.0.0
23 days ago
3.3.0
8 months ago
3.2.0
10 months ago
3.0.2
12 months ago
3.0.1
1 year ago
3.0.0
1 year ago
2.1.0
1 year ago
2.0.1
1 year ago
2.0.0
2 years ago
1.4.3
2 years ago
1.4.2
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago