Unofficial Golang client for NexusMods.
Provides a convenient way to interface with the API to avoid sending HTTP requests manually.
go get github.com/the-egg-corp/gonexus
import (
"github.com/the-egg-corp/gonexus/v1"
)
Note
A personal API key is required to return any data!
You can get generate one in your account settings.
It is recommended to store your key safely using environment variables.
var NexusClient, ClientError = v1.NewNexusClient(os.Getenv("NEXUS_KEY"))
Until there is proper documentation, you can look at the tests for some usage examples.
Feel free to join my discord for support or suggestions.