Ejemplo n.º 1
0
def get_work(wmbid):
    """ Get specific information about a work.

    :param wmbid: A work mbid
    :returns: mbid, play, recordings, score, title.

    """
    return conn._dunya_query_json("api/jingju/work/%s" % (wmbid))
Ejemplo n.º 2
0
def get_work(wmbid):
    """ Get specific information about a work.

    :param wmbid: A work mbid
    :returns: mbid, play, recordings, score, title.

    """
    return conn._dunya_query_json("api/jingju/work/%s" % (wmbid))
Ejemplo n.º 3
0
def get_work(wmbid):
    """ Get specific information about a work.

    :param wmbid: A work mbid

    :returns: mbid, title, composers, raagas, taalas, recordings

    """
    return conn._dunya_query_json("api/carnatic/work/%s" % (wmbid))
Ejemplo n.º 4
0
def get_work(wmbid):
    """ Get specific information about a work.

    :param wmbid: A work mbid
        :returns: mbid, title, composers, raagas, taalas, recordings

    """
    return conn._dunya_query_json("api/carnatic/work/%s" % (wmbid))
    extra_headers = _get_collections()
Ejemplo n.º 5
0
def get_release(rmbid):
    """ Get specific information about a release.

    :param rmbid: A release mbid
    :returns: artists, mbid, recordings, title.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/release/%s" % rmbid, extra_headers=extra_headers)
Ejemplo n.º 6
0
def get_release(rmbid):
    """ Get specific information about a release.

    :param rmbid: A release mbid
    :returns: artists, mbid, recordings, title.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/release/%s" % rmbid,
                                  extra_headers=extra_headers)
Ejemplo n.º 7
0
def get_artist(ambid):
    """ Get specific information about an artist.

    :param ambid: An artist mbid

    :returns: alias, instrument, mbid, name, recordings, role_type.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/artist/%s" % (ambid), extra_headers=extra_headers)
Ejemplo n.º 8
0
def get_recording(rmbid):
    """ Get specific information about a recording.

    :param rmbid: A recording mbid

    :returns: instrumentalists, mbid, performers, release, shengqiangbanshi, title, work.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/recording/%s" % rmbid, extra_headers=extra_headers)
Ejemplo n.º 9
0
def get_artist(ambid):
    """ Get specific information about an artist.

    :param ambid: An artist mbid

    :returns: alias, instrument, mbid, name, recordings, role_type.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/artist/%s" % (ambid),
                                  extra_headers=extra_headers)
Ejemplo n.º 10
0
def get_recording(rmbid):
    """ Get specific information about a recording.

    :param rmbid: A recording mbid

    :returns: instrumentalists, mbid, performers, release, shengqiangbanshi, title, work.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/jingju/recording/%s" % rmbid,
                                  extra_headers=extra_headers)
Ejemplo n.º 11
0
def get_instrument(iid):
    """ Get specific information about an instrument.

    :param iid: An instrument id
    :returns: id, name, artists.

         ``artists`` includes artists with recording- and release-
         level performance relationships of this instrument.

    """
    return conn._dunya_query_json("api/carnatic/instrument/%s" % str(iid))
Ejemplo n.º 12
0
def get_taala(tid):
    """ Get specific information about a taala.

    :param tid: A taala id or uuid
    :returns: uuid, name, artists, works, composers.

         ``artists`` includes artists with recording- and release-
         level relationships to a recording with this raaga

    """
    return conn._dunya_query_json("api/carnatic/taala/%s" % str(tid))
Ejemplo n.º 13
0
def get_instrument(iid):
    """ Get specific information about an instrument.

    :param iid: An instrument id
    :returns: id, name, artists.

         ``artists`` includes artists with recording- and release-
         level performance relationships of this instrument.

    """
    return conn._dunya_query_json("api/carnatic/instrument/%s" % str(iid))
Ejemplo n.º 14
0
def get_taala(tid):
    """ Get specific information about a taala.

    :param tid: A taala id or uuid
    :returns: uuid, name, artists, works, composers.

         ``artists`` includes artists with recording- and release-
         level relationships to a recording with this raaga

    """
    return conn._dunya_query_json("api/carnatic/taala/%s" % str(tid))
Ejemplo n.º 15
0
def get_concert(cmbid):
    """ Get specific information about a concert.

    :param cmbid: A concert mbid
    :returns: mbid, title, artists, tracks.

         ``artists`` includes performance relationships attached
         to the recordings, the release, and the release artists.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/concert/%s" % cmbid, extra_headers=extra_headers)
Ejemplo n.º 16
0
def get_concert(cmbid):
    """ Get specific information about a concert.

    :param cmbid: A concert mbid
    :returns: mbid, title, artists, tracks.

         ``artists`` includes performance relationships attached
         to the recordings, the release, and the release artists.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/concert/%s" % cmbid,
                                  extra_headers=extra_headers)
Ejemplo n.º 17
0
def get_recording(rmbid):
    """ Get specific information about a recording.

    :param rmbid: A recording MBID

    :returns: mbid, title, artists, raaga, taala, work.

         ``artists`` includes performance relationships
         attached to the recording, the release, and the release artists.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/recording/%s" % rmbid, extra_headers=extra_headers)
Ejemplo n.º 18
0
def get_recording(rmbid):
    """ Get specific information about a recording.

    :param rmbid: A recording mbid

    :returns: mbid, title, artists, raaga, taala, work.

         ``artists`` includes performance relationships
         attached to the recording, the release, and the release artists.

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/recording/%s" % rmbid,
                                  extra_headers=extra_headers)
Ejemplo n.º 19
0
def get_artist(ambid):
    """ Get specific information about an artist.

    :param ambid: An artist MBID
    
    :returns: mbid, name, concerts, instruments, recordings.

         ``concerts``, ``instruments`` and ``recordings`` include
         information from recording- and release-level
         relationships, as well as release artists

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/artist/%s" % (ambid), extra_headers=extra_headers)
Ejemplo n.º 20
0
def get_artist(ambid):
    """ Get specific information about an artist.

    :param ambid: An artist mbid
    
    :returns: mbid, name, concerts, instruments, recordings.

         ``concerts``, ``instruments`` and ``recordings`` include
         information from recording- and release-level
         relationships, as well as release artists

    """
    extra_headers = _get_collections()
    return conn._dunya_query_json("api/carnatic/artist/%s" % (ambid),
                                  extra_headers=extra_headers)