dribbble 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +33 -0
  3. data/.travis.yml +3 -6
  4. data/CHANGELOG.md +58 -0
  5. data/Gemfile +10 -0
  6. data/Guardfile +4 -2
  7. data/README.md +44 -285
  8. data/Rakefile +2 -0
  9. data/dribbble.gemspec +10 -8
  10. data/lib/dribbble.rb +3 -1
  11. data/lib/dribbble/attachment.rb +9 -1
  12. data/lib/dribbble/base.rb +3 -1
  13. data/lib/dribbble/client.rb +5 -30
  14. data/lib/dribbble/errors.rb +3 -3
  15. data/lib/dribbble/project.rb +10 -2
  16. data/lib/dribbble/shot.rb +3 -33
  17. data/lib/dribbble/user.rb +1 -51
  18. data/lib/dribbble/utils.rb +5 -3
  19. data/lib/dribbble/utils/creatable.rb +3 -1
  20. data/lib/dribbble/utils/deletable.rb +3 -1
  21. data/lib/dribbble/utils/findable.rb +2 -0
  22. data/lib/dribbble/utils/has_children.rb +16 -12
  23. data/lib/dribbble/utils/updatable.rb +2 -0
  24. data/lib/dribbble/version.rb +3 -1
  25. data/spec/lib/dribbble/base_spec.rb +10 -8
  26. data/spec/lib/dribbble/client_spec.rb +16 -69
  27. data/spec/lib/dribbble/project_spec.rb +52 -16
  28. data/spec/lib/dribbble/shot_spec.rb +14 -197
  29. data/spec/lib/dribbble/user_spec.rb +5 -175
  30. data/spec/spec_helper.rb +5 -3
  31. data/spec/support/dribbble_api.rb +17 -88
  32. data/spec/support/fixtures/current_user_success.json +35 -24
  33. data/spec/support/fixtures/project_success.json +1 -1
  34. data/spec/support/fixtures/projects_accepted.json +8 -0
  35. data/spec/support/fixtures/projects_deleted.json +8 -0
  36. data/spec/support/fixtures/projects_success.json +1 -1
  37. data/spec/support/fixtures/projects_updated.json +8 -0
  38. data/spec/support/fixtures/shot_success.json +16 -16
  39. data/spec/support/fixtures/shot_updated.json +78 -78
  40. data/spec/support/fixtures/shots_success.json +81 -103
  41. data/spec/support/fixtures/user_success.json +35 -24
  42. metadata +33 -67
  43. data/lib/dribbble/bucket.rb +0 -33
  44. data/lib/dribbble/comment.rb +0 -29
  45. data/lib/dribbble/like.rb +0 -7
  46. data/lib/dribbble/team.rb +0 -6
  47. data/spec/lib/dribbble/bucket_spec.rb +0 -136
  48. data/spec/lib/dribbble/comment_spec.rb +0 -77
  49. data/spec/lib/dribbble/team_spec.rb +0 -43
  50. data/spec/support/fixtures/attachments_success.json +0 -11
  51. data/spec/support/fixtures/bucket_created.json +0 -8
  52. data/spec/support/fixtures/bucket_success.json +0 -8
  53. data/spec/support/fixtures/bucket_updated.json +0 -8
  54. data/spec/support/fixtures/buckets_success.json +0 -10
  55. data/spec/support/fixtures/comment_created.json +0 -38
  56. data/spec/support/fixtures/comment_likes_success.json +0 -40
  57. data/spec/support/fixtures/comment_success.json +0 -38
  58. data/spec/support/fixtures/comment_updated.json +0 -38
  59. data/spec/support/fixtures/comments_success.json +0 -37
  60. data/spec/support/fixtures/followers_success.json +0 -33
  61. data/spec/support/fixtures/following_success.json +0 -33
  62. data/spec/support/fixtures/shot_likes_success.json +0 -33
  63. data/spec/support/fixtures/team_success.json +0 -26
  64. data/spec/support/fixtures/teams_success.json +0 -28
  65. data/spec/support/fixtures/user_likes_success.json +0 -91
  66. data/spec/support/fixtures/users_success.json +0 -27
