Skip to content

savla-dev/swis-nexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swis-nexus

Go Reference Go Report Card

A simple client/connector for swis-api RESTful JSON API.

An example implementation can be seen in cmd/main.go file.

import

go install go.savla.dev/swis-nexus@latest
package main

import (
    "go.savla.dev/swis-nexus/pkg/nexus"
)

func main() {
    client := nexus.Client{
        BaseURL: "https://swapi.example.com",
        Token:   "xxx",
        Verbose: true,
    }

    client.Read("/users", nil)
}