Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lemonnekogh/guolai
- Owner: LemonNekoGH
- License: mit
- Created: 2024-07-22T05:44:24.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T12:02:15.000Z (5 months ago)
- Last Synced: 2024-10-26T22:52:58.709Z (about 2 months ago)
- Topics: api-wrapper, golang, wolai
- Language: Go
- Homepage: https://pkg.go.dev/github.com/lemonnekogh/guolai
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 mainimport (
"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)
}
```