LastFM Radyo Api
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

LastMood – Radio API Class

This is a simple radio API class. It makes connecting to the API and retrieving a list of files to stream very simple.

This class enables you to connect to the Radio API , allowing you to retrieve stream URLs to be used in a client.

Class Usage

Using the class is very, very simple. Everything is explained in the included example file.

Example Response Results

A structured array with the follow format: [0] => [title] => The name of the first song [artist] => Song Artist [album] => Song Album [length] => Song length in seconds [image] => URL to the album art for the song [mp3] => Stream ready URL to the MP3 [etc...]


Looking for a demo?

Login with your account and view the class demo here.

My Twitter account

Keep up to date on announcements and more by following me on Twitter, @melihbuyuk.



Copyright and license

Copyright 2010 Melihbuyuk.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.