dirkgroenen / pinterest-api-php

A PHP wrapper for the official Pinterest API. :pushpin:
https://developers.pinterest.com/docs/getting-started/introduction/
Apache License 2.0
173 stars 76 forks source link

Support of Pinterest API (v5) #123

Open anibalsanchez opened 3 years ago

anibalsanchez commented 3 years ago

Related to the previously reported issue #122, Pinterest has published a brand new API and deprecated the previous API.

https://developers.pinterest.com/docs/api/v5/

For instance, to exchange the code for an access token: https://api.pinterest.com/v5/oauth/token

Do you have plans to support the new API?

dirkgroenen commented 3 years ago

I haven't been actively maintaining this project recently, but never say never :wink: Thanks for the notice though and definitely feel free to submit a PR yourself.

anibalsanchez commented 3 years ago

Thanks in advance for all your efforts @dirkgroenen

To prepare a PR, it looks like all entry points have changed. Does it have to be a completely new version of the library?

dirkgroenen commented 3 years ago

We can probably release it as a new major, with clear documentation in the README.md informing about the difference between 0.x.x and 1.x.x.