Coder Social home page Coder Social logo

php-last.fm-api's People

Contributors

fxb avatar itavero avatar mart-bogdan avatar mattpotts avatar varnie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-last.fm-api's Issues

Example

Any chance you could give a simple example of calling artist.getInfo? Having trouble how to make the call and what to include. Thanks.

Prefix for classes

It would be better if all classes in the library have prefix like lfCaller or like PEAR Services_LastFm_Caller.
In this way we'll avoid a lot of troubles with class names conflicts.

What do you think?

Geo::getTopTracks($country) not working

I´m trying to use the function but it is not working.

setApiKey(API_KEY); $tracks = Geo::getTopTracks($country); echo "
    "; foreach($tracks as $key => $track) { echo "
  • "; echo "Track Number: " . ($key + 1) . "
    "; echo "Title: " . $track->getName() . "
    "; echo "Played: " . $track->getPlayCount() . " time(s)
    "; echo "Duration: " . $track->getDuration() . " seconds
    "; echo "Track URL: " . $track->getUrl() . "
    "; echo "
  • "; } echo "
"; ?>

Autoload

Hello,

I know my request won't be an issue but.. Maybe it'll be cool to make an autoload for all classes because require_once 4-5 files isn't really good

Cheer

Safe mode?

Hi,

Don't know if your still maintaining this but does this library work with safe mode turned off?

Thanks, Felix.

Can't get album or artist from User::getTopTracks or User::getLovedTracks

Example return from getRecentTracks (Works):

Track Object ( [artist:Track:private] => Foals [album:Track:private] => Antidotes: Tour Edition [duration:Track:private] => 0 [topTags:Track:private] => Array ( ) [id:Track:private] => 0 [location:Track:private] => [streamable:Track:private] => [fullTrack:Track:private] => [wiki:Track:private] => SimpleXMLElement Object ( ) [lastPlayed:Track:private] => 1362914640 [name:Media:private] => Hummer [mbid:Media:private] => 496bd5dd-6bab-44cf-9f45-14b064a0d749 [url:Media:private] => http://www.last.fm/music/Foals/_/Hummer [images:Media:private] => Array ( [0] => http://userserve-ak.last.fm/serve/34s/83845153.jpg [1] => http://userserve-ak.last.fm/serve/64s/83845153.jpg [2] => http://userserve-ak.last.fm/serve/126/83845153.jpg [4] => http://userserve-ak.last.fm/serve/300x300/83845153.jpg ) [listeners:Media:private] => 0 [playCount:Media:private] => 0 )

Return from getLovedTracks (Doesn't work):

Track Object ( [artist:Track:private] => Artist Object ( [streamable:Artist:private] => 0 [similar:Artist:private] => Array ( ) [tags:Artist:private] => Array ( ) [biography:Artist:private] => [match:Artist:private] => 0 [name:Media:private] => AC/DC [mbid:Media:private] => 66c662b6-6e2f-4930-8610-912e24c63ed1 [url:Media:private] => http://www.last.fm/music/AC%2FDC [images:Media:private] => Array ( ) [listeners:Media:private] => 0 [playCount:Media:private] => 0 ) [album:Track:private] => [duration:Track:private] => 0 [topTags:Track:private] => Array ( ) [id:Track:private] => 0 [location:Track:private] => [streamable:Track:private] => [fullTrack:Track:private] => [wiki:Track:private] => SimpleXMLElement Object ( ) [lastPlayed:Track:private] => 1362914760 [name:Media:private] => Back in Black [mbid:Media:private] => 0e2defc5-0731-4b0a-84b2-659e86f18716 [url:Media:private] => http://www.last.fm/music/AC%2FDC/_/Back+in+Black [images:Media:private] => Array ( [0] => http://userserve-ak.last.fm/serve/34s/81981459.jpg [1] => http://userserve-ak.last.fm/serve/64s/81981459.jpg [2] => http://userserve-ak.last.fm/serve/126/81981459.jpg [4] => http://userserve-ak.last.fm/serve/300x300/81981459.jpg ) [listeners:Media:private] => 0 [playCount:Media:private] => 0 )

I found an error

Hi!

src/Shouts.php:

this class has the variable "private $auHTor"
but its getter method returns
"return $this->auTHor"

it is a little overprint i guess, which should be fixed:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.