carolinux / lastfm-fetch

Fetches user statistics for last.fm users. An exercise in using json & pandas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lastfm-fetch

Fetches user statistics for last.fm users. An exercise in using json & pandas. You need to add a last.fm API key to your environment variables via:

export LAST_FM_API_KEY="yourkey"

run as:

python fetch.py username [number_of_pages_to_look_at]

Requires pandas (and httpretty for testing) If installing pandas via pip doesn't work try your OS's equivalent of:

sudo apt-get install python-pandas

The dates are stored and manipulated in UTC format to avoid ambiguity.

About

Fetches user statistics for last.fm users. An exercise in using json & pandas

License:MIT License


Languages

Language:Python 100.0%