Go package for the Tebex Plugin API
Please note that all requests to the API must be sent via HTTPS
Golang
go get github.com/itschip/tebexgo
import (
"fmt"
"github.com/itschip/tebexgo"
)
func main() {
// Creates a new session
s := tebexgo.New("your_secret")
// You should handle your error here
pkg, err := s.GetPackage("package_id")
fmt.Println(pkg.Name) // Prints out the package name
}