Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.69 KB

File metadata and controls

46 lines (28 loc) · 1.69 KB

Account

Overview

Available Operations

balance

Get Balance

Example Usage

import os
from x_api_scraper import XapiScraper


with XapiScraper(
    bearer_auth=os.getenv("X_API_SCRAPER_BEARER_AUTH", ""),
) as xapi_scraper:

    res = xapi_scraper.account.balance()

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.StandardResponse

Errors

Error Type Status Code Content Type
errors.XapiScraperDefaultError 4XX, 5XX */*