Get ASPA count time series
radar.bgp.rpki.aspa.timeseries(ASPATimeseriesParams**kwargs) -> ASPATimeseriesResponse
GET/radar/bgp/rpki/aspa/timeseries
Retrieves ASPA (Autonomous System Provider Authorization) object count over time. Supports filtering by RIR or location (country code) to generate multiple named series. If no RIR or location filter is specified, returns total count.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Get ASPA count time series
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
response = client.radar.bgp.rpki.aspa.timeseries()
print(response.meta){
"result": {
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z"
},
"serie_0": {
"timestamps": [
"2019-12-27T18:11:19.117Z"
],
"values": [
"10"
]
}
},
"success": true
}Returns Examples
{
"result": {
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z"
},
"serie_0": {
"timestamps": [
"2019-12-27T18:11:19.117Z"
],
"values": [
"10"
]
}
},
"success": true
}