Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nrdcg/porkbun
Go library for accessing the Porkbun API.
https://github.com/nrdcg/porkbun
api-client dns-client go golang porkdun
Last synced: 7 days ago
JSON representation
Go library for accessing the Porkbun API.
- Host: GitHub
- URL: https://github.com/nrdcg/porkbun
- Owner: nrdcg
- License: mpl-2.0
- Created: 2021-05-01T16:42:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T12:10:36.000Z (5 months ago)
- Last Synced: 2024-08-02T15:11:37.189Z (3 months ago)
- Topics: api-client, dns-client, go, golang, porkdun
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Go library for accessing the Porkbun API
[![Build Status](https://github.com/nrdcg/porkbun/workflows/Main/badge.svg?branch=master)](https://github.com/nrdcg/porkbun/actions)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/nrdcg/porkbun)](https://pkg.go.dev/github.com/nrdcg/porkbun)
[![Go Report Card](https://goreportcard.com/badge/github.com/nrdcg/porkbun)](https://goreportcard.com/report/github.com/nrdcg/porkbun)An [Porkbun](https://porkbun.com) API client written in Go.
porkbun is a Go client library for accessing the Porkbun API.
## Examples
```go
package mainimport (
"context"
"fmt""github.com/nrdcg/porkbun"
)func main() {
client := porkbun.New("secret", "key")ctx := context.Background()
yourIP, err := client.Ping(ctx)
if err != nil {
panic(err)
}fmt.Println(yourIP)
}
```## API Documentation
- [API docs](https://porkbun.com/api/json/v3/documentation)