readmill 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/readmill/client.rb +14 -0
- data/lib/readmill/client/books.rb +14 -1
- data/lib/readmill/client/closing_remarks.rb +22 -0
- data/lib/readmill/client/comments.rb +34 -0
- data/lib/readmill/client/highlights.rb +52 -0
- data/lib/readmill/client/locations.rb +22 -0
- data/lib/readmill/client/periods.rb +22 -0
- data/lib/readmill/client/readings.rb +77 -0
- data/lib/readmill/client/users.rb +33 -0
- data/lib/readmill/version.rb +1 -1
- data/spec/cassettes/readmill/client/books_book/should_request_a_book_from_readmill.yml +4 -4
- data/spec/cassettes/readmill/client/books_book/should_return_a_book.yml +4 -4
- data/spec/cassettes/readmill/client/books_book/with_closing_remarks_true_should_request_readers_for_a_book_from_readmill.yml +58 -0
- data/spec/cassettes/readmill/client/books_book/with_closing_remarks_true_should_return_an_array_of_users.yml +58 -0
- data/spec/cassettes/readmill/client/books_book/with_readers_true_should_request_readers_for_a_book_from_readmill.yml +52 -0
- data/spec/cassettes/readmill/client/books_book/with_readers_true_should_return_an_array_of_users.yml +52 -0
- data/spec/cassettes/readmill/client/books_books/should_request_all_books_from_readmill.yml +67 -17
- data/spec/cassettes/readmill/client/books_books/should_return_an_array_of_books.yml +66 -47
- data/spec/cassettes/readmill/client/closing_remarks_closing_remark/should_request_a_closing_remark_from_readmill.yml +54 -0
- data/spec/cassettes/readmill/client/closing_remarks_closing_remark/should_return_a_closing_remark.yml +54 -0
- data/spec/cassettes/readmill/client/comments_comment/should_request_a_comment_from_readmill.yml +53 -0
- data/spec/cassettes/readmill/client/comments_comment/should_return_a_comment.yml +53 -0
- data/spec/cassettes/readmill/client/comments_comments/should_request_all_comments_from_readmill.yml +54 -0
- data/spec/cassettes/readmill/client/comments_comments/should_return_an_array_of_comments.yml +54 -0
- data/spec/cassettes/readmill/client/highlights_highlight/should_request_a_highlight_from_readmill.yml +61 -0
- data/spec/cassettes/readmill/client/highlights_highlight/should_return_a_highlight.yml +61 -0
- data/spec/cassettes/readmill/client/highlights_highlight/with_comments_true_should_return_an_array_of_comments.yml +54 -0
- data/spec/cassettes/readmill/client/highlights_highlight/with_comments_true_should_return_comments_for_the_highlight_from_readmill.yml +54 -0
- data/spec/cassettes/readmill/client/highlights_highlights/should_request_all_highlights_from_readmill.yml +182 -0
- data/spec/cassettes/readmill/client/highlights_highlights/should_return_an_array_of_highlights.yml +182 -0
- data/spec/cassettes/readmill/client/highlights_highlights/with_a_reading_id_should_request_all_highlights_for_the_reading.yml +66 -0
- data/spec/cassettes/readmill/client/highlights_highlights/with_a_user_id_should_request_all_highlights_for_the_user.yml +191 -0
- data/spec/cassettes/readmill/client/locations_locations/should_request_all_locations_from_readmill.yml +52 -0
- data/spec/cassettes/readmill/client/locations_locations/should_return_an_array_of_locations.yml +52 -0
- data/spec/cassettes/readmill/client/periods_periods/should_request_all_periods_from_readmill.yml +52 -0
- data/spec/cassettes/readmill/client/periods_periods/should_return_an_array_of_periods.yml +52 -0
- data/spec/cassettes/readmill/client/readings_reading/should_request_a_reading_from_readmill.yml +54 -0
- data/spec/cassettes/readmill/client/readings_reading/should_return_a_reading.yml +54 -0
- data/spec/cassettes/readmill/client/readings_reading/with_highlights_true_should_request_highlights_for_the_reading_from_readmill.yml +90 -0
- data/spec/cassettes/readmill/client/readings_reading/with_highlights_true_should_return_an_array_of_highlights.yml +90 -0
- data/spec/cassettes/readmill/client/readings_reading/with_locations_true_should_request_locations_for_the_reading_from_readmill.yml +52 -0
- data/spec/cassettes/readmill/client/readings_reading/with_locations_true_should_return_an_array_of_locations.yml +52 -0
- data/spec/cassettes/readmill/client/readings_reading/with_periods_true_and_locations_true_should_raise_an_argument_error.yml +52 -0
- data/spec/cassettes/readmill/client/readings_reading/with_periods_true_should_request_periods_for_the_reading_from_readmill.yml +52 -0
- data/spec/cassettes/readmill/client/readings_reading/with_periods_true_should_return_an_array_of_periods.yml +52 -0
- data/spec/cassettes/readmill/client/readings_readings/should_request_all_readings_from_readmill.yml +85 -0
- data/spec/cassettes/readmill/client/readings_readings/should_return_an_array_of_readings.yml +85 -0
- data/spec/cassettes/readmill/client/readings_readings/with_a_book_id_should_request_all_readings_for_the_book.yml +54 -0
- data/spec/cassettes/readmill/client/readings_readings/with_a_book_id_should_return_an_array_of_readings.yml +54 -0
- data/spec/cassettes/readmill/client/readings_readings/with_a_user_id_should_request_all_readings_for_the_user.yml +94 -0
- data/spec/cassettes/readmill/client/readings_readings/with_a_user_id_should_return_an_array_of_readings.yml +94 -0
- data/spec/cassettes/readmill/client/users_user/should_request_a_user_from_readmill.yml +54 -0
- data/spec/cassettes/readmill/client/users_user/should_return_a_user.yml +54 -0
- data/spec/cassettes/readmill/client/users_user/with_followers_true_should_request_all_followers_for_a_user.yml +86 -0
- data/spec/cassettes/readmill/client/users_user/with_followers_true_should_return_an_array_of_users.yml +86 -0
- data/spec/cassettes/readmill/client/users_user/with_followings_true_should_request_all_followings_for_a_user.yml +80 -0
- data/spec/cassettes/readmill/client/users_user/with_followings_true_should_return_an_array_of_users.yml +80 -0
- data/spec/readmill/client/books_spec.rb +44 -5
- data/spec/readmill/client/closing_remarks_spec.rb +19 -0
- data/spec/readmill/client/comments_spec.rb +33 -0
- data/spec/readmill/client/highlights_spec.rb +69 -0
- data/spec/readmill/client/locations_spec.rb +19 -0
- data/spec/readmill/client/periods_spec.rb +19 -0
- data/spec/readmill/client/readings_spec.rb +127 -0
- data/spec/readmill/client/users_spec.rb +57 -0
- metadata +108 -1
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:35:09 GMT
|
29
|
+
Etag:
|
30
|
+
- '"512e14a7065f8983e3583227de6c41a4"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- b9df4c8f50138044a6d58ce7ec512926
|
39
|
+
X-Runtime:
|
40
|
+
- '0.191695'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '810'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"user":{"id":1,"username":"christoffer","firstname":"Christoffer","lastname":"Klang","fullname":"Christoffer
|
50
|
+
Klang","country":"Sweden","city":"Stockholm","created_at":"2010-11-21T19:44:34Z","website":"http://readtracker.com","description":"Developing
|
51
|
+
ReadTracker. Mostly reading tech stuff, sci-fi and block-busters.","permalink_url":"https://readmill.com/christoffer","books_interesting_count":57,"books_reading_count":7,"books_finished_count":37,"books_abandoned_count":11,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fefc24a76482e271a702b1df5f71dba8ec386ff3f-original.png&width=50","followers_count":205,"followings_count":251,"reading_time":687332,"recent_reading_time":6418},"status":200}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 16 Dec 2013 16:35:09 GMT
|
54
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:35:10 GMT
|
29
|
+
Etag:
|
30
|
+
- '"512e14a7065f8983e3583227de6c41a4"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- e8f5a9a8370f3f291766cfb674bf3cc9
|
39
|
+
X-Runtime:
|
40
|
+
- '0.071041'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '810'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"user":{"id":1,"username":"christoffer","firstname":"Christoffer","lastname":"Klang","fullname":"Christoffer
|
50
|
+
Klang","country":"Sweden","city":"Stockholm","created_at":"2010-11-21T19:44:34Z","website":"http://readtracker.com","description":"Developing
|
51
|
+
ReadTracker. Mostly reading tech stuff, sci-fi and block-busters.","permalink_url":"https://readmill.com/christoffer","books_interesting_count":57,"books_reading_count":7,"books_finished_count":37,"books_abandoned_count":11,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fefc24a76482e271a702b1df5f71dba8ec386ff3f-original.png&width=50","followers_count":205,"followings_count":251,"reading_time":687332,"recent_reading_time":6418},"status":200}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 16 Dec 2013 16:35:10 GMT
|
54
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1/followers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:44:07 GMT
|
29
|
+
Etag:
|
30
|
+
- '"854c778ea49e2344aedf45cdc7420a19"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- bf08854ad7e9c3dfa157dbe66838e07d
|
39
|
+
X-Runtime:
|
40
|
+
- '1.098507'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '15031'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":"https://api.readmill.com/v2/users/1/followers?offset=0&order=created_at&to=2013-08-20+16%3A10%3A22+UTC&user_id=1"},"items":[{"user":{"id":888,"username":"micaelwidell","firstname":"Micael","lastname":"Widell","fullname":"Micael
|
50
|
+
Widell","country":"Sweden","city":"Stockholm","created_at":"2011-07-26T08:35:20Z","website":"http://micaelwidell.com","description":"Founder/CTO
|
51
|
+
at Fyndiq.se. I like reading (auto)biographies, books about popular science,
|
52
|
+
psychology, philosophy and entrepreneurship.","permalink_url":"https://readmill.com/micaelwidell","books_interesting_count":0,"books_reading_count":5,"books_finished_count":10,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fd53d1fe9aee4e10051715a3aa848f8965239a198-original.png&width=50","followers_count":29,"followings_count":77,"reading_time":127200,"recent_reading_time":3000}},{"user":{"id":27801,"username":"cnnr","firstname":"Connor","lastname":"Montgomery","fullname":"Connor
|
53
|
+
Montgomery","country":"USA","city":"San Francisco","created_at":"2012-10-25T22:38:33Z","website":"http://cnnr.me","description":"Builder
|
54
|
+
at @pinterest; also hack on @domainr. Previously: Apple, @LiftApp. I have
|
55
|
+
a thing for high-fives.","permalink_url":"https://readmill.com/cnnr","books_interesting_count":78,"books_reading_count":17,"books_finished_count":0,"books_abandoned_count":3,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F927c950dc76adfbc7df34f0ea157e7d3fdafa364-original.png&width=50","followers_count":16,"followings_count":81,"reading_time":9600,"recent_reading_time":600}},{"user":{"id":181452,"username":"brittybyte","firstname":"Brittany","lastname":"Stevens","fullname":"Brittany
|
56
|
+
Stevens","country":"USA","city":"New Orleans","created_at":"2013-11-16T23:49:57Z","website":"http://twitter.com/brittybyte","description":"I''m
|
57
|
+
a graduate student, innovator, and literary creative who likes herbal teas,
|
58
|
+
technologies, and zombie apocalypse escape plans.","permalink_url":"https://readmill.com/brittybyte","books_interesting_count":20,"books_reading_count":1,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9e38247380b42024f37ef083c03dbd334dedd7e2-original.png&width=50","followers_count":40,"followings_count":34,"reading_time":75300,"recent_reading_time":22500}},{"user":{"id":74485,"username":"theeditor","firstname":"The
|
59
|
+
Editor","lastname":"","fullname":"The Editor","country":"","city":"","created_at":"2013-04-17T09:37:24Z","website":"","description":"Featured
|
60
|
+
books and highlights from the Readmill community","permalink_url":"https://readmill.com/theeditor","books_interesting_count":0,"books_reading_count":0,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F91c947e4116ab643a3dbbe483f2ac3d376530778-original.png&width=50","followers_count":208263,"followings_count":47,"reading_time":0,"recent_reading_time":0}},{"user":{"id":165256,"username":"ran2sky","firstname":null,"lastname":null,"fullname":"ran2sky","country":null,"city":null,"created_at":"2013-11-02T17:42:49Z","website":null,"description":null,"permalink_url":"https://readmill.com/ran2sky","books_interesting_count":0,"books_reading_count":3,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":5,"reading_time":2778,"recent_reading_time":2601}},{"user":{"id":165364,"username":"samjohnstone","firstname":"Sam","lastname":"Johnstone","fullname":"Sam
|
61
|
+
Johnstone","country":"Canada","city":"Toronto","created_at":"2013-11-02T19:53:48Z","website":"http://www.johnstonepropaganda.com","description":"A
|
62
|
+
designer/illustrator living in Toronto","permalink_url":"https://readmill.com/samjohnstone","books_interesting_count":6,"books_reading_count":2,"books_finished_count":21,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9ec66f85b6fc217af21fce00fb37930092fa8a5c-original.png&width=50","followers_count":10,"followings_count":29,"reading_time":30825,"recent_reading_time":9094}},{"user":{"id":97334,"username":"ketilmo","firstname":"Ketil
|
63
|
+
Moland","lastname":"Olsen","fullname":"Ketil Moland Olsen","country":"Norway","city":"Bergen","created_at":"2013-06-19T20:20:58Z","website":"","description":"Senior
|
64
|
+
Product Manager (32) from Bergen, Norway, working in the Digital Media Space.
|
65
|
+
Enjoys paragliding and all things airy. Love books. Married to Alice, father
|
66
|
+
of Askil. ","permalink_url":"https://readmill.com/ketilmo","books_interesting_count":1,"books_reading_count":5,"books_finished_count":24,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F485a1d128bef7155bff0251554a6e1ce6abc164c-original.png&width=50","followers_count":12,"followings_count":26,"reading_time":160200,"recent_reading_time":20100}},{"user":{"id":1317,"username":"cdaven","firstname":"Christian","lastname":"Dav\u00e9n","fullname":"Christian
|
67
|
+
Dav\u00e9n","country":"Sweden","city":"V\u00e4ster\u00e5s","created_at":"2011-08-23T13:01:15Z","website":"","description":"\"You
|
68
|
+
can never get a cup of tea large enough or a book long enough to suit me.\"
|
69
|
+
C. S. Lewis","permalink_url":"https://readmill.com/cdaven","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fb3c71936e3efac42ddff9adf58bcead6d525a4b4-original.png&width=50","followers_count":11,"followings_count":12,"reading_time":33403,"recent_reading_time":11441}},{"user":{"id":57228,"username":"rebecca_pine8","firstname":null,"lastname":null,"fullname":"rebecca_pine8","country":null,"city":null,"created_at":"2013-03-02T05:26:00Z","website":null,"description":null,"permalink_url":"https://readmill.com/rebecca_pine8","books_interesting_count":1,"books_reading_count":6,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":5,"followings_count":45,"reading_time":600,"recent_reading_time":0}},{"user":{"id":30524,"username":"andyjpowell","firstname":"Andrew","lastname":"Powell","fullname":"Andrew
|
70
|
+
Powell","country":"Australia","city":"Melbourne","created_at":"2012-11-20T12:04:24Z","website":"http://twitter.com/andyjpowell","description":"Andrew,
|
71
|
+
29, Melbourne. Love travel, running (http://twitter.com/100000metresOMG),
|
72
|
+
film, reading, camping.","permalink_url":"https://readmill.com/andyjpowell","books_interesting_count":10,"books_reading_count":1,"books_finished_count":11,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Faf420bdf083e73f04328c1bcde0bd835e3af02e6-original.png&width=50","followers_count":3,"followings_count":4,"reading_time":319466,"recent_reading_time":8129}},{"user":{"id":177262,"username":"r2romix","firstname":null,"lastname":null,"fullname":"r2romix","country":null,"city":null,"created_at":"2013-11-13T10:05:09Z","website":null,"description":null,"permalink_url":"https://readmill.com/r2romix","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":2,"reading_time":590,"recent_reading_time":0}},{"user":{"id":22812,"username":"deerajks","firstname":null,"lastname":null,"fullname":"deerajks","country":null,"city":null,"created_at":"2012-08-30T16:36:50Z","website":null,"description":null,"permalink_url":"https://readmill.com/deerajks","books_interesting_count":13,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":15,"reading_time":0,"recent_reading_time":0}},{"user":{"id":4789,"username":"dirklectisch","firstname":"Dirk","lastname":"Geurs","fullname":"Dirk
|
73
|
+
Geurs","country":"Netherlands","city":"Amsterdam","created_at":"2011-10-02T14:28:30Z","website":"","description":"Software
|
74
|
+
Composer. Reporting on society, technology and collaboration from the post-industrial
|
75
|
+
age.","permalink_url":"https://readmill.com/dirklectisch","books_interesting_count":40,"books_reading_count":9,"books_finished_count":12,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fafd1aad947ef832688f082d07b13562e5ffc2908-original.png&width=50","followers_count":30,"followings_count":37,"reading_time":418263,"recent_reading_time":5400}},{"user":{"id":149862,"username":"ed57ve1","firstname":null,"lastname":null,"fullname":"ed57ve1","country":null,"city":null,"created_at":"2013-10-17T15:27:34Z","website":null,"description":null,"permalink_url":"https://readmill.com/ed57ve1","books_interesting_count":0,"books_reading_count":1,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":3,"reading_time":7646,"recent_reading_time":0}},{"user":{"id":610,"username":"eriklindebratt","firstname":"Erik","lastname":"Lindebratt","fullname":"Erik
|
76
|
+
Lindebratt","country":"","city":"","created_at":"2011-06-27T19:14:28Z","website":"","description":"","permalink_url":"https://readmill.com/eriklindebratt","books_interesting_count":5,"books_reading_count":6,"books_finished_count":10,"books_abandoned_count":4,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F92a79715de772e17cb05e9a4951498872f0b40c4-original.png&width=50","followers_count":29,"followings_count":48,"reading_time":88500,"recent_reading_time":5400}},{"user":{"id":5324,"username":"jbenjaminsson","firstname":"Johan","lastname":"Benjaminsson","fullname":"Johan
|
77
|
+
Benjaminsson","country":null,"city":null,"created_at":"2011-10-13T11:21:59Z","website":null,"description":null,"permalink_url":"https://readmill.com/jbenjaminsson","books_interesting_count":2,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f4b28e588de6b37e5a2a85ed58eb5a2d88a9dd0-original.png&width=50","followers_count":1,"followings_count":2,"reading_time":300,"recent_reading_time":0}},{"user":{"id":29767,"username":"lmsanchez","firstname":"Lisa","lastname":"Sanchez","fullname":"Lisa
|
78
|
+
Sanchez","country":"","city":"Berlin","created_at":"2012-11-13T01:59:57Z","website":"http://lisasanchez.me","description":"Community
|
79
|
+
manager at Readmill. Wondering what you''ve read and loved lately. lisa@readmill.com","permalink_url":"https://readmill.com/lmsanchez","books_interesting_count":37,"books_reading_count":32,"books_finished_count":16,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f3369f80337c150f60909833fb35926d1eddcf2-original.png&width=50","followers_count":1659,"followings_count":429,"reading_time":182100,"recent_reading_time":16800}},{"user":{"id":16442,"username":"lamm","firstname":"David","lastname":"Lamm","fullname":"David
|
80
|
+
Lamm","country":"Sweden","city":"","created_at":"2012-06-12T20:46:38Z","website":"http://Meand.se","description":"","permalink_url":"https://readmill.com/lamm","books_interesting_count":2,"books_reading_count":8,"books_finished_count":5,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F68560118f557560044e8aa9ae3e00bf9501aec66-original.png&width=50","followers_count":11,"followings_count":20,"reading_time":561000,"recent_reading_time":600}},{"user":{"id":8158,"username":"kevinkeck","firstname":"Kevin","lastname":"Keck","fullname":"Kevin
|
81
|
+
Keck","country":"United States","city":"Denver","created_at":"2011-12-12T16:08:31Z","website":"http://www.thekeck.com","description":"Author
|
82
|
+
of the books Oedipus Wrecked and AYTG?IM.K.","permalink_url":"https://readmill.com/kevinkeck","books_interesting_count":0,"books_reading_count":1,"books_finished_count":1,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Ffd9e45bb109f5274356c7429848676ca166db600-original.png&width=50","followers_count":2,"followings_count":7,"reading_time":5400,"recent_reading_time":900}},{"user":{"id":70533,"username":"simusz","firstname":"Simusz","lastname":"Praycharach","fullname":"Simusz
|
83
|
+
Praycharach","country":"Germany","city":"Leipzig","created_at":"2013-04-05T10:34:48Z","website":"","description":"","permalink_url":"https://readmill.com/simusz","books_interesting_count":0,"books_reading_count":8,"books_finished_count":2,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F37430c89a8f3508c5fa3b300e71737e916008c4e-original.png&width=50","followers_count":2,"followings_count":18,"reading_time":59356,"recent_reading_time":0}}],"status":200}'
|
84
|
+
http_version:
|
85
|
+
recorded_at: Mon, 16 Dec 2013 16:44:07 GMT
|
86
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1/followers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:44:09 GMT
|
29
|
+
Etag:
|
30
|
+
- '"854c778ea49e2344aedf45cdc7420a19"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 7c50384a2b95f1f4038344efe4b7d594
|
39
|
+
X-Runtime:
|
40
|
+
- '1.364475'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '15031'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":"https://api.readmill.com/v2/users/1/followers?offset=0&order=created_at&to=2013-08-20+16%3A10%3A22+UTC&user_id=1"},"items":[{"user":{"id":888,"username":"micaelwidell","firstname":"Micael","lastname":"Widell","fullname":"Micael
|
50
|
+
Widell","country":"Sweden","city":"Stockholm","created_at":"2011-07-26T08:35:20Z","website":"http://micaelwidell.com","description":"Founder/CTO
|
51
|
+
at Fyndiq.se. I like reading (auto)biographies, books about popular science,
|
52
|
+
psychology, philosophy and entrepreneurship.","permalink_url":"https://readmill.com/micaelwidell","books_interesting_count":0,"books_reading_count":5,"books_finished_count":10,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fd53d1fe9aee4e10051715a3aa848f8965239a198-original.png&width=50","followers_count":29,"followings_count":77,"reading_time":127200,"recent_reading_time":3000}},{"user":{"id":27801,"username":"cnnr","firstname":"Connor","lastname":"Montgomery","fullname":"Connor
|
53
|
+
Montgomery","country":"USA","city":"San Francisco","created_at":"2012-10-25T22:38:33Z","website":"http://cnnr.me","description":"Builder
|
54
|
+
at @pinterest; also hack on @domainr. Previously: Apple, @LiftApp. I have
|
55
|
+
a thing for high-fives.","permalink_url":"https://readmill.com/cnnr","books_interesting_count":78,"books_reading_count":17,"books_finished_count":0,"books_abandoned_count":3,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F927c950dc76adfbc7df34f0ea157e7d3fdafa364-original.png&width=50","followers_count":16,"followings_count":81,"reading_time":9600,"recent_reading_time":600}},{"user":{"id":181452,"username":"brittybyte","firstname":"Brittany","lastname":"Stevens","fullname":"Brittany
|
56
|
+
Stevens","country":"USA","city":"New Orleans","created_at":"2013-11-16T23:49:57Z","website":"http://twitter.com/brittybyte","description":"I''m
|
57
|
+
a graduate student, innovator, and literary creative who likes herbal teas,
|
58
|
+
technologies, and zombie apocalypse escape plans.","permalink_url":"https://readmill.com/brittybyte","books_interesting_count":20,"books_reading_count":1,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9e38247380b42024f37ef083c03dbd334dedd7e2-original.png&width=50","followers_count":40,"followings_count":34,"reading_time":75300,"recent_reading_time":22500}},{"user":{"id":74485,"username":"theeditor","firstname":"The
|
59
|
+
Editor","lastname":"","fullname":"The Editor","country":"","city":"","created_at":"2013-04-17T09:37:24Z","website":"","description":"Featured
|
60
|
+
books and highlights from the Readmill community","permalink_url":"https://readmill.com/theeditor","books_interesting_count":0,"books_reading_count":0,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F91c947e4116ab643a3dbbe483f2ac3d376530778-original.png&width=50","followers_count":208263,"followings_count":47,"reading_time":0,"recent_reading_time":0}},{"user":{"id":165256,"username":"ran2sky","firstname":null,"lastname":null,"fullname":"ran2sky","country":null,"city":null,"created_at":"2013-11-02T17:42:49Z","website":null,"description":null,"permalink_url":"https://readmill.com/ran2sky","books_interesting_count":0,"books_reading_count":3,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":5,"reading_time":2778,"recent_reading_time":2601}},{"user":{"id":165364,"username":"samjohnstone","firstname":"Sam","lastname":"Johnstone","fullname":"Sam
|
61
|
+
Johnstone","country":"Canada","city":"Toronto","created_at":"2013-11-02T19:53:48Z","website":"http://www.johnstonepropaganda.com","description":"A
|
62
|
+
designer/illustrator living in Toronto","permalink_url":"https://readmill.com/samjohnstone","books_interesting_count":6,"books_reading_count":2,"books_finished_count":21,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9ec66f85b6fc217af21fce00fb37930092fa8a5c-original.png&width=50","followers_count":10,"followings_count":29,"reading_time":30825,"recent_reading_time":9094}},{"user":{"id":97334,"username":"ketilmo","firstname":"Ketil
|
63
|
+
Moland","lastname":"Olsen","fullname":"Ketil Moland Olsen","country":"Norway","city":"Bergen","created_at":"2013-06-19T20:20:58Z","website":"","description":"Senior
|
64
|
+
Product Manager (32) from Bergen, Norway, working in the Digital Media Space.
|
65
|
+
Enjoys paragliding and all things airy. Love books. Married to Alice, father
|
66
|
+
of Askil. ","permalink_url":"https://readmill.com/ketilmo","books_interesting_count":1,"books_reading_count":5,"books_finished_count":24,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F485a1d128bef7155bff0251554a6e1ce6abc164c-original.png&width=50","followers_count":12,"followings_count":26,"reading_time":160200,"recent_reading_time":20100}},{"user":{"id":1317,"username":"cdaven","firstname":"Christian","lastname":"Dav\u00e9n","fullname":"Christian
|
67
|
+
Dav\u00e9n","country":"Sweden","city":"V\u00e4ster\u00e5s","created_at":"2011-08-23T13:01:15Z","website":"","description":"\"You
|
68
|
+
can never get a cup of tea large enough or a book long enough to suit me.\"
|
69
|
+
C. S. Lewis","permalink_url":"https://readmill.com/cdaven","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fb3c71936e3efac42ddff9adf58bcead6d525a4b4-original.png&width=50","followers_count":11,"followings_count":12,"reading_time":33403,"recent_reading_time":11441}},{"user":{"id":57228,"username":"rebecca_pine8","firstname":null,"lastname":null,"fullname":"rebecca_pine8","country":null,"city":null,"created_at":"2013-03-02T05:26:00Z","website":null,"description":null,"permalink_url":"https://readmill.com/rebecca_pine8","books_interesting_count":1,"books_reading_count":6,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":5,"followings_count":45,"reading_time":600,"recent_reading_time":0}},{"user":{"id":30524,"username":"andyjpowell","firstname":"Andrew","lastname":"Powell","fullname":"Andrew
|
70
|
+
Powell","country":"Australia","city":"Melbourne","created_at":"2012-11-20T12:04:24Z","website":"http://twitter.com/andyjpowell","description":"Andrew,
|
71
|
+
29, Melbourne. Love travel, running (http://twitter.com/100000metresOMG),
|
72
|
+
film, reading, camping.","permalink_url":"https://readmill.com/andyjpowell","books_interesting_count":10,"books_reading_count":1,"books_finished_count":11,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Faf420bdf083e73f04328c1bcde0bd835e3af02e6-original.png&width=50","followers_count":3,"followings_count":4,"reading_time":319466,"recent_reading_time":8129}},{"user":{"id":177262,"username":"r2romix","firstname":null,"lastname":null,"fullname":"r2romix","country":null,"city":null,"created_at":"2013-11-13T10:05:09Z","website":null,"description":null,"permalink_url":"https://readmill.com/r2romix","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":2,"reading_time":590,"recent_reading_time":0}},{"user":{"id":22812,"username":"deerajks","firstname":null,"lastname":null,"fullname":"deerajks","country":null,"city":null,"created_at":"2012-08-30T16:36:50Z","website":null,"description":null,"permalink_url":"https://readmill.com/deerajks","books_interesting_count":13,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":15,"reading_time":0,"recent_reading_time":0}},{"user":{"id":4789,"username":"dirklectisch","firstname":"Dirk","lastname":"Geurs","fullname":"Dirk
|
73
|
+
Geurs","country":"Netherlands","city":"Amsterdam","created_at":"2011-10-02T14:28:30Z","website":"","description":"Software
|
74
|
+
Composer. Reporting on society, technology and collaboration from the post-industrial
|
75
|
+
age.","permalink_url":"https://readmill.com/dirklectisch","books_interesting_count":40,"books_reading_count":9,"books_finished_count":12,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fafd1aad947ef832688f082d07b13562e5ffc2908-original.png&width=50","followers_count":30,"followings_count":37,"reading_time":418263,"recent_reading_time":5400}},{"user":{"id":149862,"username":"ed57ve1","firstname":null,"lastname":null,"fullname":"ed57ve1","country":null,"city":null,"created_at":"2013-10-17T15:27:34Z","website":null,"description":null,"permalink_url":"https://readmill.com/ed57ve1","books_interesting_count":0,"books_reading_count":1,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":0,"followings_count":3,"reading_time":7646,"recent_reading_time":0}},{"user":{"id":610,"username":"eriklindebratt","firstname":"Erik","lastname":"Lindebratt","fullname":"Erik
|
76
|
+
Lindebratt","country":"","city":"","created_at":"2011-06-27T19:14:28Z","website":"","description":"","permalink_url":"https://readmill.com/eriklindebratt","books_interesting_count":5,"books_reading_count":6,"books_finished_count":10,"books_abandoned_count":4,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F92a79715de772e17cb05e9a4951498872f0b40c4-original.png&width=50","followers_count":29,"followings_count":48,"reading_time":88500,"recent_reading_time":5400}},{"user":{"id":5324,"username":"jbenjaminsson","firstname":"Johan","lastname":"Benjaminsson","fullname":"Johan
|
77
|
+
Benjaminsson","country":null,"city":null,"created_at":"2011-10-13T11:21:59Z","website":null,"description":null,"permalink_url":"https://readmill.com/jbenjaminsson","books_interesting_count":2,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f4b28e588de6b37e5a2a85ed58eb5a2d88a9dd0-original.png&width=50","followers_count":1,"followings_count":2,"reading_time":300,"recent_reading_time":0}},{"user":{"id":29767,"username":"lmsanchez","firstname":"Lisa","lastname":"Sanchez","fullname":"Lisa
|
78
|
+
Sanchez","country":"","city":"Berlin","created_at":"2012-11-13T01:59:57Z","website":"http://lisasanchez.me","description":"Community
|
79
|
+
manager at Readmill. Wondering what you''ve read and loved lately. lisa@readmill.com","permalink_url":"https://readmill.com/lmsanchez","books_interesting_count":37,"books_reading_count":32,"books_finished_count":16,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f3369f80337c150f60909833fb35926d1eddcf2-original.png&width=50","followers_count":1659,"followings_count":429,"reading_time":182100,"recent_reading_time":16800}},{"user":{"id":16442,"username":"lamm","firstname":"David","lastname":"Lamm","fullname":"David
|
80
|
+
Lamm","country":"Sweden","city":"","created_at":"2012-06-12T20:46:38Z","website":"http://Meand.se","description":"","permalink_url":"https://readmill.com/lamm","books_interesting_count":2,"books_reading_count":8,"books_finished_count":5,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F68560118f557560044e8aa9ae3e00bf9501aec66-original.png&width=50","followers_count":11,"followings_count":20,"reading_time":561000,"recent_reading_time":600}},{"user":{"id":8158,"username":"kevinkeck","firstname":"Kevin","lastname":"Keck","fullname":"Kevin
|
81
|
+
Keck","country":"United States","city":"Denver","created_at":"2011-12-12T16:08:31Z","website":"http://www.thekeck.com","description":"Author
|
82
|
+
of the books Oedipus Wrecked and AYTG?IM.K.","permalink_url":"https://readmill.com/kevinkeck","books_interesting_count":0,"books_reading_count":1,"books_finished_count":1,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Ffd9e45bb109f5274356c7429848676ca166db600-original.png&width=50","followers_count":2,"followings_count":7,"reading_time":5400,"recent_reading_time":900}},{"user":{"id":70533,"username":"simusz","firstname":"Simusz","lastname":"Praycharach","fullname":"Simusz
|
83
|
+
Praycharach","country":"Germany","city":"Leipzig","created_at":"2013-04-05T10:34:48Z","website":"","description":"","permalink_url":"https://readmill.com/simusz","books_interesting_count":0,"books_reading_count":8,"books_finished_count":2,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F37430c89a8f3508c5fa3b300e71737e916008c4e-original.png&width=50","followers_count":2,"followings_count":18,"reading_time":59356,"recent_reading_time":0}}],"status":200}'
|
84
|
+
http_version:
|
85
|
+
recorded_at: Mon, 16 Dec 2013 16:44:09 GMT
|
86
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1/followings
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:44:11 GMT
|
29
|
+
Etag:
|
30
|
+
- '"c4e40a99ea8585030bff9fc02a650abb"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 08331a72fe860a8aed2225bfe847621e
|
39
|
+
X-Runtime:
|
40
|
+
- '1.130810'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '14486'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":"https://api.readmill.com/v2/users/1/followings?offset=0&order=created_at&to=2013-04-19+00%3A07%3A52+UTC&user_id=1"},"items":[{"user":{"id":165364,"username":"samjohnstone","firstname":"Sam","lastname":"Johnstone","fullname":"Sam
|
50
|
+
Johnstone","country":"Canada","city":"Toronto","created_at":"2013-11-02T19:53:48Z","website":"http://www.johnstonepropaganda.com","description":"A
|
51
|
+
designer/illustrator living in Toronto","permalink_url":"https://readmill.com/samjohnstone","books_interesting_count":6,"books_reading_count":2,"books_finished_count":21,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9ec66f85b6fc217af21fce00fb37930092fa8a5c-original.png&width=50","followers_count":10,"followings_count":29,"reading_time":30825,"recent_reading_time":9094}},{"user":{"id":86845,"username":"josevalim","firstname":"Jos\u00e9","lastname":"Valim","fullname":"Jos\u00e9
|
52
|
+
Valim","country":"Poland","city":"Krak\u00f3w","created_at":"2013-05-23T08:53:27Z","website":"","description":"","permalink_url":"https://readmill.com/josevalim","books_interesting_count":0,"books_reading_count":0,"books_finished_count":1,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Ffe7027d8091543c3eea1a032ebdfdce3ddde5056-original.png&width=50","followers_count":9,"followings_count":1,"reading_time":5700,"recent_reading_time":0}},{"user":{"id":22812,"username":"deerajks","firstname":null,"lastname":null,"fullname":"deerajks","country":null,"city":null,"created_at":"2012-08-30T16:36:50Z","website":null,"description":null,"permalink_url":"https://readmill.com/deerajks","books_interesting_count":13,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":15,"reading_time":0,"recent_reading_time":0}},{"user":{"id":610,"username":"eriklindebratt","firstname":"Erik","lastname":"Lindebratt","fullname":"Erik
|
53
|
+
Lindebratt","country":"","city":"","created_at":"2011-06-27T19:14:28Z","website":"","description":"","permalink_url":"https://readmill.com/eriklindebratt","books_interesting_count":5,"books_reading_count":6,"books_finished_count":10,"books_abandoned_count":4,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F92a79715de772e17cb05e9a4951498872f0b40c4-original.png&width=50","followers_count":29,"followings_count":48,"reading_time":88500,"recent_reading_time":5400}},{"user":{"id":2735,"username":"heiko","firstname":"Heiko","lastname":"Hebig","fullname":"Heiko
|
54
|
+
Hebig","country":"Germany","city":"","created_at":"2011-09-07T14:40:52Z","website":"http://www.hebig.com","description":"heading
|
55
|
+
up r&d at hubert burda media.","permalink_url":"https://readmill.com/heiko","books_interesting_count":0,"books_reading_count":0,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fb4363b3f8c5f19d33d35e1017cae8e75516baca3-original.png&width=50","followers_count":94,"followings_count":28,"reading_time":0,"recent_reading_time":0}},{"user":{"id":5324,"username":"jbenjaminsson","firstname":"Johan","lastname":"Benjaminsson","fullname":"Johan
|
56
|
+
Benjaminsson","country":null,"city":null,"created_at":"2011-10-13T11:21:59Z","website":null,"description":null,"permalink_url":"https://readmill.com/jbenjaminsson","books_interesting_count":2,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f4b28e588de6b37e5a2a85ed58eb5a2d88a9dd0-original.png&width=50","followers_count":1,"followings_count":2,"reading_time":300,"recent_reading_time":0}},{"user":{"id":29767,"username":"lmsanchez","firstname":"Lisa","lastname":"Sanchez","fullname":"Lisa
|
57
|
+
Sanchez","country":"","city":"Berlin","created_at":"2012-11-13T01:59:57Z","website":"http://lisasanchez.me","description":"Community
|
58
|
+
manager at Readmill. Wondering what you''ve read and loved lately. lisa@readmill.com","permalink_url":"https://readmill.com/lmsanchez","books_interesting_count":37,"books_reading_count":32,"books_finished_count":16,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f3369f80337c150f60909833fb35926d1eddcf2-original.png&width=50","followers_count":1659,"followings_count":429,"reading_time":182100,"recent_reading_time":16800}},{"user":{"id":16442,"username":"lamm","firstname":"David","lastname":"Lamm","fullname":"David
|
59
|
+
Lamm","country":"Sweden","city":"","created_at":"2012-06-12T20:46:38Z","website":"http://Meand.se","description":"","permalink_url":"https://readmill.com/lamm","books_interesting_count":2,"books_reading_count":8,"books_finished_count":5,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F68560118f557560044e8aa9ae3e00bf9501aec66-original.png&width=50","followers_count":11,"followings_count":20,"reading_time":561000,"recent_reading_time":600}},{"user":{"id":19204,"username":"NSMutablePerson","firstname":"NSMutablePerson","lastname":null,"fullname":"NSMutablePerson","country":null,"city":null,"created_at":"2012-07-13T13:41:47Z","website":null,"description":"Passionate
|
60
|
+
iOS software developer / designer.\r\n\r\nInterested in software, music, design,
|
61
|
+
and usability.","permalink_url":"https://readmill.com/NSMutablePerson","books_interesting_count":1,"books_reading_count":14,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F36004bf555f72f2d9b9ad0834186a93299390180-original.png&width=50","followers_count":3,"followings_count":1,"reading_time":9900,"recent_reading_time":0}},{"user":{"id":89336,"username":"novake2","firstname":"Emily","lastname":"Novak","fullname":"Emily
|
62
|
+
Novak","country":null,"city":"Denver","created_at":"2013-05-29T22:58:18Z","website":null,"description":null,"permalink_url":"https://readmill.com/novake2","books_interesting_count":0,"books_reading_count":5,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F704bba6df6486ab4943103047baa2635a9c5a26d-original.png&width=50","followers_count":4,"followings_count":6,"reading_time":57900,"recent_reading_time":4500}},{"user":{"id":82,"username":"mptre","firstname":"Anton","lastname":"Stringsteen","fullname":"Anton
|
63
|
+
Stringsteen","country":"","city":"","created_at":"2011-02-25T15:25:12Z","website":"http://qvister.se","description":"Webdeveloper,
|
64
|
+
interested in code, webstandards, music, biking (singlespeed/fixie).","permalink_url":"https://readmill.com/mptre","books_interesting_count":15,"books_reading_count":4,"books_finished_count":14,"books_abandoned_count":2,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fe92d4e7bac3c15a3f68fa0de84398a90582a111d-original.png&width=50","followers_count":74,"followings_count":67,"reading_time":68100,"recent_reading_time":0}},{"user":{"id":1102,"username":"smgt","firstname":"Simon","lastname":"Gate","fullname":"Simon
|
65
|
+
Gate","country":"Sweden","city":"L\u00e4dja","created_at":"2011-08-12T18:33:01Z","website":"http://smgt.me","description":"Coder,
|
66
|
+
velo enthusiast, tobacco cultivator and book lover. Reading all the classics.","permalink_url":"https://readmill.com/smgt","books_interesting_count":9,"books_reading_count":5,"books_finished_count":19,"books_abandoned_count":3,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fe728b3f5a249c23326982bc0362f02318fb05914-original.png&width=50","followers_count":36,"followings_count":29,"reading_time":372300,"recent_reading_time":0}},{"user":{"id":20976,"username":"gustavengstrom","firstname":"Gustav","lastname":"Engstr\u00f6m","fullname":"Gustav
|
67
|
+
Engstr\u00f6m","country":"Sweden","city":"Stockholm","created_at":"2012-08-06T07:24:51Z","website":"","description":"","permalink_url":"https://readmill.com/gustavengstrom","books_interesting_count":6,"books_reading_count":6,"books_finished_count":2,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F953d899d6fc04a6b0a111f614e0c787c6d1a6831-original.png&width=50","followers_count":17,"followings_count":21,"reading_time":84505,"recent_reading_time":0}},{"user":{"id":7082,"username":"therese_sivertsson","firstname":"Therese","lastname":"Sivertsson","fullname":"Therese
|
68
|
+
Sivertsson","country":"","city":"","created_at":"2011-12-02T14:26:19Z","website":"","description":"","permalink_url":"https://readmill.com/therese_sivertsson","books_interesting_count":15,"books_reading_count":1,"books_finished_count":8,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F2fc71321f31536412c1464785c3d4b55eaf18bf3-original.png&width=50","followers_count":33,"followings_count":41,"reading_time":121200,"recent_reading_time":2400}},{"user":{"id":61496,"username":"jeffchan","firstname":"Jeff","lastname":"Chan","fullname":"Jeff
|
69
|
+
Chan","country":"","city":"Boston","created_at":"2013-03-07T18:57:06Z","website":"","description":"MIT
|
70
|
+
student exploring the wonders of technology","permalink_url":"https://readmill.com/jeffchan","books_interesting_count":30,"books_reading_count":6,"books_finished_count":13,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6b6b65d1801aa5e4d62f416e4621ba54adaa0ad7-original.png&width=50","followers_count":20,"followings_count":27,"reading_time":80100,"recent_reading_time":0}},{"user":{"id":83882,"username":"janja1","firstname":null,"lastname":null,"fullname":"janja1","country":null,"city":null,"created_at":"2013-05-15T10:43:23Z","website":null,"description":null,"permalink_url":"https://readmill.com/janja1","books_interesting_count":0,"books_reading_count":5,"books_finished_count":4,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":1,"reading_time":194361,"recent_reading_time":0}},{"user":{"id":777,"username":"mrgnrdrck","firstname":"Morgan","lastname":"Roderick","fullname":"Morgan
|
71
|
+
Roderick","country":"Germany","city":"Berlin","created_at":"2011-07-12T12:00:08Z","website":"http://roderick.dk","description":"Freelance
|
72
|
+
frontend web developer","permalink_url":"https://readmill.com/mrgnrdrck","books_interesting_count":10,"books_reading_count":11,"books_finished_count":5,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F96b617cef0b3b3a9b200142cd6e967f298721fcc-original.png&width=50","followers_count":23,"followings_count":31,"reading_time":46800,"recent_reading_time":0}},{"user":{"id":909,"username":"aronwoost","firstname":"Aron","lastname":"Woost","fullname":"Aron
|
73
|
+
Woost","country":null,"city":null,"created_at":"2011-07-28T20:06:10Z","website":"http://apdevblog.com/","description":"Interactive
|
74
|
+
Media Developer (AS, JS, iOS). I do freelance jobs and work on @nimbi and
|
75
|
+
@flashfilter","permalink_url":"https://readmill.com/aronwoost","books_interesting_count":0,"books_reading_count":2,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F5830e7b611e7b90a8de9e13aad9a66bd7b277f8e-original.png&width=50","followers_count":18,"followings_count":13,"reading_time":0,"recent_reading_time":0}},{"user":{"id":65887,"username":"soolmaz9","firstname":"Soolmaz","lastname":"Shahrivar","fullname":"Soolmaz
|
76
|
+
Shahrivar","country":null,"city":null,"created_at":"2013-03-20T22:24:06Z","website":null,"description":null,"permalink_url":"https://readmill.com/soolmaz9","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F5f09a8dd6049b58117dc9407150e370cda8dd773-original.png&width=50","followers_count":1,"followings_count":1,"reading_time":0,"recent_reading_time":0}},{"user":{"id":64524,"username":"josefink","firstname":"Josefin","lastname":"Karlsson","fullname":"Josefin
|
77
|
+
Karlsson","country":null,"city":null,"created_at":"2013-03-16T13:44:39Z","website":null,"description":null,"permalink_url":"https://readmill.com/josefink","books_interesting_count":1,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F7723d40c4ead22c2a61130cdce80040cef0f7eff-original.png&width=50","followers_count":4,"followings_count":5,"reading_time":286500,"recent_reading_time":900}}],"status":200}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 16 Dec 2013 16:44:11 GMT
|
80
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/users/1/followings
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Authorization:
|
13
|
+
- Client READMILL_CLIENT_ID
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- must-revalidate, private, max-age=0
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Mon, 16 Dec 2013 16:44:13 GMT
|
29
|
+
Etag:
|
30
|
+
- '"c4e40a99ea8585030bff9fc02a650abb"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- a94662d5861755cda295eb34ac3bb0d0
|
39
|
+
X-Runtime:
|
40
|
+
- '0.732085'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '14486'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":"https://api.readmill.com/v2/users/1/followings?offset=0&order=created_at&to=2013-04-19+00%3A07%3A52+UTC&user_id=1"},"items":[{"user":{"id":165364,"username":"samjohnstone","firstname":"Sam","lastname":"Johnstone","fullname":"Sam
|
50
|
+
Johnstone","country":"Canada","city":"Toronto","created_at":"2013-11-02T19:53:48Z","website":"http://www.johnstonepropaganda.com","description":"A
|
51
|
+
designer/illustrator living in Toronto","permalink_url":"https://readmill.com/samjohnstone","books_interesting_count":6,"books_reading_count":2,"books_finished_count":21,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F9ec66f85b6fc217af21fce00fb37930092fa8a5c-original.png&width=50","followers_count":10,"followings_count":29,"reading_time":30825,"recent_reading_time":9094}},{"user":{"id":86845,"username":"josevalim","firstname":"Jos\u00e9","lastname":"Valim","fullname":"Jos\u00e9
|
52
|
+
Valim","country":"Poland","city":"Krak\u00f3w","created_at":"2013-05-23T08:53:27Z","website":"","description":"","permalink_url":"https://readmill.com/josevalim","books_interesting_count":0,"books_reading_count":0,"books_finished_count":1,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Ffe7027d8091543c3eea1a032ebdfdce3ddde5056-original.png&width=50","followers_count":9,"followings_count":1,"reading_time":5700,"recent_reading_time":0}},{"user":{"id":22812,"username":"deerajks","firstname":null,"lastname":null,"fullname":"deerajks","country":null,"city":null,"created_at":"2012-08-30T16:36:50Z","website":null,"description":null,"permalink_url":"https://readmill.com/deerajks","books_interesting_count":13,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":15,"reading_time":0,"recent_reading_time":0}},{"user":{"id":610,"username":"eriklindebratt","firstname":"Erik","lastname":"Lindebratt","fullname":"Erik
|
53
|
+
Lindebratt","country":"","city":"","created_at":"2011-06-27T19:14:28Z","website":"","description":"","permalink_url":"https://readmill.com/eriklindebratt","books_interesting_count":5,"books_reading_count":6,"books_finished_count":10,"books_abandoned_count":4,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F92a79715de772e17cb05e9a4951498872f0b40c4-original.png&width=50","followers_count":29,"followings_count":48,"reading_time":88500,"recent_reading_time":5400}},{"user":{"id":2735,"username":"heiko","firstname":"Heiko","lastname":"Hebig","fullname":"Heiko
|
54
|
+
Hebig","country":"Germany","city":"","created_at":"2011-09-07T14:40:52Z","website":"http://www.hebig.com","description":"heading
|
55
|
+
up r&d at hubert burda media.","permalink_url":"https://readmill.com/heiko","books_interesting_count":0,"books_reading_count":0,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fb4363b3f8c5f19d33d35e1017cae8e75516baca3-original.png&width=50","followers_count":94,"followings_count":28,"reading_time":0,"recent_reading_time":0}},{"user":{"id":5324,"username":"jbenjaminsson","firstname":"Johan","lastname":"Benjaminsson","fullname":"Johan
|
56
|
+
Benjaminsson","country":null,"city":null,"created_at":"2011-10-13T11:21:59Z","website":null,"description":null,"permalink_url":"https://readmill.com/jbenjaminsson","books_interesting_count":2,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f4b28e588de6b37e5a2a85ed58eb5a2d88a9dd0-original.png&width=50","followers_count":1,"followings_count":2,"reading_time":300,"recent_reading_time":0}},{"user":{"id":29767,"username":"lmsanchez","firstname":"Lisa","lastname":"Sanchez","fullname":"Lisa
|
57
|
+
Sanchez","country":"","city":"Berlin","created_at":"2012-11-13T01:59:57Z","website":"http://lisasanchez.me","description":"Community
|
58
|
+
manager at Readmill. Wondering what you''ve read and loved lately. lisa@readmill.com","permalink_url":"https://readmill.com/lmsanchez","books_interesting_count":37,"books_reading_count":32,"books_finished_count":16,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6f3369f80337c150f60909833fb35926d1eddcf2-original.png&width=50","followers_count":1659,"followings_count":429,"reading_time":182100,"recent_reading_time":16800}},{"user":{"id":16442,"username":"lamm","firstname":"David","lastname":"Lamm","fullname":"David
|
59
|
+
Lamm","country":"Sweden","city":"","created_at":"2012-06-12T20:46:38Z","website":"http://Meand.se","description":"","permalink_url":"https://readmill.com/lamm","books_interesting_count":2,"books_reading_count":8,"books_finished_count":5,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F68560118f557560044e8aa9ae3e00bf9501aec66-original.png&width=50","followers_count":11,"followings_count":20,"reading_time":561000,"recent_reading_time":600}},{"user":{"id":19204,"username":"NSMutablePerson","firstname":"NSMutablePerson","lastname":null,"fullname":"NSMutablePerson","country":null,"city":null,"created_at":"2012-07-13T13:41:47Z","website":null,"description":"Passionate
|
60
|
+
iOS software developer / designer.\r\n\r\nInterested in software, music, design,
|
61
|
+
and usability.","permalink_url":"https://readmill.com/NSMutablePerson","books_interesting_count":1,"books_reading_count":14,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F36004bf555f72f2d9b9ad0834186a93299390180-original.png&width=50","followers_count":3,"followings_count":1,"reading_time":9900,"recent_reading_time":0}},{"user":{"id":89336,"username":"novake2","firstname":"Emily","lastname":"Novak","fullname":"Emily
|
62
|
+
Novak","country":null,"city":"Denver","created_at":"2013-05-29T22:58:18Z","website":null,"description":null,"permalink_url":"https://readmill.com/novake2","books_interesting_count":0,"books_reading_count":5,"books_finished_count":3,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F704bba6df6486ab4943103047baa2635a9c5a26d-original.png&width=50","followers_count":4,"followings_count":6,"reading_time":57900,"recent_reading_time":4500}},{"user":{"id":82,"username":"mptre","firstname":"Anton","lastname":"Stringsteen","fullname":"Anton
|
63
|
+
Stringsteen","country":"","city":"","created_at":"2011-02-25T15:25:12Z","website":"http://qvister.se","description":"Webdeveloper,
|
64
|
+
interested in code, webstandards, music, biking (singlespeed/fixie).","permalink_url":"https://readmill.com/mptre","books_interesting_count":15,"books_reading_count":4,"books_finished_count":14,"books_abandoned_count":2,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fe92d4e7bac3c15a3f68fa0de84398a90582a111d-original.png&width=50","followers_count":74,"followings_count":67,"reading_time":68100,"recent_reading_time":0}},{"user":{"id":1102,"username":"smgt","firstname":"Simon","lastname":"Gate","fullname":"Simon
|
65
|
+
Gate","country":"Sweden","city":"L\u00e4dja","created_at":"2011-08-12T18:33:01Z","website":"http://smgt.me","description":"Coder,
|
66
|
+
velo enthusiast, tobacco cultivator and book lover. Reading all the classics.","permalink_url":"https://readmill.com/smgt","books_interesting_count":9,"books_reading_count":5,"books_finished_count":19,"books_abandoned_count":3,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252Fe728b3f5a249c23326982bc0362f02318fb05914-original.png&width=50","followers_count":36,"followings_count":29,"reading_time":372300,"recent_reading_time":0}},{"user":{"id":20976,"username":"gustavengstrom","firstname":"Gustav","lastname":"Engstr\u00f6m","fullname":"Gustav
|
67
|
+
Engstr\u00f6m","country":"Sweden","city":"Stockholm","created_at":"2012-08-06T07:24:51Z","website":"","description":"","permalink_url":"https://readmill.com/gustavengstrom","books_interesting_count":6,"books_reading_count":6,"books_finished_count":2,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F953d899d6fc04a6b0a111f614e0c787c6d1a6831-original.png&width=50","followers_count":17,"followings_count":21,"reading_time":84505,"recent_reading_time":0}},{"user":{"id":7082,"username":"therese_sivertsson","firstname":"Therese","lastname":"Sivertsson","fullname":"Therese
|
68
|
+
Sivertsson","country":"","city":"","created_at":"2011-12-02T14:26:19Z","website":"","description":"","permalink_url":"https://readmill.com/therese_sivertsson","books_interesting_count":15,"books_reading_count":1,"books_finished_count":8,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F2fc71321f31536412c1464785c3d4b55eaf18bf3-original.png&width=50","followers_count":33,"followings_count":41,"reading_time":121200,"recent_reading_time":2400}},{"user":{"id":61496,"username":"jeffchan","firstname":"Jeff","lastname":"Chan","fullname":"Jeff
|
69
|
+
Chan","country":"","city":"Boston","created_at":"2013-03-07T18:57:06Z","website":"","description":"MIT
|
70
|
+
student exploring the wonders of technology","permalink_url":"https://readmill.com/jeffchan","books_interesting_count":30,"books_reading_count":6,"books_finished_count":13,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F6b6b65d1801aa5e4d62f416e4621ba54adaa0ad7-original.png&width=50","followers_count":20,"followings_count":27,"reading_time":80100,"recent_reading_time":0}},{"user":{"id":83882,"username":"janja1","firstname":null,"lastname":null,"fullname":"janja1","country":null,"city":null,"created_at":"2013-05-15T10:43:23Z","website":null,"description":null,"permalink_url":"https://readmill.com/janja1","books_interesting_count":0,"books_reading_count":5,"books_finished_count":4,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Fd15fum6h02z48v.cloudfront.net%252Fassets%252Fdefault-avatar-original-b0c7339fbb5969b50914c1a731503733.png&width=50","followers_count":1,"followings_count":1,"reading_time":194361,"recent_reading_time":0}},{"user":{"id":777,"username":"mrgnrdrck","firstname":"Morgan","lastname":"Roderick","fullname":"Morgan
|
71
|
+
Roderick","country":"Germany","city":"Berlin","created_at":"2011-07-12T12:00:08Z","website":"http://roderick.dk","description":"Freelance
|
72
|
+
frontend web developer","permalink_url":"https://readmill.com/mrgnrdrck","books_interesting_count":10,"books_reading_count":11,"books_finished_count":5,"books_abandoned_count":1,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F96b617cef0b3b3a9b200142cd6e967f298721fcc-original.png&width=50","followers_count":23,"followings_count":31,"reading_time":46800,"recent_reading_time":0}},{"user":{"id":909,"username":"aronwoost","firstname":"Aron","lastname":"Woost","fullname":"Aron
|
73
|
+
Woost","country":null,"city":null,"created_at":"2011-07-28T20:06:10Z","website":"http://apdevblog.com/","description":"Interactive
|
74
|
+
Media Developer (AS, JS, iOS). I do freelance jobs and work on @nimbi and
|
75
|
+
@flashfilter","permalink_url":"https://readmill.com/aronwoost","books_interesting_count":0,"books_reading_count":2,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F5830e7b611e7b90a8de9e13aad9a66bd7b277f8e-original.png&width=50","followers_count":18,"followings_count":13,"reading_time":0,"recent_reading_time":0}},{"user":{"id":65887,"username":"soolmaz9","firstname":"Soolmaz","lastname":"Shahrivar","fullname":"Soolmaz
|
76
|
+
Shahrivar","country":null,"city":null,"created_at":"2013-03-20T22:24:06Z","website":null,"description":null,"permalink_url":"https://readmill.com/soolmaz9","books_interesting_count":0,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F5f09a8dd6049b58117dc9407150e370cda8dd773-original.png&width=50","followers_count":1,"followings_count":1,"reading_time":0,"recent_reading_time":0}},{"user":{"id":64524,"username":"josefink","firstname":"Josefin","lastname":"Karlsson","fullname":"Josefin
|
77
|
+
Karlsson","country":null,"city":null,"created_at":"2013-03-16T13:44:39Z","website":null,"description":null,"permalink_url":"https://readmill.com/josefink","books_interesting_count":1,"books_reading_count":1,"books_finished_count":0,"books_abandoned_count":0,"avatar_url":"https://d26cmntuippvfl.cloudfront.net/?action=crop&format=png&height=50&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Favatars%252F7723d40c4ead22c2a61130cdce80040cef0f7eff-original.png&width=50","followers_count":4,"followings_count":5,"reading_time":286500,"recent_reading_time":900}}],"status":200}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 16 Dec 2013 16:44:13 GMT
|
80
|
+
recorded_with: VCR 2.8.0
|
@@ -4,27 +4,66 @@ describe Readmill::Client::Books do
|
|
4
4
|
let (:client) { Readmill::Client.new }
|
5
5
|
|
6
6
|
describe '.books' do
|
7
|
-
let
|
7
|
+
let (:results) { client.books }
|
8
8
|
|
9
9
|
it 'should request all books from readmill' do
|
10
|
+
results
|
10
11
|
assert_requested :get, readmill_url('books')
|
11
12
|
end
|
12
13
|
|
13
14
|
it 'should return an array of books' do
|
14
|
-
expect(
|
15
|
-
expect(
|
15
|
+
expect(results).to be_a(Array)
|
16
|
+
expect(results.first).to respond_to(:book)
|
16
17
|
end
|
17
18
|
end
|
18
19
|
|
19
20
|
describe '.book' do
|
20
|
-
let
|
21
|
+
let (:results) { client.book(1) }
|
21
22
|
|
22
23
|
it 'should request a book from readmill' do
|
24
|
+
results
|
23
25
|
assert_requested :get, readmill_url('books/1')
|
24
26
|
end
|
25
27
|
|
26
28
|
it 'should return a book' do
|
27
|
-
expect(
|
29
|
+
expect(results).to respond_to(:book)
|
30
|
+
end
|
31
|
+
|
32
|
+
context 'with closing_remarks true' do
|
33
|
+
let (:results) { client.book(1, closing_remarks: true) }
|
34
|
+
|
35
|
+
it 'should request readers for a book from readmill' do
|
36
|
+
results
|
37
|
+
assert_requested :get, readmill_url('books/1/closing_remarks')
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'should return an array of users' do
|
41
|
+
expect(results).to be_a(Array)
|
42
|
+
expect(results.first).to respond_to(:closing_remark)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
context 'with readers true' do
|
47
|
+
let (:results) { client.book(1, readers: true) }
|
48
|
+
|
49
|
+
it 'should request readers for a book from readmill' do
|
50
|
+
results
|
51
|
+
assert_requested :get, readmill_url('books/1/readers')
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'should return an array of users' do
|
55
|
+
expect(results).to be_a(Array)
|
56
|
+
expect(results.first).to respond_to(:user)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'with closing_remarks true and readers true' do
|
61
|
+
let (:results) { client.book(1, closing_remarks: true, readers: true) }
|
62
|
+
it 'should raise an argument error' do
|
63
|
+
expect { results }.to(
|
64
|
+
raise_error(ArgumentError, /closing_remarks or readers, but not both/)
|
65
|
+
)
|
66
|
+
end
|
28
67
|
end
|
29
68
|
end
|
30
69
|
|