Fortnite Tracker API Client for Go
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)