Go wrapper for Fortnite-API.com
This library offers a complete wrapper around the endpoints of fortnite-api.com.
go get -u github.com/LlamaNite/fortniteapi
package main
import (
"github.com/LlamaNite/fortniteapi"
"fmt"
)
func main() {
api := fortniteapi.New() // .NewWithToken("YourToken") if you want to use Token.
brNews, err := api.NewsBR(fortniteapi.LanguageEN)
if err != nil {
panic(err)
}
fmt.Println(brNews.Data.Image)
}
TODO
Every type of contribution is appreciated!
- fortniteapi (MIT) License