Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
/ go-fortnitetracker Public archive

Fortnite Tracker API Client for Go

License

Notifications You must be signed in to change notification settings

fterrag/go-fortnitetracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-fortnitetracker

Fortnite Tracker API Client for Go

Getting Started

Before using this library, you'll need to obtain an API key from https://fortnitetracker.com/site-api.

Here's some example code taken from example/example.go that will display the total number of lifetime solo kills for Ninja:

httpClient := &http.Client{}
key := "your-api-key"

tracker := fortnitetracker.NewFortniteTracker(httpClient, key)
stats, _ := tracker.GetStats("pc", "ninja")

fmt.Printf("%d total solo kills\n", stats.Stats.LifetimeSolo.Kills.ValueInt)

Tracker Network API Terms of Use

About

Fortnite Tracker API Client for Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages