Skip to content

duncanleo/go-smite-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-smite-api

GoDoc This is an API client library for the SMITE API (by Hi-Rez Studios).

Usage

import (
  "log"

  "github.com/duncanleo/go-smite-api/smite"
)

func main() {
  client := smite.Client{
    DevID: "1234",
    AuthKey: "abc123"
  }

  createSessionResponse, err := c.CreateSession()
	if err != nil {
		log.Panic(err)
  }
  log.Printf("Session created: %s", createSessionResponse.SessionID)
}

About

API client for SMITE built in Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages