dinistavares / go-ringover-api

An unofficial GoLang wrapper for the Ringover API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-ringover-api

An Unofficial Ringover API Golang wrapper.

Usage & Authentication

import ringoverAPI "github.com/dinistavares/go-ringover-api"

To authenticate against the Ringover REST API, obtain your API Key from the Developer page in your Ringover Dashboard. You'll need to create, copy and replace API_KEY in the code below.

Keep your token API key private, and store them safely for long-term use.

Construct a new Ringover client, and Authenticate. You can then call the availabl methods, for example:

  client := ringoverAPI.New()

  client.Authenticate(API_KEY)

	users, err := client.GetUsersInTeams()

	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Printf("Users: %+v\n", users ) 
	}

About

An unofficial GoLang wrapper for the Ringover API


Languages

Language:Go 100.0%