Skip to main content
Skip table of contents

tw.endpoints

class tw.endpoints

Container that instantiates and exposes all low-level API endpoint classes. Use this when you need direct control over individual HTTP requests rather than the opinionated, blocking workflow provided by the controllers.

Attributes

auto_forecast : AutoForecast

Raw endpoint wrapper for the ``/auto-forecast`` API section.

forecast : Forecast

Raw endpoint wrapper for the ``/forecast`` API section.

anomaly_detection : AnomalyDetection

Raw endpoint wrapper for the ``/anomaly-detection`` API section.

Example Usage

CODE
import tangent_works

tw = tangent_works.API(
    server = "https://api.tangent.works/",
    token = TANGENT_LICENSE_TOKEN
)

tw_endpoints = tw.endpoints

JavaScript errors detected

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

If this problem persists, please contact our support.