Skip to main content
Skip table of contents

tw.endpoints.forecast.status

tw.endpoints.forecast.status(id=str)

Retrieve the current status of a job.
GET ``/forecast/{id}``

Parameters

id: str

Job identifier

Returns

dict

Status response containing at least ``"status"` (e.g. ``"Open"``, ``"Finished"``, ``"Failed"``).

Example Usage

CODE
forecast_status_response = tw.endpoints.forecast.status(
    id = job_id
)

Example Output

CODE
forecast_status_id = forecast_status_response['id']
forecast_status_status = forecast_status_response['status']
forecast_status_progress = forecast_status_response['progress']
forecast_status_log = forecast_status_response['log']
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.