marcobiedermann/MMM-dribbble

Update API to V2

Aperta

#2 aperta il 8 apr 2018

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (0 fork)github user discovery
help wanted

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

dribbble released their API version 2 which breaks this module. The API v2 does require an oAuth authentication using client_id and client_secret.

Here are the steps for upgrading to the new API:

  1. Register a new app
  2. Make a GET request to https://dribbble.com/oauth/authorize?client_id=CLIENT_ID
  3. Copy code you receive from response
  4. Make a POST request to https://dribbble.com/oauth/token with the body parameters client_id, client_secret and code which will give you your access token
  5. Make a GET request to https://api.dribbble.com/v2/popular_shots?access_token=ACCESS_TOKEN

Unfortunately dribbble does not allow to get a list of popular shots anymore

Note: This is available only to select applications with our approval.

http://developer.dribbble.com/v2/shots/#list-popular-shots

I already asked on Twitter and Stackoverflow for help / advise but still waiting for any response.

If anyone could help out with finding a solution, feel free to post your progress below.

Thanks

Guida contributor