Source code for spotify_py_sdk.endpoints.markets

from .endpoints_base import EndpointsBase
from spotify_py_sdk.types import *


[docs] class Markets(EndpointsBase): """Make calls to the markets endpoint """ def __init__(self, api): """Constructor method """ super().__init__(api)
[docs] def get_available_markets(self): """Get all available_markets """ return self.get_request("markets")