@@ -0,0 +1,8 @@
1
+ {
2
+ "id" : 3,
3
+ "name" : "Web Standards Sherpa",
4
+ "description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
5
+ "shots_count" : 4,
6
+ "created_at" : "2011-04-14T03:43:47Z",
7
+ "updated_at" : "2012-04-04T22:39:53Z"
8
+ }
@@ -7,4 +7,4 @@
7
7
  "created_at" : "2011-04-14T03:43:47Z",
8
8
  "updated_at" : "2012-04-04T22:39:53Z"
9
9
  }
10
- ]
10
+ ]
@@ -0,0 +1,8 @@
1
+ {
2
+ "id" : 3,
3
+ "name" : "Project title",
4
+ "description" : "Project description",
5
+ "shots_count" : 4,
6
+ "created_at" : "2011-04-14T03:43:47Z",
7
+ "updated_at" : "2012-04-04T22:39:53Z"
8
+ }
@@ -18,11 +18,11 @@
18
18
  "created_at" : "2012-03-15T01:52:33Z",
19
19
  "updated_at" : "2012-03-15T02:12:57Z",
20
20
  "html_url" : "https://dribbble.com/shots/471756-Sasquatch",
21
- "attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
22
- "comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
23
- "likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
24
- "projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
25
- "rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
21
+ "attachments_url" : "https://api.dribbble.com/v2/shots/471756/attachments",
22
+ "comments_url" : "https://api.dribbble.com/v2/shots/471756/comments",
23
+ "likes_url" : "https://api.dribbble.com/v2/shots/471756/likes",
24
+ "projects_url" : "https://api.dribbble.com/v2/shots/471756/projects",
25
+ "rebounds_url" : "https://api.dribbble.com/v2/shots/471756/rebounds",
26
26
  "tags" : [
27
27
  "fiction",
28
28
  "sasquatch",
@@ -47,12 +47,12 @@
47
47
  "shots_count" : 214,
48
48
  "type" : "User",
49
49
  "pro" : true,
50
- "buckets_url" : "https://dribbble.com/v1/users/1/buckets",
51
- "followers_url" : "https://dribbble.com/v1/users/1/followers",
52
- "following_url" : "https://dribbble.com/v1/users/1/following",
53
- "likes_url" : "https://dribbble.com/v1/users/1/likes",
54
- "shots_url" : "https://dribbble.com/v1/users/1/shots",
55
- "teams_url" : "https://dribbble.com/v1/users/1/teams",
50
+ "buckets_url" : "https://dribbble.com/v2/users/1/buckets",
51
+ "followers_url" : "https://dribbble.com/v2/users/1/followers",
52
+ "following_url" : "https://dribbble.com/v2/users/1/following",
53
+ "likes_url" : "https://dribbble.com/v2/users/1/likes",
54
+ "shots_url" : "https://dribbble.com/v2/users/1/shots",
55
+ "teams_url" : "https://dribbble.com/v2/users/1/teams",
56
56
  "created_at" : "2009-07-08T02:51:22Z",
57
57
  "updated_at" : "2014-02-22T17:10:33Z"
58
58
  },
@@ -74,11 +74,11 @@
74
74
  "shots_count" : 91,
75
75
  "type" : "Team",
76
76
  "pro" : false,
77
- "buckets_url" : "https://dribbble.com/v1/users/39/buckets",
78
- "followers_url" : "https://dribbble.com/v1/users/39/followers",
79
- "likes_url" : "https://dribbble.com/v1/users/39/likes",
80
- "shots_url" : "https://dribbble.com/v1/users/39/shots",
81
- "teams_url" : "https://dribbble.com/v1/users/39/teams",
77
+ "buckets_url" : "https://dribbble.com/v2/users/39/buckets",
78
+ "followers_url" : "https://dribbble.com/v2/users/39/followers",
79
+ "likes_url" : "https://dribbble.com/v2/users/39/likes",
80
+ "shots_url" : "https://dribbble.com/v2/users/39/shots",
81
+ "teams_url" : "https://dribbble.com/v2/users/39/teams",
82
82
  "created_at" : "2009-08-18T18:34:31Z",
83
83
  "updated_at" : "2014-02-14T22:32:11Z"
84
84
  }
