All URIs are relative to https://api.whoisfreaks.com
| Method | HTTP request | Description |
|---|---|---|
| dbIpCity | GET /v3.3/download/snapshot/ip/city | IP to City Snapshot |
| dbIpCityStatus | GET /v3.3/status/snapshot/ip/city | IP to City Snapshot Status |
| dbIpCountry | GET /v3.3/download/snapshot/ip/country | IP to Country Snapshot |
| dbIpCountryStatus | GET /v3.3/status/snapshot/ip/country | IP to Country Snapshot Status |
File dbIpCity(date)
IP to City Snapshot
IP to City Snapshot. Returns the file/snapshot described by this operation.
import WhoisFreaks from 'whoisfreaks';
let defaultClient = WhoisFreaks.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new WhoisFreaks.DatabasesIPGeolocationApi();
let date = new Date("2013-10-20"); // Date |
apiInstance.dbIpCity(date).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| date | Date |
File
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
SnapshotStatus dbIpCityStatus()
IP to City Snapshot Status
IP to City Snapshot Status. Returns the file/snapshot described by this operation.
import WhoisFreaks from 'whoisfreaks';
let defaultClient = WhoisFreaks.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new WhoisFreaks.DatabasesIPGeolocationApi();
apiInstance.dbIpCityStatus().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
File dbIpCountry(date)
IP to Country Snapshot
IP to Country Snapshot. Returns the file/snapshot described by this operation.
import WhoisFreaks from 'whoisfreaks';
let defaultClient = WhoisFreaks.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new WhoisFreaks.DatabasesIPGeolocationApi();
let date = new Date("2013-10-20"); // Date |
apiInstance.dbIpCountry(date).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| date | Date |
File
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
SnapshotStatus dbIpCountryStatus()
IP to Country Snapshot Status
IP to Country Snapshot Status. Returns the file/snapshot described by this operation.
import WhoisFreaks from 'whoisfreaks';
let defaultClient = WhoisFreaks.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
let apiInstance = new WhoisFreaks.DatabasesIPGeolocationApi();
apiInstance.dbIpCountryStatus().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json