Async tornado client

Implements an async tornado client class to query the Deezer API

class deezer.contrib.tornado.AsyncClient(*args, **kwargs)

An async client to retrieve some basic infos about Deezer resources.

Create a client instance with the provided options. Options should be passed in to the constructor as kwargs.

>>> from deezer.contrib.tornado import AsyncClient
>>> client = AsyncClient(app_id='foo', app_secret='bar')

This client provides several method to retrieve the content of most sort of Deezer objects, based on their json structure.

get_object(object_t, object_id=None, relation=None, parent=None, **kwargs)

Actually query the Deezer API to retrieve the object


json dictionary or raw string if other format requested