5.0.0-beta.3 • Published 10 months ago

@valapi/web-client v5.0.0-beta.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Web API

Downloads install size Known Vulnerabilities

LICENSE Github Discord

Documentation: valapi.github.io/docs

Guide: valapi.github.io/guide


  • @valapi/web-client 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/web-client 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/web-client

PNPM:

pnpm add @valapi/web-client

Guide

import { WebClient } from "@valapi/web-client";
const client = new WebClient({
    user: auth.toJSON(),
    region: await auth.regionTokenization()
});

API

const userInfo = await client.getUserInfo();

console.log(userInfo.data);
const mapId = "match-id-1234567890";
const matchDetails = await client.Match.fetchMatchDetails(mapId);

console.log(matchDetails.data);
const wallet = await client.Store.getWallet(subject);

console.log(wallet.data);
5.0.0-beta.2

10 months ago

5.0.0-beta.3

10 months ago

5.0.0-beta.1

10 months ago

5.0.0-beta.0

12 months ago

4.0.0

1 year ago

3.3.0

2 years ago

3.2.0

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.0.2

3 years ago

1.1.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago