Accessor: client.markets_api · Source: spotify_web_api/apis/markets_api.py · 1 operation
Each ### block is one operation and assumes sdk-map.md is loaded: blocks omit what its invariants table covers and are otherwise self-contained, so chunk at block level. Signatures are the sync parsed spelling; the async and raw spellings take the same parameters (see sdk-map.md). Type sources names the module declaring each type an operation mentions, so resolving a body, return or error payload is a lookup rather than a search; the runtime types RawError and ApiResult are excluded.
- Route:
GET /markets - Auth:
oauth_2_0 - Signature:
def get_available_markets(*, request_options: RequestOptionsOrDict | None = None) - Returns (parsed):
Markets - Returns (raw):
ApiResult[Markets, GetAvailableMarketsErrorBody] - Error:
GetAvailableMarketsErrorBody— Case A (typed) - Error arms:
Unauthorized1[401] ·Forbidden1[403] ·TooManyRequests1[429] ·RawError[anything unmapped]
| Type | Source |
|---|---|
Markets |
spotify_web_api/models/markets.py |
GetAvailableMarketsErrorBody |
spotify_web_api/errors/get_available_markets_error.py |
Unauthorized1 |
spotify_web_api/models/unauthorized1.py |
Forbidden1 |
spotify_web_api/models/forbidden1.py |
TooManyRequests1 |
spotify_web_api/models/too_many_requests1.py |