Categorygithub.com/FryDay/spontit-go
repositorypackage
0.0.0-20201101063810-aec60db10709
Repository: https://github.com/fryday/spontit-go.git
Documentation: pkg.go.dev

# README

Go client for the Spontit API PkgGoDev

Spontit-go is an unofficial Spontit client for the Go programming language.

Installation

go get github.com/FryDay/spontit-go

Usage

Create a .env file in the root of your project and add the following lines:

SPONTIT_USERID=your_user_id
SPONTIT_KEY=your_private_key

Then to create a Spontit client:

package main

import (
	"log"

	"github.com/FryDay/spontit-go"
)

func main() {
	spontitClient, err := spontit.NewClient()
	if err != nil {
		log.Fatal(err)
    }

    // Do things with the client here...
}

Progress

API

  • Push
  • Categories
  • Channel
    • Create
    • Get
    • Change
    • Delete
    • Profile Image
  • Channels
  • Followers

Other

  • Tests
  • Examples