Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lemonnekogh/guolai

Golang bindings for the Wolai open API.
https://github.com/lemonnekogh/guolai

api-wrapper golang wolai

Last synced: 11 days ago
JSON representation

Golang bindings for the Wolai open API.

Awesome Lists containing this project

README

        

# guolai
Golang bindings for the [Wolai](https://www.wolai.com/product) open API.

## Get Started
Install the package with the following command:
```shell
go get github.com/lemonnekogh/guolai
```

## Usage

```go
package main

import (
"fmt"
"github.com/lemonnekogh/guolai"
)

func main() {
client := guolai.New("YOUR_API_KEY")
blockApiResp, err := client.GetBlocks("your block id")
if err != nil {
panic(err)
}

fmt.Printf("blockApiResp: %+v\n", blockApiResp)
}
```