Files
m3o-go/examples/nft/collection/getASingleCollection/main.go
2022-02-25 13:12:07 +00:00

18 lines
252 B
Go
Executable File

package main
import (
"fmt"
"os"
"go.m3o.com/nft"
)
//
func main() {
nftService := nft.NewNftService(os.Getenv("M3O_API_TOKEN"))
rsp, err := nftService.Collection(&nft.CollectionRequest{
Slug: "doodles-official",
})
fmt.Println(rsp, err)
}