[GH-ISSUE #75] Add new Connect Endpoints #40

Closed
opened 2026-02-27 19:25:45 +03:00 by kerem · 2 comments
Owner

Originally created by @jwilsson on GitHub (Mar 31, 2017).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/75

  • GET /v1/me/player/devices => SpotifyWebAPI::getMyDevices()
  • GET /v1/me/player => SpotifyWebAPI::getMyCurrentPlaybackInfo()
  • GET /v1/me/player/currently-playing => SpotifyWebAPI::getMyCurrentTrack()
  • PUT /v1/me/player => SpotifyWebAPI::changeMyDevice()
  • PUT /v1/me/player/play => SpotifyWebAPI::play()
  • PUT /v1/me/player/pause => SpotifyWebAPI::pause()
  • POST /v1/me/player/next => SpotifyWebAPI::next()
  • POST /v1/me/player/previous => SpotifyWebAPI::previous()
  • PUT /v1/me/player/seek => SpotifyWebAPI::seek()
  • PUT /v1/me/player/repeat => SpotifyWebAPI::repeat()
  • PUT /v1/me/player/volume => SpotifyWebAPI::setMyVolume()
  • PUT /v1/me/player/shuffle => SpotifyWebAPI::shuffle()

Full reference: https://developer.spotify.com/web-api/web-api-connect-endpoint-reference/

Any feedback on names and help with implementing is greatly appreciated! A WIP is available in #74.

Originally created by @jwilsson on GitHub (Mar 31, 2017). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/75 - [X] `GET /v1/me/player/devices` => `SpotifyWebAPI::getMyDevices()` - [X] `GET /v1/me/player` => `SpotifyWebAPI::getMyCurrentPlaybackInfo()` - [X] `GET /v1/me/player/currently-playing` => `SpotifyWebAPI::getMyCurrentTrack()` - [x] `PUT /v1/me/player` => `SpotifyWebAPI::changeMyDevice()` - [x] `PUT /v1/me/player/play` => `SpotifyWebAPI::play()` - [x] `PUT /v1/me/player/pause` => `SpotifyWebAPI::pause()` - [x] `POST /v1/me/player/next` => `SpotifyWebAPI::next()` - [x] `POST /v1/me/player/previous` => `SpotifyWebAPI::previous()` - [x] `PUT /v1/me/player/seek` => `SpotifyWebAPI::seek()` - [x] `PUT /v1/me/player/repeat` => `SpotifyWebAPI::repeat()` - [x] `PUT /v1/me/player/volume` => `SpotifyWebAPI::setMyVolume()` - [x] `PUT /v1/me/player/shuffle` => `SpotifyWebAPI::shuffle()` _Full reference: https://developer.spotify.com/web-api/web-api-connect-endpoint-reference/_ Any feedback on names and help with implementing is greatly appreciated! A WIP is available in #74.
Author
Owner

@jwilsson commented on GitHub (Apr 11, 2017):

Almost done, just one small issue with SpotifyWebAPI::play() and no options. But that endpoint seems to have some issues right now.

<!-- gh-comment-id:293186322 --> @jwilsson commented on GitHub (Apr 11, 2017): Almost done, just one small issue with `SpotifyWebAPI::play()` and no options. But that endpoint seems to have some issues right now.
Author
Owner

@jwilsson commented on GitHub (Apr 12, 2017):

Released in 1.10.0! 🎉

<!-- gh-comment-id:293511080 --> @jwilsson commented on GitHub (Apr 12, 2017): Released in `1.10.0`! 🎉
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#40
No description provided.