Skip to content

truearken/valclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValClient Go Module

A Go module that wraps the Valorant game API.

Supports flexes via newest v3 content API.

Installation

To use the valclient module in your Go project, you can install it using go get:

go get github.com/truearken/valclient

Usage

Here's a basic example of how to use the valclient module in your Go application:

package main

import (
	"log"

	"github.com/truearken/valclient/valclient"
)

func main() {
	client, err := valclient.NewClient()
	if err != nil {
		panic(err)
	}

	loadout, err := client.GetPlayerLoadout()
	if err != nil {
		panic(err)
	}

	log.Print(loadout)
}

Features

  • Fetch player details
  • Fetch and set loadout
  • Retrieve match history
  • And more...

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

This project is inspired by valclient.py by Colin Hartigan.

Documentation for the endpoints is primarily from this Documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published