/lastFM_API

This is something that has existed locally for sometime and since it is no longer needed, I have no requirement of keeping it private.

Primary LanguagePython

LastFM API (Python wrapper)

Feature important queries to the lastfm api, translating the responses to python specific terminology

Installing

python3 -m pip install -U git+https://github.com/SilicalNZ/lastFM_API

Requirements

  • Python 3.6
  • asyncio
  • aiohttp

Start Process

from lastfm import LastFM_API
import asyncio


api = LastFM_API(api_key=api_key)


async def lotus_info():
    lotus = api.get_user('awhitelotus')
    info = await lotus.fetch_info()
    print(info)
    return info


loop = asyncio.get_event_loop()
loop.run_until_complete(lotus_info())