Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

expel-io/go-sigsci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status GoDoc Go Report Card

go-sigsci

Go client library for the Signal Sciences API.

Installation

go get github.com/signalsciences/go-sigsci

Usage

email := “[sigsci email]”
password := “[sigsci password]“
sc, err := sigsci.NewClient(email, password)
if err != nil {
        log.Fatal(err)
}

Full example

package main

import (
        "log"

        sigsci "github.com/signalsciences/go-sigsci"
)

func main() {
        email := “[sigsci email]“
        password := “[sigsci password]“
        sc, err := sigsci.NewClient(email, password)
        if err != nil {
                log.Fatal(err)
        }

        agents, err := sc.ListAgents("testcorp", "www.mysite.com")
        if err != nil {
                log.Fatal(err)
        }

        log.Println(agents)
}

About

Go client library for the Signal Sciences API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.7%
  • Makefile 0.3%