marcobiedermann/MMM-dribbble

Update API to V2

开放

#2 创建于 2018年4月8日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (0 个派生)github user discovery
help wanted

仓库指标

星标
 (1 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南