Skip to main content

Quick start

  1. First thing first, read the documentation at http://developers.musixmatch.com/documentation .

  2. Get an api key by signing up at http://developers.musixmatch.com/mmplans .

  3. Install the musixmatch package

  4. Run the python prompt

>>> import musixmatch
>>> apikey = '<your-apikey>'
>>> try:
...     chart = musixmatch.ws.track.chart.get(country='it', apikey=apikey)
... except musixmatch.api.Error, e:
...     pass

It’s that simple. Last, you can brows this documentation and have fun with the other modules.

Building / Installing

You can just use setup.py to build and install python-musixmatch:

prompt $ python setup.py bdist_egg

Once built, you can use easy_install on the python egg.

Documentation

You can read documentation online, or generate your own local copy using Sphinx trough the setup.py:

prompt $ python setup.py build_sphinx

Unit testing

python-musixmatch comes with some essential unit testing. If you set up musixmatch_apikey environment variable, and have internet connection, you can also run some tests on API calls:

prompt $ python setup.py test

Caching support

Applications using python-musixmatch may take advantage of standard urllib support for http_proxy, so they can just set up the proper environment variable:

http_proxy

the complete HTTP proxy URL to use in queries.

Considering all the available HTTP proxy solutions, I’m reluctant to implement a further caching support. Though i can consider serialization support.

Environment variables

python-musixmatch takes advantage of operating system environment to get apikey, format and api version values to use in API calls:

musixmatch_apikey

the apikey value to use in query strings

musixmatch_format

the response message format. For example: json

musixmatch_wslocation

the webservice base url. For example: http://api.musixmatch.com/ws/1.1

musixmatch_apiversion

the api version to use in queryes. For example: 1.1. Use of musixmatch_apiversion was deprecated in favour of musixmatch_wslocation.

Release files for musixmatch 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for musixmatch 0.9
File Size Uploaded
musixmatch-0.9.zip 31.1 kB Details
musixmatch-0.9.tar.gz 20.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for musixmatch 0.9
File Interpreter ABI Platform
musixmatch-0.9-py2.7.egg Legacy Egg format - - Details
musixmatch-0.9-py2.6.egg Legacy Egg format - - Details

Total release size: 121.1 kB

Release files / musixmatch-0.9.zip

Download URL musixmatch-0.9.zip
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1133a8d82626bf002a5899a42d8d7ac1cdcb677a5d9691b62e292a88c203ec87
BLAKE2b-256 checksum
How to use checksums
08719c10733e7d3d717b26d7e7e3559f9ae300813c9ff76964632cec4fe5cde6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / musixmatch-0.9.tar.gz

Download URL musixmatch-0.9.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aac1c9bf7d9afecc402a5dae130fc4730011110f4912e33342d8e1a4bce6d70d
BLAKE2b-256 checksum
How to use checksums
24880323c16ab0bd21f772e7128ccf20bb28360addad02af9442112786c7c6db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / musixmatch-0.9-py2.7.egg

Download URL musixmatch-0.9-py2.7.egg
Size 34.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
d007aa5ff5cbf51fa00fa2cc35efb5ac24cccb5943bb17a8da74fad5fff9770b
BLAKE2b-256 checksum
How to use checksums
af495cd0ede1b1318869059dd155532f1bd363eb2263a97f95bba965d9b77053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / musixmatch-0.9-py2.6.egg

Download URL musixmatch-0.9-py2.6.egg
Size 34.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
f31836889455a3a98cd6c1c76d20998d6ec607e54977bb74432026545f44b990
BLAKE2b-256 checksum
How to use checksums
913284b138629eb0e7e7d063c482c58043bc1ed30bd323f780b449a807e7c63e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page