Tracking API usage
Tooling is available for select service calls to ensure that you can accurately track your API usage when using Environmental Intelligence Suite.
Tracking weather data API usage
Use The Weather Company's Service Now self-help portal to view and track your weather data API usage. Key usage graphs and statistics can be viewed for each weather API key to help monitor and manage consumption.
Procedure
- Log in to The Weather Company's Customer Portal: https://weather.service-now.com/apicustomer.
- Select My API Key Details from the upper right.
- Review the list of key details at the top and the additional tabbed information at the bottom.
- Select one of the keys in the top section to view the usage either as a table as Key Utilization Data or as a graph as Key Utilization Graph.
Tracking History on Demand API usage
Use the Environmental Intelligence Suite REST API to retrieve usage details for HoD API calls.
Procedure
Call the Retrieve usage details API to track HoD API usage.
Request URL:
https://api.ibm.com/geospatial/run/v3/wx/hod/r1/usage?startDate=REPLACE_THIS_VALUE&endDate=REPLACE_THIS_VALUE&type=REPLACE_THIS_VALUE
Valid responses return your start date, end date, type, count, and usage.
For more information, refer to API Hub:Retrieve usage details.