Skip to content

Instantly share code, notes, and snippets.

View hazim's full-sized avatar
:octocat:

Hazim Sami hazim

:octocat:
View GitHub Profile
@hazim
hazim / lastfm_now_playing.js
Created November 13, 2020 23:25 — forked from zackfern/lastfm_now_playing.js
Displays your latest last.fm tracks on your webpage.
// Hacky last.fm Now Playing
// by Zack Fernandes (zackfern.me) April 2013
//
// Instructions:
// - Install jQuery, if you don't have it already.
// - Create a last.fm API key and set the api_key variable.
// - Set the username variable to your last.fm username.
// - Add something with the ID of now_playing in your site.
// - Include this script and enjoy.
//