SkillAgentSearch skills...

Namesilo

Go library for accessing the Namesilo API.

Install / Use

/learn @nrdcg/Namesilo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Go library for accessing the Namesilo API

GitHub tag (latest SemVer) Build Status PkgGoDev

A Namesilo API client written in Go.

namesilo is a Go client library for accessing the Namesilo API.

Examples

package main

import (
	"context"
	"fmt"
	"log"

	"github.com/nrdcg/namesilo"
)

func main() {
	client := namesilo.NewClient("1234")

	params := &namesilo.AddAccountFundsParams{
		Amount:    "1000000",
		PaymentID: "acbd",
	}

	funds, err := client.AddAccountFunds(context.Background(), params)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(funds)
}
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/nrdcg/namesilo"
)

func main() {
	client := namesilo.NewClient("1234")

	// Get the endpoint to use the OTE endpoint.
	endpoint, err := namesilo.GetEndpoint(false, true)
	if err != nil {
		log.Fatal(err)
	}

	client.Endpoint = endpoint

	params := &namesilo.AddAccountFundsParams{
		Amount:    "1000000",
		PaymentID: "acbd",
	}

	funds, err := client.AddAccountFunds(context.Background(), params)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(funds)
}

API Documentation

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated4mo ago
Forks8

Languages

Go

Security Score

92/100

Audited on Nov 24, 2025

No findings