import 'package:cloudflare_dart/api.dart';All URIs are relative to https://api.cloudflare.com/client/v4
| Method | HTTP request | Description |
|---|---|---|
| radarGetEntitiesIp | GET /radar/entities/ip | Get IP address details |
RadarGetEntitiesIp200Response radarGetEntitiesIp(ip, format)
Get IP address details
Retrieves IP address information.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getRadarIPApi();
final String ip = 8.8.8.8; // String | IP address.
final String format = json; // String | Format in which results will be returned.
try {
final response = api.radarGetEntitiesIp(ip, format);
print(response);
} catch on DioException (e) {
print('Exception when calling RadarIPApi->radarGetEntitiesIp: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| ip | String | IP address. | |
| format | String | Format in which results will be returned. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]