Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/valapi/node-valapi

Valorant API wrapper for nodejs
https://github.com/valapi/node-valapi

multifactor nodejs npm riot-api twofactor typescript valorant-api

Last synced: about 2 months ago
JSON representation

Valorant API wrapper for nodejs

Awesome Lists containing this project

README

        

[githubrepo_image]: https://github.com/valapi/.github/blob/main/128_valapi.png?raw=true
[githubrepo_url]: https://github.com/valapi
[license_image]: https://badgen.net/badge/license/MIT/blue
[license_url]: https://github.com/valapi/.github/blob/main/LICENSE
[github_image]: https://badgen.net/badge/icon/github?icon=github&label
[github_url]: https://github.com/valapi/node-valapi
[discord_image]: https://badgen.net/badge/icon/discord?icon=discord&label
[discord_url]: https://discord.gg/pbyWbUYjyt

# node-valapi

[![Profile][githubrepo_image]][github_url]

NodeJS packages that make more easier to use Valorant API

[![LICENSE][license_image]][license_url]
[![Github][github_image]][github_url]
[![Discord][discord_image]][discord_url]

Documentation: [valapi.github.io/docs](https://valapi.github.io/docs)

Guide: [valapi.github.io/guide](https://valapi.github.io/guide)

---

> - **node-valapi** 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.
> - **node-valapi** was created under [Riot Games' "Legal Jibber Jabber"](https://www.riotgames.com/en/legal) policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.
> - [MIT License][license_url]

## Projects

- [@valapi/auth](./packages/@valapi/auth)
- [@valapi/crosshair](./packages/@valapi/crosshair)
- [@valapi/lib](./packages/@valapi/lib)
- [@valapi/riot-api](./packages/@valapi/riot-api)
- [@valapi/valorant-api.com](./packages/@valapi/valorant-api.com)
- [@valapi/web-client](./packages/@valapi/web-client)

## Release

```bash
npm run build
```

```bash
npm publish --workspaces
```

Delete compiled files *(after build)*

```bash
npm run clean
```

## Testing

```bash
npm run test
```

**dotenv**

Regions: [valapi.github.io/guide/lib/region](https://valapi.github.io/guide/packages/lib/region.html)

```dosini
# multi-factor must be "disable"
VAL_REGION="na"
VAL_USER="RiotUsername"
VAL_PASS="Passowrd"

# https://developer.riotgames.com
VAL_RIOT_API="API_KEY_123"
```