Skip to content

Wrapper for the Nexus Mods API, written in Go.

License

Notifications You must be signed in to change notification settings

The-Egg-Corp/GoNexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoNexus

Unofficial Golang client for NexusMods.
Provides a convenient way to interface with the API to avoid sending HTTP requests manually.

Install and Import

go get github.com/the-egg-corp/gonexus
import (
    "github.com/the-egg-corp/gonexus/v1"
)

Setup

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"))

Usage

Until there is proper documentation, you can look at the tests for some usage examples.

Contact

Feel free to join my discord for support or suggestions.