[GH-ISSUE #49] Please allow Guzzle 6 as client #29

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

Originally created by @andig on GitHub (Jul 17, 2016).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/49

...that would especially allow implementing retry handling to get over the rate limit like here: https://github.com/andig/dlf/blob/master/ClientFactory.php#L34

Originally created by @andig on GitHub (Jul 17, 2016). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/49 ...that would especially allow implementing retry handling to get over the rate limit like here: https://github.com/andig/dlf/blob/master/ClientFactory.php#L34
kerem closed this issue 2026-02-27 19:25:41 +03:00
Author
Owner

@jwilsson commented on GitHub (Jul 18, 2016):

Hi!
We try to keep it simple and dependency free, just implementing the most basic HTTP class to support our needs.

There's of course always possible for you to create your own simple wrapper around Guzzle and expose a compatible API to use with this library.

<!-- gh-comment-id:233292368 --> @jwilsson commented on GitHub (Jul 18, 2016): Hi! We try to keep it simple and dependency free, just implementing the most basic HTTP class to support our needs. There's of course always possible for you to create your own simple wrapper around Guzzle and expose a compatible API to use with this library.
Author
Owner

@andig commented on GitHub (Jul 21, 2016):

There's of course always possible for you to create your own simple wrapper around Guzzle and expose a compatible API to use with this library.

Done that. I have a guzzle adapter as well as a retry middleware that honors the api rate limit. Are you interested in a PR? If not I could roll my own repo. If yes- where would you like to put those? RequestAdapter\Guzzle namespace?

<!-- gh-comment-id:234251149 --> @andig commented on GitHub (Jul 21, 2016): > There's of course always possible for you to create your own simple wrapper around Guzzle and expose a compatible API to use with this library. Done that. I have a guzzle adapter as well as a retry middleware that honors the api rate limit. Are you interested in a PR? If not I could roll my own repo. If yes- where would you like to put those? RequestAdapter\Guzzle namespace?
Author
Owner

@jwilsson commented on GitHub (Jul 21, 2016):

I think it's better suited in its own repo, but I'm glad to see some usage :)

<!-- gh-comment-id:234330081 --> @jwilsson commented on GitHub (Jul 21, 2016): I think it's better suited in its own repo, but I'm glad to see some usage :)
Author
Owner

@andig commented on GitHub (Jul 31, 2016):

For sake of reference you can find a sample Guzzle adapter here: https://github.com/andig/spotify-web-api-extensions/tree/master

<!-- gh-comment-id:236431687 --> @andig commented on GitHub (Jul 31, 2016): For sake of reference you can find a sample Guzzle adapter here: https://github.com/andig/spotify-web-api-extensions/tree/master
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#29
No description provided.