Get the list of markets where Spotify is available.
Returns
Get Available Markets
import os
from spotted import Spotted
client = Spotted(
access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"), # This is the default and can be omitted
)
markets = client.markets.list()
print(markets.markets){
"markets": [
"CA",
"BR",
"IT"
]
}Returns Examples
{
"markets": [
"CA",
"BR",
"IT"
]
}