An Api wrapper for the AtomicMarket API.
All functions are not tested or guaranteed to work correctly yet.
go get -u github.com/World-of-Cryptopups/atomicmarket-go
package main
import (
"fmt"
"log"
"github.com/World-of-Cryptopups/atomicmarket-go"
)
func main() {
a := atomicmarket.New()
get, err := a.GetAssets(&atomicmarket.GetAssetsQuery{
Limit: 1,
})
fmt.Println(get)
if err != nil {
fmt.Println("Err")
log.Fatal(err)
}
id := get.Data[0].AssetID
fmt.Println(get.Data[0].Name, " - ", id)
}
© 2022 | World of Cryptopups