Skip to content

VALORANT client API wrapper written in Go w/ fasthttp

Notifications You must be signed in to change notification settings

jckli/valorant.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

valorant.go

disclaimer: this wrapper is still a big work in progress and doesn't cover every endpoint yet. use at own risk.

an golang API wrapper for VALORANT's client/unofficial API written with fasthttp

getting started

installing

this assumes you have a working go envirenment, if not please see this page first

go get github.com/jckli/valorant.go

usage

import the package into your project and then login to a valorant account.

example:

package main

import (
    "github.com/jckli/valorant.go"
    "github.com/jckli/valorant.go/game"
)

func main() {
	client, err := valorant.New("username", "password")
    if err != nil {
        panic(err)
    }
    playerGame, _ := game.GetPlayerGame(client, client.UserInfo.UserId)
    gameInfo, _ := game.GetGameInfo(client, playerGame.MatchID)
}

notes

  • dont use this to make anything that is against the tos

Releases

No releases published

Packages

No packages published

Languages