module
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Feb 20, 2023
License: MIT
Opens a new window with license information.
README
¶
go-reservoir

A Go client for the Reservoir API.
Endpoints supported
v1
https://docs.reservoir.tools/reference/
Example usage
package main
import (
"github.com/mager/go-reservoir/reservoir"
)
func main() {
// Create a new client
client := reservoir.NewReservoirClient("")
// Get Collections
slug := "azuki"
c, err := client.GetCollection(slug)
if err != nil {
// TODO: Handle error
}
// Print the collection
client.Log.Info(c.Name)
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.