Skip to content

netskopeoss/netskope-api-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NETSKOPE-API-CLIENT-GO

The NSGO Package is an API client developed in GO for use with the Netskope v2 APIs. The client was developed for and is used by the Netskope Terraform Provider.

Requirements

  • Go >= 1.20

Usage

package main

import (
	"fmt"
	"os"

	"github.com/netskopeoss/netskope-api-client-go/nsgo"
)

func main() {
	//Init a client instance
	nsclient := nsgo.NewClient(os.Getenv("NS_BaseURL"), os.Getenv("NS_ApiToken"))

	//Get Publishers
	pubs, err := nsclient.GetPublishers()
	if err != nil {
		fmt.Println(err)
		return
	}

	fmt.Println(pubs)

}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages