Skip to content

nrdcg/freemyip

Repository files navigation

Go library for accessing the freemyip.com API

Build Status PkgGoDev Go Report Card

An freemyip.com API client written in Go.

freemyip is a Go client library for accessing the freemyip.com API.

Examples

package main

import (
	"context"
	"fmt"

	"github.com/nrdcg/freemyip"
)

func main() {
	client := freemyip.New("secret", true)

	ctx := context.Background()

	resp, err := client.UpdateDomain(ctx, "example", "")
	if err != nil {
		panic(err)
	}

	fmt.Println(resp)
}

API Documentation