All URIs are relative to https://api.whoisfreaks.com
| Method | HTTP request | Description |
|---|---|---|
| DbWhoisDaily | Get /v3.3/download/dbupdate/daily/domains/whois | WHOIS Database Daily |
| DbWhoisMonthly | Get /v3.3/download/dbupdate/monthly/domains/whois | WHOIS Database Monthly |
| DbWhoisWeekly | Get /v3.3/download/dbupdate/weekly/domains/whois | WHOIS Database Weekly |
*os.File DbWhoisDaily(ctx).Date(date).Execute()
WHOIS Database Daily
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/WhoisFreaks/whoisfreaks-go"
)
func main() {
date := time.Now() // string | yyyy-MM-dd; omit for latest (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DatabasesWHOISAPI.DbWhoisDaily(context.Background()).Date(date).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatabasesWHOISAPI.DbWhoisDaily``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DbWhoisDaily`: *os.File
fmt.Fprintf(os.Stdout, "Response from `DatabasesWHOISAPI.DbWhoisDaily`: %v\n", resp)
}Other parameters are passed through a pointer to a apiDbWhoisDailyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| date | string | yyyy-MM-dd; omit for latest |
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File DbWhoisMonthly(ctx).Date(date).Execute()
WHOIS Database Monthly
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/WhoisFreaks/whoisfreaks-go"
)
func main() {
date := time.Now() // string | yyyy-MM-dd; omit for latest (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DatabasesWHOISAPI.DbWhoisMonthly(context.Background()).Date(date).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatabasesWHOISAPI.DbWhoisMonthly``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DbWhoisMonthly`: *os.File
fmt.Fprintf(os.Stdout, "Response from `DatabasesWHOISAPI.DbWhoisMonthly`: %v\n", resp)
}Other parameters are passed through a pointer to a apiDbWhoisMonthlyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| date | string | yyyy-MM-dd; omit for latest |
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File DbWhoisWeekly(ctx).Date(date).Execute()
WHOIS Database Weekly
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/WhoisFreaks/whoisfreaks-go"
)
func main() {
date := time.Now() // string | yyyy-MM-dd; omit for latest (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DatabasesWHOISAPI.DbWhoisWeekly(context.Background()).Date(date).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatabasesWHOISAPI.DbWhoisWeekly``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DbWhoisWeekly`: *os.File
fmt.Fprintf(os.Stdout, "Response from `DatabasesWHOISAPI.DbWhoisWeekly`: %v\n", resp)
}Other parameters are passed through a pointer to a apiDbWhoisWeeklyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| date | string | yyyy-MM-dd; omit for latest |
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]