Go-SDK¶
The Plutus Javascript Helper Library¶
The Plutus Javascript Helper Library makes it easy to interact with our APIs.
How To Install the Library¶
To use plutus-go SDK in your project initialize go modules then run:
go get https://github.com/Native-Spirit-Technologies/plutus-go-sdk
Using the Library¶
import (
"github.com/Native-Spirit-Technologies/plutus-go-sdk"
"fmt"
)
func main() {
client := plutus.NewClient() // Instantiate the SDK
data, err := client.GetNycTaxiData() // Call the method
if err != nil {
fmt.Println("Error fetching NYC taxi data:", err)
return
}
fmt.Println(data) // Log the fetched
Endpoints¶
Plutus Function |
---|
sdk.getNycTaxiData |