LastFM – Music Engine (incl. YouTube hyperlinks)

Searching for a participant?

The LastFM Music Engine is a simple light-weight class that makes it easy to combine and course of music information from final fm. The category helps Trending music, Artists search, Observe search, Album search & Artist information (toptracks, bio, tags, related artists).

The category has the next capabilities:

  • Light-weight class libary (clear, straightforward to know code)
  • Return information in 2 strains of code
  • Straightforward Integration
  • Return Array & HTML
  • Trending music (primarily based on area ISO)
  • Search Artists
  • Search Tracks/Songs
  • Search Albums
  • Artist information (High Tracks, Bio, Tags, Comparable Artists)
  • Ajax Artist/Observe & Album search
  • Styled end result objects included
  • No refresh for search wanted
  • Fallback picture
  • Replace: YouTube hyperlink monitor return

Full demo
Trending music demo
Search for Artist/Track/Album demo
Get info from artist demo

Straightforward set up

- STEP 1 (set your api key)

- STEP 2 (Embody & initalize class)
$lstfm = new Lastfm();

Class capabilities:

$lstfm->trendingTracks('Belgium'); //will get the trending tracks primarily based on a rustic
$lstfm->trendingArtists('Belgium', 10);  //will get the trending artists primarily based on a rustic restricted to 10 objects (restrict parameter)
$lstfm->searchTracks('Soldier');  //searchs tracks primarily based on a search time period
$lstfm->searchArtists('Marco Bai') //searchs artists primarily based on a search time period
$lstfm->searchArtists('Marco Bai', 20) // similar with a restrict of 20 outcomes
$lstfm->searchAlbums('Half energy'); //searchs albums primarily based on the given time period
$lstfm->searchArtistInfo('Eminem', array('toptracks', 'bio'));  //will get the toptracks, bio (bio textual content, tags & related artists) primarily based on a full artist identify
$lstfm->showHtmlList($array, 'sort'); //returns an styled unorderd (ul) html checklist (helps sorts: artists/tracks/albums)
$lstfm->findVideo("Eminem", "Sing for the second"); //returns an youtube hyperlink primarily based on the given artist & title

Replace 29-10-2014

- Youtube API Tracks added

Buy from Source

Posted in PHP Scripts Tagged with: , , , , , , , , , , , , ,