https://github.com/nrdcg/freemyip
Go library for accessing the freemyip.com API.
https://github.com/nrdcg/freemyip
api-client dns-client freemyip go golang
Last synced: 5 months ago
JSON representation
Go library for accessing the freemyip.com API.
- Host: GitHub
- URL: https://github.com/nrdcg/freemyip
- Owner: nrdcg
- License: mpl-2.0
- Created: 2021-07-04T01:11:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T00:09:13.000Z (7 months ago)
- Last Synced: 2024-11-22T01:17:51.340Z (7 months ago)
- Topics: api-client, dns-client, freemyip, go, golang
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Go library for accessing the freemyip.com API
[](https://github.com/nrdcg/freemyip/actions)
[](https://pkg.go.dev/github.com/nrdcg/freemyip)
[](https://goreportcard.com/report/github.com/nrdcg/freemyip)A Go client library for accessing the [freemyip.com](https://freemyip.com) API.
## Examples
```go
package mainimport (
"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
- [API docs](https://freemyip.com/help)