marcobiedermann/MMM-dribbble

Update API to V2

オープン

#2 opened on 2018/04/08

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (0 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド