marcobiedermann/MMM-dribbble

Update API to V2

Offen

#2 geöffnet am 08.04.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (0 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide