Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-08 14:43:43 +00:00
parent ba04dfd77e
commit eca42fbc54
22 changed files with 990 additions and 927 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/nft"
)
// Get a list of collections
func main() {
nftService := nft.NewNftService(os.Getenv("M3O_API_TOKEN"))
rsp, err := nftService.Collections(&nft.CollectionsRequest{
Limit: 1,
})
fmt.Println(rsp, err)
}