{"id":32305432,"url":"https://github.com/rinukkusu/spotify-dart","last_synced_at":"2025-10-23T06:51:09.981Z","repository":{"id":23904816,"uuid":"100141076","full_name":"rinukkusu/spotify-dart","owner":"rinukkusu","description":"A dart library for interfacing with the Spotify API.","archived":false,"fork":false,"pushed_at":"2024-10-29T17:10:08.000Z","size":661,"stargazers_count":207,"open_issues_count":20,"forks_count":93,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-30T14:44:26.277Z","etag":null,"topics":["dart","flutter","spotify","spotify-api"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rinukkusu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-08-12T22:36:50.000Z","updated_at":"2024-11-27T02:24:46.000Z","dependencies_parsed_at":"2024-02-20T11:30:05.189Z","dependency_job_id":"2684f058-ebe5-4c59-8053-14d1db607ace","html_url":"https://github.com/rinukkusu/spotify-dart","commit_stats":{"total_commits":420,"total_committers":37,"mean_commits":11.35135135135135,"dds":0.7023809523809523,"last_synced_commit":"f86276b49510cff05de762ad4c3f1a9f7e3ee1cb"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/rinukkusu/spotify-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinukkusu%2Fspotify-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinukkusu%2Fspotify-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinukkusu%2Fspotify-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinukkusu%2Fspotify-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinukkusu","download_url":"https://codeload.github.com/rinukkusu/spotify-dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinukkusu%2Fspotify-dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280577134,"owners_count":26354072,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dart","flutter","spotify","spotify-api"],"created_at":"2025-10-23T06:51:07.015Z","updated_at":"2025-10-23T06:51:09.973Z","avatar_url":"https://github.com/rinukkusu.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spotify-dart [![Pub](https://img.shields.io/pub/v/spotify.svg)](https://pub.dartlang.org/packages/spotify) ![Dart CI](https://github.com/rinukkusu/spotify-dart/workflows/Dart%20CI/badge.svg)\n\nA dart library for interfacing with the Spotify API.\n\n## Usage\n\n### Simple Example\n\n```dart\nfinal credentials = SpotifyApiCredentials(clientId, clientSecret);\nfinal spotify = SpotifyApi(credentials);\nfinal artist = await spotify.artists.get('0OdUWJ0sBjDrqHygGUXeCF');\n```\n\n### Authorization\n\nFor detailed information regarding authorization, client credentials flow and more, see the [wiki](https://github.com/rinukkusu/spotify-dart/wiki).\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n## Development\n\n### Generating JSON Serializers\nRun `dart run build_runner build` to generate JSON serializers via [json_serializable][].\nRun `dart run build_runner watch` to continuously rebuild serializers in the background when files are updated.\n\n### Running tests\nRun `dart test` to run all of the tests in `test/spotify_test.dart`.\n\n### Running example code\nRun `dart example/example` to run the example code. You'll need to modify `example/example.dart` to use your Spotify client ID and secret.\n\nIf you would like to run the example that accesses your user data (such as currently playing song etc.), run `pub run example/example_auth.dart`. There, you are requested to\nenter your redirect url (see the comment above [`redirectUri`](#authorization-code-flow)). After that, you are requested to call a given url (or paste it into your browser). That url will do a redirect in your browser. You should copy and paste this redirected url into your console to see the currently playing song and your available devices.\n\n[json_serializable]: https://pub.dartlang.org/packages/json_serializable\n[spotify_auth]: https://developer.spotify.com/documentation/general/guides/authorization-guide/\n[tracker]: https://github.com/rinukkusu/spotify-dart/issues\n[uni_links]: https://pub.dev/packages/uni_links\n[url_launcher]: https://pub.dev/packages/url_launcher\n[webview_flutter]: https://pub.dev/packages/webview_flutter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinukkusu%2Fspotify-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinukkusu%2Fspotify-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinukkusu%2Fspotify-dart/lists"}