pinterest-ruby 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.rubocop.yml +63 -0
- data/.travis-gemfile +17 -0
- data/.travis.yml +12 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +24 -0
- data/README.md +34 -0
- data/Rakefile +44 -0
- data/docs/FaradayMiddleware/SafeOj.html +218 -0
- data/docs/FaradayMiddleware.html +125 -0
- data/docs/Pinterest/Board.html +410 -0
- data/docs/Pinterest/Client.html +1894 -0
- data/docs/Pinterest/Collection.html +1877 -0
- data/docs/Pinterest/Endpoints/Authentication.html +578 -0
- data/docs/Pinterest/Endpoints/Boards.html +1443 -0
- data/docs/Pinterest/Endpoints/Pins.html +1296 -0
- data/docs/Pinterest/Endpoints/Users.html +1220 -0
- data/docs/Pinterest/Endpoints.html +127 -0
- data/docs/Pinterest/Entity.html +473 -0
- data/docs/Pinterest/Errors/AuthorizationError.html +158 -0
- data/docs/Pinterest/Errors/BadRequestError.html +158 -0
- data/docs/Pinterest/Errors/BaseError.html +487 -0
- data/docs/Pinterest/Errors/MethodNotAllowedError.html +158 -0
- data/docs/Pinterest/Errors/NotFoundError.html +158 -0
- data/docs/Pinterest/Errors/NotImplementedError.html +158 -0
- data/docs/Pinterest/Errors/PermissionsError.html +158 -0
- data/docs/Pinterest/Errors/RateLimitError.html +158 -0
- data/docs/Pinterest/Errors/ServerError.html +158 -0
- data/docs/Pinterest/Errors/TimeoutError.html +158 -0
- data/docs/Pinterest/Errors.html +377 -0
- data/docs/Pinterest/Image.html +617 -0
- data/docs/Pinterest/Interest.html +402 -0
- data/docs/Pinterest/Pin.html +511 -0
- data/docs/Pinterest/User.html +408 -0
- data/docs/Pinterest/Version.html +187 -0
- data/docs/Pinterest.html +130 -0
- data/docs/_index.html +401 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +492 -0
- data/docs/file.README.html +106 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +106 -0
- data/docs/js/app.js +243 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +643 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/pinterest/client.rb +146 -0
- data/lib/pinterest/collection.rb +97 -0
- data/lib/pinterest/endpoints/authentication.rb +99 -0
- data/lib/pinterest/endpoints/boards.rb +193 -0
- data/lib/pinterest/endpoints/pins.rb +187 -0
- data/lib/pinterest/endpoints/users.rb +158 -0
- data/lib/pinterest/errors.rb +94 -0
- data/lib/pinterest/models/board.rb +34 -0
- data/lib/pinterest/models/entity.rb +42 -0
- data/lib/pinterest/models/image.rb +49 -0
- data/lib/pinterest/models/interest.rb +30 -0
- data/lib/pinterest/models/pin.rb +43 -0
- data/lib/pinterest/models/user.rb +33 -0
- data/lib/pinterest/safe_oj.rb +25 -0
- data/lib/pinterest/version.rb +23 -0
- data/lib/pinterest.rb +31 -0
- data/pinterest.gemspec +32 -0
- data/spec/cassettes/Pinterest_Client/_perform_network_request_private_/should_correctly_handle_malformed_requests.yml +51 -0
- data/spec/cassettes/Pinterest_Endpoints_Authentication/_fetch_access_token/should_make_the_call_to_Pinterest_and_return_the_authorization_token_also_saving_it.yml +58 -0
- data/spec/cassettes/Pinterest_Endpoints_Authentication/_verify_access_token/should_return_an_exception_when_using_an_invalid_token.yml +52 -0
- data/spec/cassettes/Pinterest_Endpoints_Authentication/_verify_access_token/should_verify_the_token.yml +59 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_board/should_complain_for_invalid_boards.yml +48 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_board/should_get_the_current_informations.yml +63 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_board/should_restrict_to_requested_fields.yml +57 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_boards/should_only_get_requested_fields.yml +57 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_boards/should_return_a_list_of_boards.yml +74 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_create_board/should_create_the_board_and_return_it_with_only_the_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_delete_board/should_perform_the_call_and_return_an_error.yml +48 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_delete_board/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_edit_board/should_edit_the_board_and_return_it_with_only_the_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_follow_board/should_complain_for_invalid_boards.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_follow_board/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_following_boards/should_only_get_requested_fields.yml +59 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_following_boards/should_paginate_correctly.yml +72 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_following_boards/should_return_the_followed_boards.yml +72 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_search_my_boards/should_only_get_requested_fields.yml +59 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_search_my_boards/should_paginate_correctly.yml +66 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_search_my_boards/should_search_boards.yml +75 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_suggested_boards/should_return_the_suggested_boards_returning_only_the_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_unfollow_board/should_complain_for_invalid_boards.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Boards/_unfollow_board/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_board_pins/should_only_get_requested_fields.yml +59 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_board_pins/should_paginate_correctly.yml +85 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_board_pins/should_return_the_pins_of_the_board.yml +85 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_create_pin/should_create_a_pin_by_using_a_image_URL.yml +71 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_create_pin/should_create_a_pin_by_using_a_image_file.yml +1997 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_create_pin/should_return_a_pin_containing_only_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_delete_pin/should_perform_the_call_and_return_an_error.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_delete_pin/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_edit_pin/should_edit_the_pin_and_return_it_with_only_the_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_likes/should_only_get_requested_fields.yml +58 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_likes/should_paginate_correctly.yml +87 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_likes/should_return_the_list_of_liked_pins.yml +85 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pin/should_complain_for_non_existent_pins.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pin/should_get_the_current_informations.yml +71 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pin/should_restrict_to_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pins/should_only_get_requested_fields.yml +59 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pins/should_paginate_correctly.yml +808 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_pins/should_return_my_pins.yml +88 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_search_my_pins/should_only_get_requested_fields.yml +61 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_search_my_pins/should_paginate_correctly.yml +89 -0
- data/spec/cassettes/Pinterest_Endpoints_Pins/_search_my_pins/should_search_my_pins.yml +89 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_follow_interest/should_perform_the_call_and_return_an_error.yml +48 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_follow_user/should_complain_for_invalid_users.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_follow_user/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_followers/should_only_get_requested_fields.yml +62 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_followers/should_paginate_correctly.yml +62 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_followers/should_return_a_list_of_followers.yml +62 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_following_users/should_only_get_requested_fields.yml +62 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_following_users/should_paginate_correctly.yml +131 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_following_users/should_return_a_list_of_followed_users.yml +66 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_interests/should_paginate_correctly.yml +112 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_interests/should_return_a_list_of_followed_interest.yml +58 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_me/should_get_the_current_informations.yml +62 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_me/should_restrict_to_requested_fields.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_unfollow_interest/should_perform_the_call_and_return_an_error.yml +48 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_unfollow_user/should_complain_for_invalid_users.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_unfollow_user/should_perform_the_call_and_return_true.yml +109 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_user/should_complain_for_non_existent_users.yml +56 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_user/should_get_the_current_informations.yml +60 -0
- data/spec/cassettes/Pinterest_Endpoints_Users/_user/should_restrict_to_requested_fields.yml +56 -0
- data/spec/pinterest/client_spec.rb +70 -0
- data/spec/pinterest/collection_spec.rb +82 -0
- data/spec/pinterest/endpoints/authentication_spec.rb +81 -0
- data/spec/pinterest/endpoints/boards_spec.rb +209 -0
- data/spec/pinterest/endpoints/pins_spec.rb +239 -0
- data/spec/pinterest/endpoints/users_spec.rb +194 -0
- data/spec/pinterest/errors_spec.rb +59 -0
- data/spec/pinterest/fixtures/first.jpg +0 -0
- data/spec/pinterest/models/board_spec.rb +48 -0
- data/spec/pinterest/models/entity_spec.rb +35 -0
- data/spec/pinterest/models/image_spec.rb +50 -0
- data/spec/pinterest/models/interest_spec.rb +20 -0
- data/spec/pinterest/models/pin_spec.rb +55 -0
- data/spec/pinterest/models/user_spec.rb +45 -0
- data/spec/spec_helper.rb +49 -0
- data/tester.rb +19 -0
- metadata +341 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/followers/?cursor=Pz9Nakl5TXpvME9UUTVNRE0xT0RNNU5UazVPREU1TlRrNk9USXlNek0zTURVNE5EZ3hOamcwT0RVeE9WOUZ8ZTQ5MDlkYTI3YTQ1N2Y5NWZiMzQ5YTVjNWI4MjAzZmM5NTBlZWNiNDFiNGI5NmMyMGQyZDdmMzA0MjNhODg1Ng==&fields=id,username,first_name,last_name,bio,created_at,counts,image&limit=1
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '896366438609'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '147'
|
45
|
+
Content-Length:
|
46
|
+
- '891'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:40 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": [{"username": "ges_si", "bio": "", "first_name": "Gessica",
|
54
|
+
"last_name": "Tifi", "created_at": "2015-01-27T19:13:06", "image": {"60x60":
|
55
|
+
{"url": "https://s-media-cache-ak0.pinimg.com/avatars/ges_si_1422385987_60.jpg",
|
56
|
+
"width": 60, "height": 60}}, "counts": {"pins": 0, "following": 52, "followers":
|
57
|
+
17, "boards": 0, "likes": 2}, "id": "332773997374651314"}], "page": {"cursor":
|
58
|
+
"Pz9Nakl5TXpvek16STNOek01T1Rjek56UTJOVEV6TVRRNk9USXlNek0zTWpBek5UUXpNak00T1RneE9GOUZ8NjY4OTYzMGIyMmVhNTVjYjliMzY2NmY1YWVmMWQxODU5MDlhMjk4MjdlYWJmMDc4MTk3NWEzZWM1NWVmMGI4NQ==",
|
59
|
+
"next": "https://api.pinterest.com/v1/me/followers/?cursor=Pz9Nakl5TXpvek16STNOek01T1Rjek56UTJOVEV6TVRRNk9USXlNek0zTWpBek5UUXpNak00T1RneE9GOUZ8NjY4OTYzMGIyMmVhNTVjYjliMzY2NmY1YWVmMWQxODU5MDlhMjk4MjdlYWJmMDc4MTk3NWEzZWM1NWVmMGI4NQ%3D%3D&fields=id%2Cusername%2Cfirst_name%2Clast_name%2Cbio%2Ccreated_at%2Ccounts%2Cimage&limit=1"}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Thu, 12 Jan 2017 11:59:40 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|
data/spec/cassettes/Pinterest_Endpoints_Users/_followers/should_return_a_list_of_followers.yml
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/followers/?fields=id,username,first_name,last_name,bio,created_at,counts,image&limit=1
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '935501168054'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '148'
|
45
|
+
Content-Length:
|
46
|
+
- '891'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:39 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": [{"username": "ges_si", "bio": "", "first_name": "Gessica",
|
54
|
+
"last_name": "Tifi", "created_at": "2015-01-27T19:13:06", "image": {"60x60":
|
55
|
+
{"url": "https://s-media-cache-ak0.pinimg.com/avatars/ges_si_1422385987_60.jpg",
|
56
|
+
"width": 60, "height": 60}}, "counts": {"pins": 0, "following": 52, "followers":
|
57
|
+
17, "boards": 0, "likes": 2}, "id": "332773997374651314"}], "page": {"cursor":
|
58
|
+
"Pz9Nakl5TXpvek16STNOek01T1Rjek56UTJOVEV6TVRRNk9USXlNek0zTWpBek5UUXpNak00T1RneE9GOUZ8NjY4OTYzMGIyMmVhNTVjYjliMzY2NmY1YWVmMWQxODU5MDlhMjk4MjdlYWJmMDc4MTk3NWEzZWM1NWVmMGI4NQ==",
|
59
|
+
"next": "https://api.pinterest.com/v1/me/followers/?cursor=Pz9Nakl5TXpvek16STNOek01T1Rjek56UTJOVEV6TVRRNk9USXlNek0zTWpBek5UUXpNak00T1RneE9GOUZ8NjY4OTYzMGIyMmVhNTVjYjliMzY2NmY1YWVmMWQxODU5MDlhMjk4MjdlYWJmMDc4MTk3NWEzZWM1NWVmMGI4NQ%3D%3D&fields=id%2Cusername%2Cfirst_name%2Clast_name%2Cbio%2Ccreated_at%2Ccounts%2Cimage&limit=1"}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Thu, 12 Jan 2017 11:59:39 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|
data/spec/cassettes/Pinterest_Endpoints_Users/_following_users/should_only_get_requested_fields.yml
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/following/users/?fields=username
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '267210714422'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '142'
|
45
|
+
Content-Length:
|
46
|
+
- '501'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:41 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": [{"username": "rajkadam", "id": "165929704929366893"}, {"username":
|
54
|
+
"dharamgollapudi", "id": "68046781778235617"}, {"username": "eileenrene11",
|
55
|
+
"id": "82894586799721237"}, {"username": "georgebalayan", "id": "275775314590698487"},
|
56
|
+
{"username": "photobucket", "id": "67272725592280910"}, {"username": "kettco",
|
57
|
+
"id": "1477949786161283"}, {"username": "vishalsankhla", "id": "80994630706925671"},
|
58
|
+
{"username": "aranzacarlos", "id": "30118028666498961"}], "page": {"cursor":
|
59
|
+
null, "next": null}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Thu, 12 Jan 2017 11:59:42 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,131 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/following/users/?fields=id,username,first_name,last_name,bio,created_at,counts,image&limit=2
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '328578415460'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '144'
|
45
|
+
Transfer-Encoding:
|
46
|
+
- chunked
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:41 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: '{"data": [{"username": "rajkadam", "bio": "", "first_name": "Raj",
|
54
|
+
"last_name": "Kadam", "created_at": "2012-05-21T14:22:27", "image": {"60x60":
|
55
|
+
{"url": "https://s-media-cache-ak0.pinimg.com/avatars/rajkadam_1337610148_60.jpg",
|
56
|
+
"width": 60, "height": 60}}, "counts": {"pins": 4, "following": 12, "followers":
|
57
|
+
19, "boards": 5, "likes": 0}, "id": "165929704929366893"}, {"username": "dharamgollapudi",
|
58
|
+
"bio": "", "first_name": "Dharam", "last_name": "Gollapudi", "created_at":
|
59
|
+
"2012-04-11T07:02:39", "image": {"60x60": {"url": "https://s-media-cache-ak0.pinimg.com/avatars/dharamgollapudi_1334127760_60.jpg",
|
60
|
+
"width": 60, "height": 60}}, "counts": {"pins": 1, "following": 8, "followers":
|
61
|
+
7, "boards": 1, "likes": 0}, "id": "68046781778235617"}], "page": {"cursor":
|
62
|
+
"Pz9Nakl5TXpvMk9EQTBOamM0TVRjM09ESXpOVFl4TnpvNU1qSXpNemN5TURNMU5EYzJOakUxTWpZNVgwVT18ZmY3MzQyMTMyNWI2ZGVjZTIyODZmZjI2ZGJmMGNjZDEzNWVlZjM2MGRkOWY4ZDQ5YmM2YjdiMzViNTk4MWEyMg==",
|
63
|
+
"next": "https://api.pinterest.com/v1/me/following/users/?cursor=Pz9Nakl5TXpvMk9EQTBOamM0TVRjM09ESXpOVFl4TnpvNU1qSXpNemN5TURNMU5EYzJOakUxTWpZNVgwVT18ZmY3MzQyMTMyNWI2ZGVjZTIyODZmZjI2ZGJmMGNjZDEzNWVlZjM2MGRkOWY4ZDQ5YmM2YjdiMzViNTk4MWEyMg%3D%3D&fields=id%2Cusername%2Cfirst_name%2Clast_name%2Cbio%2Ccreated_at%2Ccounts%2Cimage&limit=2"}}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Thu, 12 Jan 2017 11:59:41 GMT
|
66
|
+
- request:
|
67
|
+
method: get
|
68
|
+
uri: https://api.pinterest.com/v1/me/following/users/?cursor=Pz9Nakl5TXpvMk9EQTBOamM0TVRjM09ESXpOVFl4TnpvNU1qSXpNemN5TURNMU5EYzJOakUxTWpZNVgwVT18ZmY3MzQyMTMyNWI2ZGVjZTIyODZmZjI2ZGJmMGNjZDEzNWVlZjM2MGRkOWY4ZDQ5YmM2YjdiMzViNTk4MWEyMg==&fields=id,username,first_name,last_name,bio,created_at,counts,image&limit=2
|
69
|
+
body:
|
70
|
+
encoding: UTF-8
|
71
|
+
string: ''
|
72
|
+
headers:
|
73
|
+
User-Agent:
|
74
|
+
- Faraday v0.10.1
|
75
|
+
Authorization:
|
76
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
77
|
+
Content-Type:
|
78
|
+
- application/x-www-form-urlencoded
|
79
|
+
Accept-Encoding:
|
80
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
81
|
+
Accept:
|
82
|
+
- "*/*"
|
83
|
+
response:
|
84
|
+
status:
|
85
|
+
code: 200
|
86
|
+
message: OK
|
87
|
+
headers:
|
88
|
+
Access-Control-Allow-Origin:
|
89
|
+
- "*"
|
90
|
+
Age:
|
91
|
+
- '0'
|
92
|
+
Cache-Control:
|
93
|
+
- private
|
94
|
+
Content-Type:
|
95
|
+
- application/json
|
96
|
+
Pinterest-Generated-By:
|
97
|
+
- None
|
98
|
+
Pinterest-Version:
|
99
|
+
- d67cb4f
|
100
|
+
X-Content-Type-Options:
|
101
|
+
- nosniff
|
102
|
+
X-Pinterest-Rid:
|
103
|
+
- '795641587873'
|
104
|
+
X-Ratelimit-Limit:
|
105
|
+
- '200'
|
106
|
+
X-Ratelimit-Remaining:
|
107
|
+
- '143'
|
108
|
+
Transfer-Encoding:
|
109
|
+
- chunked
|
110
|
+
Date:
|
111
|
+
- Thu, 12 Jan 2017 11:59:41 GMT
|
112
|
+
Connection:
|
113
|
+
- keep-alive
|
114
|
+
body:
|
115
|
+
encoding: ASCII-8BIT
|
116
|
+
string: '{"data": [{"username": "eileenrene11", "bio": "PR Assistant at the
|
117
|
+
NFL & graduate student in NYU''s M.S. in Public Relations and Corporate Communication
|
118
|
+
program. San Francisco Bay Area native n sports lover.", "first_name": "Eileen",
|
119
|
+
"last_name": "Rene", "created_at": "2012-02-13T18:42:12", "image": {"60x60":
|
120
|
+
{"url": "https://s-media-cache-ak0.pinimg.com/avatars/eileenrene11_1329158532_60.jpg",
|
121
|
+
"width": 60, "height": 60}}, "counts": {"pins": 116, "following": 96, "followers":
|
122
|
+
118, "boards": 2, "likes": 22}, "id": "82894586799721237"}, {"username": "georgebalayan",
|
123
|
+
"bio": "", "first_name": "Balayan", "last_name": "George", "created_at": "2012-02-20T15:17:52",
|
124
|
+
"image": {"60x60": {"url": "https://s-media-cache-ak0.pinimg.com/avatars/georgebalayan_1329751073_60.jpg",
|
125
|
+
"width": 60, "height": 60}}, "counts": {"pins": 16, "following": 20, "followers":
|
126
|
+
23, "boards": 6, "likes": 6}, "id": "275775314590698487"}], "page": {"cursor":
|
127
|
+
"Pz9Nakl5TXpveU56VTNOelV6TVRRMU9UQTJPVGcwT0RjNk9USXlNek0zTWpBek5UUTNOall4TlRJNE1GOUZ8NTYzNWMwZmI2ZjUwMWE4MjgxNjdlNmRkYWMzYTJkYzdlMjEyMDA0MWEyOTQwOTI0M2YzOWM0NmI0N2I5N2E3Mg==",
|
128
|
+
"next": "https://api.pinterest.com/v1/me/following/users/?cursor=Pz9Nakl5TXpveU56VTNOelV6TVRRMU9UQTJPVGcwT0RjNk9USXlNek0zTWpBek5UUTNOall4TlRJNE1GOUZ8NTYzNWMwZmI2ZjUwMWE4MjgxNjdlNmRkYWMzYTJkYzdlMjEyMDA0MWEyOTQwOTI0M2YzOWM0NmI0N2I5N2E3Mg%3D%3D&fields=id%2Cusername%2Cfirst_name%2Clast_name%2Cbio%2Ccreated_at%2Ccounts%2Cimage&limit=2"}}'
|
129
|
+
http_version:
|
130
|
+
recorded_at: Thu, 12 Jan 2017 11:59:41 GMT
|
131
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/following/users/?fields=id,username,first_name,last_name,bio,created_at,counts,image&limit=2
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '360541950208'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '145'
|
45
|
+
Transfer-Encoding:
|
46
|
+
- chunked
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:40 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: '{"data": [{"username": "rajkadam", "bio": "", "first_name": "Raj",
|
54
|
+
"last_name": "Kadam", "created_at": "2012-05-21T14:22:27", "image": {"60x60":
|
55
|
+
{"url": "https://s-media-cache-ak0.pinimg.com/avatars/rajkadam_1337610148_60.jpg",
|
56
|
+
"width": 60, "height": 60}}, "counts": {"pins": 4, "following": 12, "followers":
|
57
|
+
19, "boards": 5, "likes": 0}, "id": "165929704929366893"}, {"username": "dharamgollapudi",
|
58
|
+
"bio": "", "first_name": "Dharam", "last_name": "Gollapudi", "created_at":
|
59
|
+
"2012-04-11T07:02:39", "image": {"60x60": {"url": "https://s-media-cache-ak0.pinimg.com/avatars/dharamgollapudi_1334127760_60.jpg",
|
60
|
+
"width": 60, "height": 60}}, "counts": {"pins": 1, "following": 8, "followers":
|
61
|
+
7, "boards": 1, "likes": 0}, "id": "68046781778235617"}], "page": {"cursor":
|
62
|
+
"Pz9Nakl5TXpvMk9EQTBOamM0TVRjM09ESXpOVFl4TnpvNU1qSXpNemN5TURNMU5EYzJOakUxTWpZNVgwVT18ZmY3MzQyMTMyNWI2ZGVjZTIyODZmZjI2ZGJmMGNjZDEzNWVlZjM2MGRkOWY4ZDQ5YmM2YjdiMzViNTk4MWEyMg==",
|
63
|
+
"next": "https://api.pinterest.com/v1/me/following/users/?cursor=Pz9Nakl5TXpvMk9EQTBOamM0TVRjM09ESXpOVFl4TnpvNU1qSXpNemN5TURNMU5EYzJOakUxTWpZNVgwVT18ZmY3MzQyMTMyNWI2ZGVjZTIyODZmZjI2ZGJmMGNjZDEzNWVlZjM2MGRkOWY4ZDQ5YmM2YjdiMzViNTk4MWEyMg%3D%3D&fields=id%2Cusername%2Cfirst_name%2Clast_name%2Cbio%2Ccreated_at%2Ccounts%2Cimage&limit=2"}}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Thu, 12 Jan 2017 11:59:40 GMT
|
66
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,112 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/following/interests/?limit=2
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '810297524339'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '127'
|
45
|
+
Content-Length:
|
46
|
+
- '513'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 12:09:49 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": [{"id": "923755763075", "name": "cats"}, {"id": "926280143987",
|
54
|
+
"name": "puppies"}], "page": {"cursor": "Pz9NalF3TmpvNU1qWXlPREF4TkRNNU9EYzZNall4T0RJMU1EY3hPRE0wTnpJMk5BPT18ZjVhYWFiN2FjYWMzZGRiNzM1YTdjY2QzNTcwMGJiOGM5NjU1Y2M5NGM5YmY5ZTJmZTVkZGI3MTBhNWU1YTE1Ng==",
|
55
|
+
"next": "https://api.pinterest.com/v1/me/following/interests/?cursor=Pz9NalF3TmpvNU1qWXlPREF4TkRNNU9EYzZNall4T0RJMU1EY3hPRE0wTnpJMk5BPT18ZjVhYWFiN2FjYWMzZGRiNzM1YTdjY2QzNTcwMGJiOGM5NjU1Y2M5NGM5YmY5ZTJmZTVkZGI3MTBhNWU1YTE1Ng%3D%3D&limit=2"}}'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Thu, 12 Jan 2017 12:09:49 GMT
|
58
|
+
- request:
|
59
|
+
method: get
|
60
|
+
uri: https://api.pinterest.com/v1/me/following/interests/?cursor=Pz9NalF3TmpvNU1qWXlPREF4TkRNNU9EYzZNall4T0RJMU1EY3hPRE0wTnpJMk5BPT18ZjVhYWFiN2FjYWMzZGRiNzM1YTdjY2QzNTcwMGJiOGM5NjU1Y2M5NGM5YmY5ZTJmZTVkZGI3MTBhNWU1YTE1Ng==&limit=2
|
61
|
+
body:
|
62
|
+
encoding: UTF-8
|
63
|
+
string: ''
|
64
|
+
headers:
|
65
|
+
User-Agent:
|
66
|
+
- Faraday v0.10.1
|
67
|
+
Authorization:
|
68
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
69
|
+
Content-Type:
|
70
|
+
- application/x-www-form-urlencoded
|
71
|
+
Accept-Encoding:
|
72
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
73
|
+
Accept:
|
74
|
+
- "*/*"
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 200
|
78
|
+
message: OK
|
79
|
+
headers:
|
80
|
+
Access-Control-Allow-Origin:
|
81
|
+
- "*"
|
82
|
+
Age:
|
83
|
+
- '0'
|
84
|
+
Cache-Control:
|
85
|
+
- private
|
86
|
+
Content-Type:
|
87
|
+
- application/json
|
88
|
+
Pinterest-Generated-By:
|
89
|
+
- None
|
90
|
+
Pinterest-Version:
|
91
|
+
- d67cb4f
|
92
|
+
X-Content-Type-Options:
|
93
|
+
- nosniff
|
94
|
+
X-Pinterest-Rid:
|
95
|
+
- '467686869562'
|
96
|
+
X-Ratelimit-Limit:
|
97
|
+
- '200'
|
98
|
+
X-Ratelimit-Remaining:
|
99
|
+
- '126'
|
100
|
+
Content-Length:
|
101
|
+
- '90'
|
102
|
+
Date:
|
103
|
+
- Thu, 12 Jan 2017 12:09:49 GMT
|
104
|
+
Connection:
|
105
|
+
- keep-alive
|
106
|
+
body:
|
107
|
+
encoding: UTF-8
|
108
|
+
string: '{"data": [{"id": "931927378429", "name": "food"}], "page": {"cursor":
|
109
|
+
null, "next": null}}'
|
110
|
+
http_version:
|
111
|
+
recorded_at: Thu, 12 Jan 2017 12:09:49 GMT
|
112
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/following/interests/?limit=50
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '314677140195'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '128'
|
45
|
+
Content-Length:
|
46
|
+
- '173'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 12:09:48 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": [{"id": "923755763075", "name": "cats"}, {"id": "926280143987",
|
54
|
+
"name": "puppies"}, {"id": "931927378429", "name": "food"}], "page": {"cursor":
|
55
|
+
null, "next": null}}'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Thu, 12 Jan 2017 12:09:48 GMT
|
58
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/?fields=id,username,first_name,last_name,bio,created_at,counts,image
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '622891378725'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '153'
|
45
|
+
Content-Length:
|
46
|
+
- '524'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:38 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": {"username": "shogunpanda", "bio": "Senior developer in Ruby
|
54
|
+
on Rails, jQuery, HTML5, CSS3, BootStrap, Backbone.JS and others. LARV addicted
|
55
|
+
and nerd on many things. From Molise, Italy.", "first_name": "Paolo", "last_name":
|
56
|
+
"Insogna", "created_at": "2012-08-12T06:28:34", "image": {"60x60": {"url":
|
57
|
+
"https://s-media-cache-ak0.pinimg.com/avatars/shogunpanda_1344752914_60.jpg",
|
58
|
+
"width": 60, "height": 60}}, "counts": {"pins": 46, "following": 8, "followers":
|
59
|
+
9, "boards": 2, "likes": 1}, "id": "559853934835925315"}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Thu, 12 Jan 2017 11:59:38 GMT
|
62
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pinterest.com/v1/me/?fields=username
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.10.1
|
12
|
+
Authorization:
|
13
|
+
- Bearer AVP99QpzwII-f1I2p5gyHi8CiCeQFJkDr8dP-JpDs-LEtAAyegAAAAA
|
14
|
+
Content-Type:
|
15
|
+
- application/x-www-form-urlencoded
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Age:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- private
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Pinterest-Generated-By:
|
34
|
+
- None
|
35
|
+
Pinterest-Version:
|
36
|
+
- d67cb4f
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Pinterest-Rid:
|
40
|
+
- '162259771699'
|
41
|
+
X-Ratelimit-Limit:
|
42
|
+
- '200'
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- '152'
|
45
|
+
Content-Length:
|
46
|
+
- '65'
|
47
|
+
Date:
|
48
|
+
- Thu, 12 Jan 2017 11:59:38 GMT
|
49
|
+
Connection:
|
50
|
+
- keep-alive
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"data": {"username": "shogunpanda", "id": "559853934835925315"}}'
|
54
|
+
http_version:
|
55
|
+
recorded_at: Thu, 12 Jan 2017 11:59:38 GMT
|
56
|
+
recorded_with: VCR 3.0.3
|