Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and Android. Generated with openapi-generator kotlin (library=jvm-okhttp4, useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai. Co-authored-by: Hanzo Dev <[email protected]>
11 KiB
GeoApi
All URIs are relative to https://api.hanzo.ai
| Method | HTTP request | Description |
|---|---|---|
| worldWorldAisSnapshot | GET /v1/world/ais-snapshot | AIS vessel snapshot (requires WS_RELAY_URL) |
| worldWorldClimateAnomalies | GET /v1/world/climate-anomalies | Climate anomaly feed |
| worldWorldCloudflareOutages | GET /v1/world/cloudflare-outages | Cloudflare internet outages |
| worldWorldEarthquakes | GET /v1/world/earthquakes | USGS earthquake feed |
| worldWorldFaaStatus | GET /v1/world/faa-status | FAA airport status |
| worldWorldFirmsFires | GET /v1/world/firms-fires | NASA FIRMS active fires (requires NASA_FIRMS_API_KEY) |
| worldWorldNgaWarnings | GET /v1/world/nga-warnings | NGA maritime safety warnings |
| worldWorldOpensky | GET /v1/world/opensky | OpenSky flight states |
| worldWorldWingbits | GET /v1/world/wingbits | Wingbits ADS-B (requires WINGBITS_API_KEY) |
| worldWorldWorldpopExposure | GET /v1/world/worldpop-exposure | Population exposure model |
worldWorldAisSnapshot
kotlin.Any worldWorldAisSnapshot()
AIS vessel snapshot (requires WS_RELAY_URL)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldAisSnapshot()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldAisSnapshot")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldAisSnapshot")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldClimateAnomalies
kotlin.Any worldWorldClimateAnomalies()
Climate anomaly feed
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldClimateAnomalies()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldClimateAnomalies")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldClimateAnomalies")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldCloudflareOutages
kotlin.Any worldWorldCloudflareOutages()
Cloudflare internet outages
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldCloudflareOutages()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldCloudflareOutages")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldCloudflareOutages")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldEarthquakes
kotlin.Any worldWorldEarthquakes()
USGS earthquake feed
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldEarthquakes()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldEarthquakes")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldEarthquakes")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldFaaStatus
kotlin.Any worldWorldFaaStatus()
FAA airport status
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldFaaStatus()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldFaaStatus")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldFaaStatus")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldFirmsFires
kotlin.Any worldWorldFirmsFires()
NASA FIRMS active fires (requires NASA_FIRMS_API_KEY)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldFirmsFires()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldFirmsFires")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldFirmsFires")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldNgaWarnings
kotlin.Any worldWorldNgaWarnings()
NGA maritime safety warnings
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldNgaWarnings()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldNgaWarnings")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldNgaWarnings")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldOpensky
kotlin.Any worldWorldOpensky()
OpenSky flight states
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldOpensky()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldOpensky")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldOpensky")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldWingbits
kotlin.Any worldWorldWingbits()
Wingbits ADS-B (requires WINGBITS_API_KEY)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
try {
val result : kotlin.Any = apiInstance.worldWorldWingbits()
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldWingbits")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldWingbits")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
worldWorldWorldpopExposure
kotlin.Any worldWorldWorldpopExposure(area)
Population exposure model
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = GeoApi()
val area : kotlin.String = area_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.worldWorldWorldpopExposure(area)
println(result)
} catch (e: ClientException) {
println("4xx response calling GeoApi#worldWorldWorldpopExposure")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GeoApi#worldWorldWorldpopExposure")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| area | kotlin.String | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json