{"id":13414082,"url":"https://github.com/rapito/go-spotify","last_synced_at":"2025-03-14T20:31:04.218Z","repository":{"id":22609720,"uuid":"25951961","full_name":"rapito/go-spotify","owner":"rapito","description":"Go library for the Spotify Web API","archived":false,"fork":false,"pushed_at":"2024-09-09T16:33:26.000Z","size":32,"stargazers_count":51,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-25T05:25:27.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-30T02:52:04.000Z","updated_at":"2024-10-17T14:19:51.000Z","dependencies_parsed_at":"2024-04-29T16:44:28.885Z","dependency_job_id":"66e556e8-3648-4f3c-9da3-d8acad795001","html_url":"https://github.com/rapito/go-spotify","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/rapito%2Fgo-spotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapito%2Fgo-spotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapito%2Fgo-spotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapito%2Fgo-spotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapito","download_url":"https://codeload.github.com/rapito/go-spotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243642079,"owners_count":20323954,"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-07-30T20:01:57.126Z","updated_at":"2025-03-14T20:31:03.921Z","avatar_url":"https://github.com/rapito.png","language":"Go","funding_links":["https://www.paypal.com/donate?hosted_button_id=FFC6KNAX9SKZU"],"categories":["Third-party APIs","第三方api","第三方API","第三方API`第三方API 汇总`","Utility","\u003cspan id=\"第三方api-third-party-apis\"\u003e第三方API Third-party APIs\u003c/span\u003e"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","Advanced Console UIs","Fail injection","实用程序/Miscellaneous","查询语","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"go-spotify\n==========\n\n[![GoDoc](https://godoc.org/github.com/rapito/go-spotify/spotify?status.svg)](https://godoc.org/github.com/rapito/go-spotify/spotify)  [![baby-gopher](https://raw.github.com/drnic/babygopher-site/gh-pages/images/babygopher-logo-small.png)](http://www.babygopher.org)\n\nSimple Go library for the Spotify Web API\n\n\nInstallation\n------------\n```\ngo get github.com/rapito/go-spotify/spotify\n```\n\nHow-to-use\n----------\n\n- Get Requests\n\n```\n    import \"fmt\"\n    import \"github.com/rapito/go-spotify/spotify\"\n    ...\n    \n    spot := spotify.New(clientID,clientSecret)\n    result, _ := spot.Get(\"albums/%s\", nil, \"0sNOF9WDwhWunNAHPD3Baj\")\n    \n    fmt.Println(string(result))\n```\n\n- Check out the *examples* folder for simple usage.\n- Read some of the tests at *spotify_test.go* for more examples.\n\nContribution\n------------\n \n - You may fork this library and modify it as you please.\n - You can make a pull request and I will be happy to check it out and merge it.\n - If you find a bug, create an issue and I will do my best to fix it (someday). \n\nConstraints\n-------------\n\nRight now this API version can only make successful GET requests since \nit just authenticates the application and not an specific user. \nThis means you can use limited endpoints of spotify WEB API, as \ndocumented on their web page:\n\n```\nThe access token allows you to make requests to the Spotify Web \nAPI endpoints that do not require user authorization such as the Get a \ntrack endpoint...\n```\n\nTo see which endpoints you have access to, check out spotify web-api \n[documentation.](https://developer.spotify.com/web-api/)\n\nBuy me a Drink\n-------------\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=FFC6KNAX9SKZU)\n\nLinks\n-----\n\nWhile I was on my *go-trip* to create this api, I found some awesome libs/links which made \nmy life easier.\nCheck them out, hopefully they'll do the same for you:\n \n - http://github.com/parnurzeal/gorequest\n - http://github.com/bmizerany/assert\n - http://github.com/bitly/go-simplejson\n - http://github.com/avelino/awesome-go\n \n Other APIs\n ----------\n \n - http://github.com/rapito/go-shopify\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapito%2Fgo-spotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapito%2Fgo-spotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapito%2Fgo-spotify/lists"}