Unofficial valorant client to interact with riot's valorant game api.



Dart Flutter

likes popularity pub points

valorant_client is a library to interact with VALORANT Game API's to fetch user specific data such as matches played, user info, store info etc.


  • Add valorant_client as a dependency on pubspec.yaml file on your project root. At the time of this writing, the latest package version is 1.1.0. Do check Package Page to get latest version.
  valorant_client: ^1.1.3
  • Import the library to your project class in which you want to use the library.
import 'package:valorant_client/valorant_client.dart';
  • Create a new instance of ValorantClient class.
ValorantClient client = ValorantClient(
    UserDetails(userName: {'your_username'}, password: {'your_password'}, region: {your_region}),
    callback: Callback(
      onError: (String error) {
      onRequestError: (DioError error) {

NOTE: Passing the callback here is optional. However, to know if your request failed internally due to wrong status code etc, you will require the callback.

  • Now you can initialize client. Optional Boolean parameter can be set as true if you want to handle re-authorization if session becames invalid.
await client.init(true);

NOTE: This is an async function, it authorizes this client to valorant API's. without calling this, you will not get results from the api.

  • Thats it! Now you can send api requests to Valorant API. To Get current authorized player, you can call:
final currentPlayer = await client.playerInterface.getPlayer();

Features Implemented

  • Authorization (RSO authorization flow)

    • You can use this authorization system to authorize an account, get Authorization headers required for API calls, and use it with any endpoint which is not yet implemented in this library.
    • Authorized Session normally lasts for 1 hour (Riot API limitation), you can set it to automatically re-authorize depending on the validity period if required.
  • Player Endpoint

    • Get Player (IGN, Tag Line)
    • Get Store Items
    • Get MMR
    • Get Balance (VP, Radianite Points etc)
  • Assets Endpoint

    • Get All Content Assets (Including their path, asset id etc)

Buy Me A Coffee

You might also like...

A simple and easy to use Redis client for Dart

redis_dart A simple and minimalist Redis client for Dart See it in pub: and GitHub:

Dec 25, 2022

An architecture for dynamic UI without client deployment

Server Driven UI Demo Server Driven UI(SDUI)는 서버에서 클라이언트의 UI 컴포넌트를 관리하는 방식. 클라이언트 배포없이 API 응답을 변경하는 것만으로 UI 변경이 가능한 동시에 하위 호환성을 확보할 수 있다. Rust, GraphQ

Oct 17, 2022

Invoice Ninja client built with Flutter

Invoice Ninja client built with Flutter

Invoice Ninja Client app for the Invoice Ninja web app. Google Play Store: v4 | v5 Apple App Store: v4 | v5 Setting up the app Initialize the config f

Dec 25, 2022

A simple, modern AppImageHub Client, powered by flutter.

A simple, modern AppImageHub Client, powered by flutter.

AppImagePool Simple AppImageHub Client Main Features FLOSS and non profit app Simple categories Download from github directly, no extra-server involve

Jan 1, 2023

Wallet Connect client in Dart.

Wallet Connect Wallet Connect client in dart highly inspired from wallet-connect-kotlin by Trust Wallet. Usage import 'package:wallet_connect/wall

Dec 29, 2022

Dalal Street Client 2022

Flutter Client for Dalal Street Prerequisites Flutter 2.12 Download Link Protocol Buffer Compiler Download Link Check Prerequisites Run if you have i

Dec 22, 2022

An Android Client for ZeroNet Built With Flutter

ZeroNet Mobile ZeroNet Mobile is an Android Client for ZeroNet, a platform for decentralized websites using Bitcoin crypto and the BitTorrent network.

Nov 10, 2021

A Mastodon client built in Flutter

A Mastodon client built in Flutter

feathr A Mastodon client built in Flutter (in development). Contributing Pull requests are welcome. For major changes, please open an issue first to d

Nov 25, 2022
  • Google Sign can be supported ?

    Google Sign can be supported ?

    Thanks for the effort to make and open-source this package. Been experimenting with it so wanted to know any idea about google sign-in can be supported ?

    opened by gurupatel107 1
  • macOS dio 403 error

    macOS dio 403 error


    I wrote an app that works on both mobile and desktop using your package. It works on mobile without any problems, but when I run it on macOS, I get the following error. It used to work, then it suddenly broke (which I never updated the code). After that, it never worked again.

    There is still no problem on mobile, it works without any problems, but when I run it as a macOS app, it does not work. I couldn't see any place about me from the error codes. Only 'client.init' showed the parts I made.

    Error : image

    If you want to examine my codes in detail, I leave my repo link.

    Repo :

    If you only want to see the methods I wrote about the client, etc., I put the link of that page directly below.

    Account Provider codes :

    Frankly, I couldn't figure out what I did myself. I wanted to open an issue as there may be a problem with the client.

    I wish have a nice day.

    opened by yagizdo 12
  • 2FA : Mutlifactor Authentication  feature ?

    2FA : Mutlifactor Authentication feature ?

    Hey I've been using your package and it's amazing. but the only problem I've faced is accounts with 2FA.

    So is there any way were can implement riot's RSO and combine it with the client.

    You've mentioned about RSO. But am unable to find anymore details about how to implement it.

    opened by bharadwajpalakurthy 11
Arun Prakash
Constantly patching myself with new updates :P
Arun Prakash
Unofficial Bavatar dart app for android, iOS and macOS

Unofficial Bavatar dart app for android, iOS and macOS Generated by the Very Good CLI ?? Getting Started ?? This project contains 3 flavors: developme

Pishure 3 Jul 12, 2021
Unofficial Dart SDK for Decentralized Social /

DeSo Dart SDK Unofficial Dart SDK for Decentralized Social / Report Bug · Request Feature Table of Contents About the Project Built With Gett

Deverse 8 Sep 16, 2022
Lightweight SMS Misr gateway implementation in dart (unofficial).

palestine_sms_misr (unofficial) Part of PalestineDevelopers Lightweight SMS Misr gateway implementation in dart (unofficial). Table Of Contents Featur

Palestine Developers 3 Mar 10, 2022
ThingsBoard PE API client library for Dart developers.

ThingsBoard PE API client library for Dart developers. It's compatible with TB PE 3.3.0. Usage A simple usage example: import 'package:thingsboard_pe_

ThingsBoard - Open-source IoT Platform 45 Sep 28, 2022
Notion API client for dart

Notion API client for dart. See the ROADMAP file to see what is coming next. API implemented Usage NotionClient class Individual classes A few example

Jonathan Gómez 22 Oct 9, 2022
Figma API client written in pure Dart

figma A library for interacting with Figma APIs. Created from templates made available by Stagehand under a BSD-style license. Usage A simple usage ex

Arne Molland 14 Oct 19, 2022
A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo API.

A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo Tracking API.

Floating Dartists 12 Jan 8, 2023
With ML Kit's face detection API, you can detect faces in an camera or image, Note that the API detects faces, it does not recognize people

Face Detection This project is a starting point for a Flutter application. Getting Started For help getting started with Flutter, view our online docu

Nashwan Abdullah 21 Dec 29, 2022
Weather-App-Api- - Simple Realtime Weather App With Api

music_app A new Flutter Weather App project. Getting Started // اول حاجه تعمل en

Youssif El Sayed 5 Nov 11, 2022
Lime client built using flutter

** This project ist OUT OF DATE and I am currently not able to maintain it ** What we are building Lime is a social media app, which allows you to pos

Sebastian Sellmair 376 Dec 24, 2022