https://github.com/rkosegi/active24-go
Active24 API client in Go
https://github.com/rkosegi/active24-go
active24 api-client-go
Last synced: 9 months ago
JSON representation
Active24 API client in Go
- Host: GitHub
- URL: https://github.com/rkosegi/active24-go
- Owner: rkosegi
- License: apache-2.0
- Created: 2023-01-14T03:55:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T23:21:46.000Z (over 1 year ago)
- Last Synced: 2025-01-16T00:46:31.942Z (over 1 year ago)
- Topics: active24, api-client-go
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Active24.cz client in Go
This is client library to interact with [Active24 API](https://faq.active24.com/eng/739445-REST-API-for-developers?l=en-US).
Currently, only subset of API is implemented, but contributions are always welcome.
## Usage
```go
package main
import "github.com/rkosegi/active24-go/active24"
func main() {
client := active24.New("my-secret-api-token")
alias := "host1"
_, err := client.Dns().With("example.com").Create(active24.DnsRecordTypeA, &active24.DnsRecord{
Alias: &alias,
})
if err != nil {
panic(err)
}
}
```