{"id":29152865,"url":"https://github.com/tehopirtti/spotifybaton","last_synced_at":"2026-04-17T02:32:13.451Z","repository":{"id":286179795,"uuid":"960627317","full_name":"tehopirtti/spotifybaton","owner":"tehopirtti","description":"Spotify remote control with Slack app","archived":false,"fork":false,"pushed_at":"2025-06-04T20:41:55.000Z","size":4823,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T22:17:52.046Z","etag":null,"topics":["slack","spotify"],"latest_commit_sha":null,"homepage":"https://spotifybaton.tehopirtti.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tehopirtti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-04T19:05:09.000Z","updated_at":"2025-06-04T20:41:57.000Z","dependencies_parsed_at":"2025-08-02T22:17:35.169Z","dependency_job_id":"5922360e-e55b-465f-85b5-d298c6659030","html_url":"https://github.com/tehopirtti/spotifybaton","commit_stats":null,"previous_names":["tehopirtti/spotifybaton"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tehopirtti/spotifybaton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehopirtti%2Fspotifybaton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehopirtti%2Fspotifybaton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehopirtti%2Fspotifybaton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehopirtti%2Fspotifybaton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tehopirtti","download_url":"https://codeload.github.com/tehopirtti/spotifybaton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehopirtti%2Fspotifybaton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31912373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["slack","spotify"],"created_at":"2025-07-01T01:03:13.008Z","updated_at":"2026-04-17T02:32:13.417Z","avatar_url":"https://github.com/tehopirtti.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![SpotifyBaton](https://raw.githubusercontent.com/tehopirtti/spotifybaton/refs/heads/master/inc/img/logo.png)\n# Usable methods so far\n## Get Recently Played Tracks\n```\nplayer_history(limit, reverse)\n```\nGet tracks from the current user's recently played tracks. Note: Currently doesn't support podcast episodes.\n\n| Parameter | Type    | Default |\n|-----------|---------|---------|\n| limit     | integer | 3       |\n| reverse   | boolean | false   |\n## Get Currently Playing Track\n```\nplayer_current\n```\nGet the object currently being played on the user's Spotify account.\n## Get the User's Queue\n```\nplayer_upcoming(limit, reverse)\n```\nGet the list of objects that make up the user's queue.\n\n| Parameter | Type    | Default |\n|-----------|---------|---------|\n| limit     | integer | 3       |\n| reverse   | boolean | true    |\n## Add Item to Playback Queue\n```\nplayer_queue(uri)\n```\nAdd an item to the end of the user's current playback queue.  This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n\n| Parameter | Type   | Default |\n|-----------|--------|---------|\n| uri       | string |         |\n## Start/Resume Playback\n```\nplayer_play\n```\nStart a new context or resume current playback on the user's active device. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n## Pause Playback\n```\nplayer_pause\n```\nPause playback on the user's account. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n## Skip To Next\n```\nplayer_next\n```\nSkips to next track in the user’s queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n## Skip To Previous\n```\nplayer_previous\n```\nSkips to previous track in the user’s queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n## Search for Item\n```\nsearch(query, limit, type)\n```\nGet Spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.\n\n| Parameter | Type    | Default |\n|-----------|---------|---------|\n| query     | string  |         |\n| limit     | integer | 3       |\n| type      | string  | track   |\n## Get Track\n```\ntrack(id)\n```\nGet Spotify catalog information for a single track identified by its unique Spotify ID.\n\n| Parameter | Type    | Default |\n|-----------|---------|---------|\n| id        | string  |         |\n\u003e Spotify URI can be also given as parameter, from which ID is extracted.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehopirtti%2Fspotifybaton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftehopirtti%2Fspotifybaton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehopirtti%2Fspotifybaton/lists"}