#protocol/mobileclient.py
class GetNewReleases(McCall):
static_params = {'alt': 'json'}
static_method = 'GET'
static_url = sj_url + 'explore/tabs'
@staticmethod
def dynamic_params(num_items, genre):
params = {'num-items': num_items}
if genre is not None:
params['genre'] = genre
return params
#clients/mobileclient.py
...
# Not quite sure yet.
# "tab_type" and "group_type" might sute to filter the response.
# But we don't know either of them before a initial request.
...
New API-Url https://mclients.googleapis.com/sj/v2.1/
Listen now content can be retrieved via:
sj_url + explore/tabs (supports dynamic_param -> num_items and genre)
Original response (stripped-down) (genre=DANCE_ELECTRONIC)
Proof-of-Concept implementation