{"id":21101332,"url":"https://github.com/rtuin/lastfmservice","last_synced_at":"2025-03-14T08:13:14.069Z","repository":{"id":1834063,"uuid":"2758396","full_name":"rtuin/lastfmservice","owner":"rtuin","description":"A library for use with the Last.fm API.","archived":false,"fork":false,"pushed_at":"2011-11-11T21:22:52.000Z","size":128,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T02:42:46.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"frak/Magento-Gearman-Module","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtuin.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-11T20:36:03.000Z","updated_at":"2014-04-06T23:12:10.000Z","dependencies_parsed_at":"2022-09-12T17:22:24.850Z","dependency_job_id":null,"html_url":"https://github.com/rtuin/lastfmservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuin%2Flastfmservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuin%2Flastfmservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuin%2Flastfmservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuin%2Flastfmservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtuin","download_url":"https://codeload.github.com/rtuin/lastfmservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243544647,"owners_count":20308169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T23:44:56.321Z","updated_at":"2025-03-14T08:13:14.048Z","avatar_url":"https://github.com/rtuin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lastfm API wrapper for PHP 5.3\nThis is a (generated) library for use with the Last.fm API. It is for general use, and should cover the entire Last.fm API.\n\n## Example\nThe library is designed to be slim and simple. In fact it is just a wrapper to the API. The results you receive from the\nAPI calls are instances of `SimpleXmlElement`. This is on purpose as the `SimpleXmlElement` classes allow for easy traversing\nover the data and even query against it.\n\nA simple code example is the following:\n\n    // This code sample queries the Last.fm Album.getInfo method\n    // Preconfigure the client\n    $apiKey = 'yourapikey';\n    $client = new Lastfm\\Service\\Client($apiKey);\n\n    // Instantiate an instance of the service subset (or entity if you like)\n    $album = new Lastfm\\Service\\Album($client);\n\n    // The actual query to the API\n    $result = $album-\u003egetInfo('On the go', 'Matthew Halsall');\n\n## Thoughts and wishlist\nThe library is generated from the documentation that is available [here](http://www.last.fm/api), and there is still\nsome manual work to do.\n\nAs i've just needed a relatively small portion of the library for the project i'm working on, there are just\nsome unit tests for the sake of it, not for every part of the library.\n\nAlso, it would be nice to see the `Client` class remember authentication tokens etc.\n\nAnother thing that is worth looking at is the client `httpRequest` method; not sure if CURL is the way to go.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuin%2Flastfmservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtuin%2Flastfmservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuin%2Flastfmservice/lists"}