Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 04-Jul-2021 | - | |||
.gitignore | H A D | 04-Jul-2021 | 7 | |||
.golangci.yml | H A D | 04-Jul-2021 | 1.6 KiB | |||
LICENSE | H A D | 04-Jul-2021 | 16.3 KiB | |||
Makefile | H A D | 04-Jul-2021 | 174 | |||
client.go | H A D | 04-Jul-2021 | 4 KiB | |||
client_test.go | H A D | 04-Jul-2021 | 2.7 KiB | |||
go.mod | H A D | 04-Jul-2021 | 132 | |||
go.sum | H A D | 04-Jul-2021 | 1.5 KiB | |||
readme.md | H A D | 04-Jul-2021 | 922 |
readme.md
1# Go library for accessing the freemyip.com API 2 3[![Build Status](https://github.com/nrdcg/freemyip/workflows/Main/badge.svg?branch=main)](https://github.com/nrdcg/freemyip/actions) 4[![PkgGoDev](https://pkg.go.dev/badge/github.com/nrdcg/freemyip)](https://pkg.go.dev/github.com/nrdcg/freemyip) 5[![Go Report Card](https://goreportcard.com/badge/github.com/nrdcg/freemyip)](https://goreportcard.com/report/github.com/nrdcg/freemyip) 6 7An [freemyip.com](https://freemyip.com) API client written in Go. 8 9freemyip is a Go client library for accessing the freemyip.com API. 10 11## Examples 12 13```go 14package main 15 16import ( 17 "context" 18 "fmt" 19 20 "github.com/nrdcg/freemyip" 21) 22 23func main() { 24 client := freemyip.New("secret", true) 25 26 ctx := context.Background() 27 28 resp, err := client.UpdateDomain(ctx, "example", "") 29 if err != nil { 30 panic(err) 31 } 32 33 fmt.Println(resp) 34} 35``` 36 37## API Documentation 38 39- [API docs](https://freemyip.com/help) 40