Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 867 Bytes

readme.md

File metadata and controls

37 lines (25 loc) · 867 Bytes

Go library for accessing the freemyip.com API

Build Status PkgGoDev Go Report Card

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