@@ -1,85 +1,85 @@
1
1
  {
2
- "id" : 471756,
3
- "title" : "Shot title",
4
- "description" : "Shot description",
5
- "width" : 400,
6
- "height" : 300,
7
- "images" : {
8
- "hidpi" : null,
9
- "normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
10
- "teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
2
+ "id": 471756,
3
+ "title": "Shot title",
4
+ "description": "Shot description",
5
+ "width": 400,
6
+ "height": 300,
7
+ "images": {
8
+ "hidpi": null,
9
+ "normal":
10
+ "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
11
+ "teaser":
12
+ "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
11
13
  },
12
- "views_count" : 4372,
13
- "likes_count" : 149,
14
- "comments_count" : 27,
15
- "attachments_count" : 0,
16
- "rebounds_count" : 2,
17
- "buckets_count" : 8,
18
- "created_at" : "2012-03-15T01:52:33Z",
19
- "updated_at" : "2012-03-15T02:12:57Z",
20
- "html_url" : "https://dribbble.com/shots/471756-Sasquatch",
21
- "attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
22
- "comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
23
- "likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
24
- "projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
25
- "rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
26
- "tags" : [
27
- "fiction",
28
- "sasquatch",
29
- "sketch",
30
- "wip"
31
- ],
32
- "user" : {
33
- "id" : 1,
34
- "name" : "Dan Cederholm",
35
- "username" : "simplebits",
36
- "html_url" : "https://dribbble.com/simplebits",
37
- "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
38
- "bio" : "Co-founder &amp; designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
39
- "location" : "Salem, MA",
40
- "links" : {
41
- "web" : "http://simplebits.com",
42
- "twitter" : "https://twitter.com/simplebits"
14
+ "views_count": 4372,
15
+ "likes_count": 149,
16
+ "comments_count": 27,
17
+ "attachments_count": 0,
18
+ "rebounds_count": 2,
19
+ "buckets_count": 8,
20
+ "created_at": "2012-03-15T01:52:33Z",
21
+ "updated_at": "2012-03-15T02:12:57Z",
22
+ "html_url": "https://dribbble.com/shots/471756-Sasquatch",
23
+ "attachments_url": "https://api.dribbble.com/v2/shots/471756/attachments",
24
+ "comments_url": "https://api.dribbble.com/v2/shots/471756/comments",
25
+ "likes_url": "https://api.dribbble.com/v2/shots/471756/likes",
26
+ "projects_url": "https://api.dribbble.com/v2/shots/471756/projects",
27
+ "rebounds_url": "https://api.dribbble.com/v2/shots/471756/rebounds",
28
+ "tags": ["fiction", "sasquatch", "sketch", "wip"],
29
+ "user": {
30
+ "id": 1,
31
+ "name": "Dan Cederholm",
32
+ "username": "simplebits",
33
+ "html_url": "https://dribbble.com/simplebits",
34
+ "avatar_url":
35
+ "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
36
+ "bio":
37
+ "Co-founder &amp; designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
38
+ "location": "Salem, MA",
39
+ "links": {
40
+ "web": "http://simplebits.com",
41
+ "twitter": "https://twitter.com/simplebits"
43
42
  },
44
- "followers_count" : 29262,
45
- "followings_count" : 1728,
46
- "likes_count" : 34954,
47
- "shots_count" : 214,
48
- "type" : "User",
49
- "pro" : true,
50
- "buckets_url" : "https://dribbble.com/v1/users/1/buckets",
51
- "followers_url" : "https://dribbble.com/v1/users/1/followers",
52
- "following_url" : "https://dribbble.com/v1/users/1/following",
53
- "likes_url" : "https://dribbble.com/v1/users/1/likes",
54
- "shots_url" : "https://dribbble.com/v1/users/1/shots",
55
- "teams_url" : "https://dribbble.com/v1/users/1/teams",
56
- "created_at" : "2009-07-08T02:51:22Z",
57
- "updated_at" : "2014-02-22T17:10:33Z"
43
+ "followers_count": 29262,
44
+ "followings_count": 1728,
45
+ "likes_count": 34954,
46
+ "shots_count": 214,
47
+ "type": "User",
48
+ "pro": true,
49
+ "buckets_url": "https://dribbble.com/v2/users/1/buckets",
50
+ "followers_url": "https://dribbble.com/v2/users/1/followers",
51
+ "following_url": "https://dribbble.com/v2/users/1/following",
52
+ "likes_url": "https://dribbble.com/v2/users/1/likes",
53
+ "shots_url": "https://dribbble.com/v2/users/1/shots",
54
+ "teams_url": "https://dribbble.com/v2/users/1/teams",
55
+ "created_at": "2009-07-08T02:51:22Z",
56
+ "updated_at": "2014-02-22T17:10:33Z"
58
57
  },
59
- "team" : {
60
- "id" : 39,
61
- "name" : "Dribbble",
62
- "username" : "dribbble",
63
- "html_url" : "https://dribbble.com/dribbble",
64
- "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
65
- "bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
66
- "location" : "Salem, MA",
67
- "links" : {
68
- "web" : "http://dribbble.com",
69
- "twitter" : "https://twitter.com/dribbble"
58
+ "team": {
59
+ "id": 39,
60
+ "name": "Dribbble",
61
+ "username": "dribbble",
62
+ "html_url": "https://dribbble.com/dribbble",
63
+ "avatar_url":
64
+ "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
65
+ "bio": "Show and tell for designers. This is Dribbble on Dribbble.",
66
+ "location": "Salem, MA",
67
+ "links": {
68
+ "web": "http://dribbble.com",
69
+ "twitter": "https://twitter.com/dribbble"
70
70
  },
71
- "followers_count" : 25011,
72
- "followings_count" : 6120,
73
- "likes_count" : 44,
74
- "shots_count" : 91,
75
- "type" : "Team",
76
- "pro" : false,
77
- "buckets_url" : "https://dribbble.com/v1/users/39/buckets",
78
- "followers_url" : "https://dribbble.com/v1/users/39/followers",
79
- "likes_url" : "https://dribbble.com/v1/users/39/likes",
80
- "shots_url" : "https://dribbble.com/v1/users/39/shots",
81
- "teams_url" : "https://dribbble.com/v1/users/39/teams",
82
- "created_at" : "2009-08-18T18:34:31Z",
83
- "updated_at" : "2014-02-14T22:32:11Z"
71
+ "followers_count": 25011,
72
+ "followings_count": 6120,
73
+ "likes_count": 44,
74
+ "shots_count": 91,
75
+ "type": "Team",
76
+ "pro": false,
77
+ "buckets_url": "https://dribbble.com/v2/users/39/buckets",
78
+ "followers_url": "https://dribbble.com/v2/users/39/followers",
79
+ "likes_url": "https://dribbble.com/v2/users/39/likes",
80
+ "shots_url": "https://dribbble.com/v2/users/39/shots",
81
+ "teams_url": "https://dribbble.com/v2/users/39/teams",
82
+ "created_at": "2009-08-18T18:34:31Z",
83
+ "updated_at": "2014-02-14T22:32:11Z"
84
84
  }
85
85
  }
@@ -10,57 +10,40 @@
10
10
  "normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
11
11
  "teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
12
12
  },
13
- "views_count" : 4372,
14
- "likes_count" : 149,
15
- "comments_count" : 27,
16
- "attachments_count" : 0,
17
- "rebounds_count" : 2,
18
- "buckets_count" : 8,
19
- "created_at" : "2012-03-15T01:52:33Z",
13
+ "published_at" : "2012-03-15T01:52:33Z",
20
14
  "updated_at" : "2012-03-15T02:12:57Z",
21
15
  "html_url" : "https://dribbble.com/shots/471756-Sasquatch",
22
- "attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
23
- "comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
24
- "likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
25
- "projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
26
- "rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
16
+ "animated" : false,
27
17
  "tags" : [
28
18
  "fiction",
29
19
  "sasquatch",
30
20
  "sketch",
31
21
  "wip"
32
22
  ],
33
- "user" : {
34
- "id" : 1,
35
- "name" : "Dan Cederholm",
36
- "username" : "simplebits",
37
- "html_url" : "https://dribbble.com/simplebits",
38
- "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
39
- "bio" : "Co-founder &amp; designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
40
- "location" : "Salem, MA",
41
- "links" : {
42
- "web" : "http://simplebits.com",
43
- "twitter" : "https://twitter.com/simplebits"
44
- },
45
- "followers_count" : 29262,
46
- "followings_count" : 1728,
47
- "likes_count" : 34954,
48
- "shots_count" : 214,
49
- "type" : "User",
50
- "pro" : true,
51
- "buckets_url" : "https://dribbble.com/v1/users/1/buckets",
52
- "followers_url" : "https://dribbble.com/v1/users/1/followers",
53
- "following_url" : "https://dribbble.com/v1/users/1/following",
54
- "likes_url" : "https://dribbble.com/v1/users/1/likes",
55
- "shots_url" : "https://dribbble.com/v1/users/1/shots",
56
- "teams_url" : "https://dribbble.com/v1/users/1/teams",
57
- "created_at" : "2009-07-08T02:51:22Z",
58
- "updated_at" : "2014-02-22T17:10:33Z"
59
- },
23
+ "attachments" : [
24
+ {
25
+ "id" : 206165,
26
+ "url" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/1412410/attachments/206165/weathered-ball-detail.jpg",
27
+ "thumbnail_url" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/1412410/attachments/206165/thumbnail/weathered-ball-detail.jpg",
28
+ "size" : 116375,
29
+ "content_type" : "image/jpeg",
30
+ "created_at" : "2014-02-07T16:35:09Z"
31
+ }
32
+ ],
33
+ "projects" : [
34
+ {
35
+ "id" : 3,
36
+ "name" : "Web Standards Sherpa",
37
+ "description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
38
+ "shots_count" : 4,
39
+ "created_at" : "2011-04-14T03:43:47Z",
40
+ "updated_at" : "2012-04-04T22:39:53Z"
41
+ }
42
+ ],
60
43
  "team" : {
61
44
  "id" : 39,
62
45
  "name" : "Dribbble",
63
- "username" : "dribbble",
46
+ "login" : "dribbble",
64
47
  "html_url" : "https://dribbble.com/dribbble",
65
48
  "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
66
49
  "bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
@@ -69,20 +52,26 @@
69
52
  "web" : "http://dribbble.com",
70
53
  "twitter" : "https://twitter.com/dribbble"
71
54
  },
72
- "followers_count" : 25011,
73
- "followings_count" : 6120,
74
- "likes_count" : 44,
75
- "shots_count" : 91,
76
55
  "type" : "Team",
77
- "pro" : false,
78
- "buckets_url" : "https://dribbble.com/v1/users/39/buckets",
79
- "followers_url" : "https://dribbble.com/v1/users/39/followers",
80
- "likes_url" : "https://dribbble.com/v1/users/39/likes",
81
- "shots_url" : "https://dribbble.com/v1/users/39/shots",
82
- "teams_url" : "https://dribbble.com/v1/users/39/teams",
83
56
  "created_at" : "2009-08-18T18:34:31Z",
84
57
  "updated_at" : "2014-02-14T22:32:11Z"
85
- }
58
+ },
59
+ "video" : {
60
+ "id" : 10542,
61
+ "duration" : 17,
62
+ "video_file_name" : "ratatouille.webm",
63
+ "video_file_size" : 12173472,
64
+ "width" : 1600,
65
+ "height" : 1200,
66
+ "silent" : true,
67
+ "created_at" : "2019-01-28T15:53:23Z",
68
+ "updated_at" : "2019-01-28T15:56:04Z",
69
+ "url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille.webm",
70
+ "small_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_small_preview.webm",
71
+ "large_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_large_preview.webm",
72
+ "xlarge_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_xlarge_preview.webm"
73
+ },
74
+ "low_profile" : false
86
75
  },
87
76
  {
88
77
  "id" : 471756,
@@ -95,57 +84,40 @@
95
84
  "normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
96
85
  "teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
97
86
  },
98
- "views_count" : 4372,
99
- "likes_count" : 149,
100
- "comments_count" : 27,
101
- "attachments_count" : 0,
102
- "rebounds_count" : 2,
103
- "buckets_count" : 8,
104
- "created_at" : "2012-03-15T01:52:33Z",
87
+ "published_at" : "2012-03-15T01:52:33Z",
105
88
  "updated_at" : "2012-03-15T02:12:57Z",
106
89
  "html_url" : "https://dribbble.com/shots/471756-Sasquatch",
107
- "attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
108
- "comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
109
- "likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
110
- "projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
111
- "rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
90
+ "animated" : false,
112
91
  "tags" : [
113
92
  "fiction",
114
93
  "sasquatch",
115
94
  "sketch",
116
95
  "wip"
117
96
  ],
118
- "user" : {
119
- "id" : 1,
120
- "name" : "Dan Cederholm",
121
- "username" : "simplebits",
122
- "html_url" : "https://dribbble.com/simplebits",
123
- "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
124
- "bio" : "Co-founder &amp; designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
125
- "location" : "Salem, MA",
126
- "links" : {
127
- "web" : "http://simplebits.com",
128
- "twitter" : "https://twitter.com/simplebits"
129
- },
130
- "followers_count" : 29262,
131
- "followings_count" : 1728,
132
- "likes_count" : 34954,
133
- "shots_count" : 214,
134
- "type" : "User",
135
- "pro" : true,
136
- "buckets_url" : "https://dribbble.com/v1/users/1/buckets",
137
- "followers_url" : "https://dribbble.com/v1/users/1/followers",
138
- "following_url" : "https://dribbble.com/v1/users/1/following",
139
- "likes_url" : "https://dribbble.com/v1/users/1/likes",
140
- "shots_url" : "https://dribbble.com/v1/users/1/shots",
141
- "teams_url" : "https://dribbble.com/v1/users/1/teams",
142
- "created_at" : "2009-07-08T02:51:22Z",
143
- "updated_at" : "2014-02-22T17:10:33Z"
144
- },
97
+ "attachments" : [
98
+ {
99
+ "id" : 206165,
100
+ "url" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/1412410/attachments/206165/weathered-ball-detail.jpg",
101
+ "thumbnail_url" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/1412410/attachments/206165/thumbnail/weathered-ball-detail.jpg",
102
+ "size" : 116375,
103
+ "content_type" : "image/jpeg",
104
+ "created_at" : "2014-02-07T16:35:09Z"
105
+ }
106
+ ],
107
+ "projects" : [
108
+ {
109
+ "id" : 3,
110
+ "name" : "Web Standards Sherpa",
111
+ "description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
112
+ "shots_count" : 4,
113
+ "created_at" : "2011-04-14T03:43:47Z",
114
+ "updated_at" : "2012-04-04T22:39:53Z"
115
+ }
116
+ ],
145
117
  "team" : {
146
118
  "id" : 39,
147
119
  "name" : "Dribbble",
148
- "username" : "dribbble",
120
+ "login" : "dribbble",
149
121
  "html_url" : "https://dribbble.com/dribbble",
150
122
  "avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
151
123
  "bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
@@ -154,19 +126,25 @@
154
126
  "web" : "http://dribbble.com",
155
127
  "twitter" : "https://twitter.com/dribbble"
156
128
  },
157
- "followers_count" : 25011,
158
- "followings_count" : 6120,
159
- "likes_count" : 44,
160
- "shots_count" : 91,
161
129
  "type" : "Team",
162
- "pro" : false,
163
- "buckets_url" : "https://dribbble.com/v1/users/39/buckets",
164
- "followers_url" : "https://dribbble.com/v1/users/39/followers",
165
- "likes_url" : "https://dribbble.com/v1/users/39/likes",
166
- "shots_url" : "https://dribbble.com/v1/users/39/shots",
167
- "teams_url" : "https://dribbble.com/v1/users/39/teams",
168
130
  "created_at" : "2009-08-18T18:34:31Z",
169
131
  "updated_at" : "2014-02-14T22:32:11Z"
170
- }
132
+ },
133
+ "video" : {
134
+ "id" : 10542,
135
+ "duration" : 17,
136
+ "video_file_name" : "ratatouille.webm",
137
+ "video_file_size" : 12173472,
138
+ "width" : 1600,
139
+ "height" : 1200,
140
+ "silent" : true,
141
+ "created_at" : "2019-01-28T15:53:23Z",
142
+ "updated_at" : "2019-01-28T15:56:04Z",
143
+ "url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille.webm",
144
+ "small_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_small_preview.webm",
145
+ "large_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_large_preview.webm",
146
+ "xlarge_preview_url" : "https://cdn.dribbble.com/users/1/videos/10542/ratatouille_xlarge_preview.webm"
147
+ },
148
+ "low_profile" : false
171
149
  }
172
- ]
150
+ ]