Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.67 KB

README.md

File metadata and controls

66 lines (44 loc) · 2.67 KB

Steam IGameServersService client

GitHub repo size GitHub issues

See license if you plan to run this software. If you have any doubt contact us.

This is a Go implementation of the Steam IGameServersService interface. It is used to manage game servers that needs a token to work. If you want to use it, you need a Steam key. You can manage your Steam game server tokens through the official web.

References

How to use it?

If you want to use this client implementation in your own projects, you only need to execute the next command in your project root directory:

$ go get -u github.com/csgoservers/steam-gslt/pkg

In order to use it in your own projects you can use this code template:

import "github.com/csgoservers/steam-gslt/pkg/client"

func main() {
  key := "use your own Steam API key"
  steam := client.New(key)
  accounts, err := steam.GetAccountList()
  if err != nil {
    return
  }
  // use `accounts` here
}

This is an example that retrieves all accounts from your Steam API key.

Implemented methods in this library are:

CLI

Command line application is a work in progress.

To use it you just need to clone this repository and execute the make build directive. If you want to see the full list of supported flags, then execute this command:

$ ./gslt-cli --help

License

This is not an official Steam product. csgoservers.xyz is not affiliated with Valve Corporation or Counter-Strike

See LICENSE

License