Skip to main content

LyricWikia API for song lyrics

Project description

lyricwikia
==========

Python API to get song lyrics from `LyricWikia`_


Installation
------------

``lyricwikia`` is on `PyPI`_, so you can install it using pip:

.. code::

pip install lyricwikia

Otherwise download this repository and use the ``setup.py`` file:

.. code::

python setup.py install


Usage
-----

You can use the ``lyrics`` command to look for a song lyrics.

usage: lyrics [-h] [--separator SEPARATOR] ARTIST SONG

Get lyrics of a song from LyricWikia

positional arguments:
ARTIST Artist name
SONG Song title

optional arguments:
-h, --help show this help message and exit
--separator SEPARATOR line separator


Example
-------

.. code::

$ lyrics 'Led Zeppelin' 'Stairway to heaven'
There's a lady who's sure all that glitters is gold
...


API
---

At the moment ``lyricwikia`` is composed by a single API (the one that is not
officially already provided by the official APIs): ``get_lyrics``.

.. code:: python

import lyricwikia
lyrics = lyricwikia.get_lyrics('Led Zeppelin', 'Stairway to heaven')


.. _LyricWikia: http://lyrics.wikia.com/
.. _PyPI: http://lyrics.wikia.com/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lyricwikia-0.1.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page