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/readings/443173
|
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 04:20:12 GMT
|
29
|
+
Etag:
|
30
|
+
- '"4e89d2bd103ab0507d502f33a339ddb0"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- af7f42e1ded403b7f77d84d5da2d8c69
|
39
|
+
X-Runtime:
|
40
|
+
- '0.070162'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '1385'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"reading":{"id":443173,"state":"reading","private":false,"recommended":false,"closing_remark":null,"created_at":"2013-12-16T04:07:43Z","started_at":"2013-12-16T04:07:43Z","touched_at":"2013-12-16T04:12:43Z","ended_at":null,"duration":300,"progress":0.0861162,"estimated_time_left":3033,"average_period_time":300,"book":{"id":269082,"title":"Kiss
|
50
|
+
of the Night","author":"Sylvia Day","permalink":"kiss-of-the-night-1","permalink_url":"https://readmill.com/books/kiss-of-the-night-1","cover_url":"https://d26cmntuippvfl.cloudfront.net/?action=shrink-w&format=png&origin=https%253A%252F%252Freadmill-assets.s3.amazonaws.com%252Fcovers%252F4d5deed826e6b739311670ad175ff7029e353b21-original.png&width=120","cover_metadata":{"original_width":476,"original_height":616}},"user":{"id":45146,"username":"peckjo","firstname":"Joanna","fullname":"Joanna
|
51
|
+
Peck","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":1,"permalink_url":"https://readmill.com/peckjo"},"permalink_url":"https://readmill.com/peckjo/reads/kiss-of-the-night-1","comments_count":0,"highlights_count":0,"position":0.0861162,"position_updated_at":"2013-12-16T04:12:56Z","entities":{"hashtags":[]}},"status":200}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 16 Dec 2013 04:20:12 GMT
|
54
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/234482/highlights
|
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 06:41:39 GMT
|
29
|
+
Etag:
|
30
|
+
- '"bd1264cd39ba8f4cb97ba41dc280ae46"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 16da7ab7e26ee4445c3258d11c8ba595
|
39
|
+
X-Runtime:
|
40
|
+
- '0.233516'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '12412'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"highlight":{"id":827472,"position":0.302225,"content":"ardour","highlighted_at":"2013-12-16T06:40:49Z","permalink":"stxcrw","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/stxcrw","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.302225,"mid":"ardour","post":"
|
50
|
+
of a first love; and he enjoy","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:1407)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:1413)"},"pre":"noble
|
51
|
+
design, at least in the "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827471,"position":0.299032,"content":"slovenly,","highlighted_at":"2013-12-16T06:39:56Z","permalink":"jr7hjq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/jr7hjq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2990324,"mid":"slovenly,","post":"
|
52
|
+
base, untrue, and empty liter","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:948)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:957)"},"pre":"ill
|
53
|
+
pardon me the epithets, a "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827470,"position":0.298949,"content":"epithets,","highlighted_at":"2013-12-16T06:39:06Z","permalink":"6y79mg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/6y79mg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2989489,"mid":"epithets,","post":"
|
54
|
+
a slovenly, base, untrue, and","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:936)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:945)"},"pre":"nce,
|
55
|
+
if he will pardon me the "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827460,"position":0.281018,"content":"hiatus,","highlighted_at":"2013-12-16T06:33:48Z","permalink":"xzkueq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/xzkueq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2810179,"mid":"hiatus,","post":"
|
56
|
+
and whole phrases not to be a","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/90/1:581)","end":"OPS/main0.xml#point(/1/4/2/2/4/90/1:588)"},"pre":"
|
57
|
+
relieved by the jaw-breaking "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827459,"position":0.280457,"content":"cacophony","highlighted_at":"2013-12-16T06:33:11Z","permalink":"0ghswa","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/0ghswa","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2804573,"mid":"cacophony","post":"
|
58
|
+
supreme, the rattle of incong","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/90/1:491)","end":"OPS/main0.xml#point(/1/4/2/2/4/90/1:500)"},"pre":"
|
59
|
+
There, indeed, you will find "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827069,"position":0.230842,"content":"usurp","highlighted_at":"2013-12-16T04:38:54Z","permalink":"7n6vca","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/7n6vca","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.230842,"mid":"usurp","post":"
|
60
|
+
the ear. It becomes, therefo","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/58/1:369)","end":"OPS/main0.xml#point(/1/4/2/2/4/58/1:374)"},"pre":"stand
|
61
|
+
more boldly forward and "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":826679,"position":0.186148,"content":"scansion,","highlighted_at":"2013-12-16T02:43:48Z","permalink":"ahkc_w","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/ahkc_w","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1861481,"mid":"scansion,","post":"
|
62
|
+
we see the laws of prosody to","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:470)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:479)"},"pre":"d
|
63
|
+
the degree of regularity in "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":821382,"position":0.132446,"content":"all
|
64
|
+
that we have a right to ask of any prosody is, that it shall lay down a pattern
|
65
|
+
for the writer,","highlighted_at":"2013-12-15T02:32:44Z","permalink":"5grveg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/5grveg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1324456,"mid":"all
|
66
|
+
that we have a right to ask of any prosody is, that it shall lay down a pattern
|
67
|
+
for the writer,","post":" and that what it lays down sh","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/22/1:897)","end":"OPS/main0.xml#point(/1/4/2/2/4/22/1:996)"},"pre":"
|
68
|
+
may have no inherent beauty; "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":821359,"position":0.12167,"content":"The
|
69
|
+
web, then, or the pattern: a web at once sensuous and logical, an elegant
|
70
|
+
and pregnant texture: that is style, that is the foundation of the art of
|
71
|
+
literature.","highlighted_at":"2013-12-15T02:27:09Z","permalink":"sufazq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/sufazq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1216703,"mid":"The
|
72
|
+
web, then, or the pattern: a web at once sensuous and logical, an elegant
|
73
|
+
and pregnant texture: that is style, that is the foundation of the art of
|
74
|
+
literature.","post":" Books indeed continue to be ","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/19:1)","end":"OPS/main0.xml#point(/1/4/2/2/4/20/1:163)"},"pre":"perspicuously
|
75
|
+
bound into one. "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":787896,"position":0.0905886,"content":"it
|
76
|
+
may be said with sufficient justice that the motive and end of any art whatever
|
77
|
+
is to make a pattern; a pattern, it may be, of colours, of sounds, of changing
|
78
|
+
attitudes, geometrical figures, or imitative lines; but still a pattern.","highlighted_at":"2013-12-08T03:17:35Z","permalink":"asl-vw","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/asl-vw","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.09058861,"mid":"it
|
79
|
+
may be said with sufficient justice that the motive and end of any art whatever
|
80
|
+
is to make a pattern; a pattern, it may be, of colours, of sounds, of changing
|
81
|
+
attitudes, geometrical figures, or imitative lines; but still a pattern.","post":"
|
82
|
+
That is the plane on which t","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/12/2:551)","end":"OPS/main0.xml#point(/1/4/2/2/4/12/2:785)"},"pre":"mmon
|
83
|
+
ground of existence, and "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":623828,"position":0.186329,"content":"prosody","highlighted_at":"2013-10-07T05:19:59Z","permalink":"oqrdqg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/oqrdqg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1863285,"mid":"prosody","post":"
|
84
|
+
to have one common purpose: t","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:499)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:506)"},"pre":"
|
85
|
+
scansion, we see the laws of "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":623826,"position":0.183902,"content":"scansion","highlighted_at":"2013-10-07T05:19:02Z","permalink":"ppihsq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/ppihsq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1839022,"mid":"scansion","post":"
|
86
|
+
of the groups is an adornment","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:109)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:117)"},"pre":"een
|
87
|
+
suggested. The eccentric "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}}],"status":200}'
|
88
|
+
http_version:
|
89
|
+
recorded_at: Mon, 16 Dec 2013 06:41:39 GMT
|
90
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/234482/highlights
|
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 06:41:40 GMT
|
29
|
+
Etag:
|
30
|
+
- '"bd1264cd39ba8f4cb97ba41dc280ae46"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 6c07e872fc88d1ab9ab93e131cae77b6
|
39
|
+
X-Runtime:
|
40
|
+
- '0.682185'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '12412'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"highlight":{"id":827472,"position":0.302225,"content":"ardour","highlighted_at":"2013-12-16T06:40:49Z","permalink":"stxcrw","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/stxcrw","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.302225,"mid":"ardour","post":"
|
50
|
+
of a first love; and he enjoy","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:1407)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:1413)"},"pre":"noble
|
51
|
+
design, at least in the "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827471,"position":0.299032,"content":"slovenly,","highlighted_at":"2013-12-16T06:39:56Z","permalink":"jr7hjq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/jr7hjq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2990324,"mid":"slovenly,","post":"
|
52
|
+
base, untrue, and empty liter","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:948)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:957)"},"pre":"ill
|
53
|
+
pardon me the epithets, a "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827470,"position":0.298949,"content":"epithets,","highlighted_at":"2013-12-16T06:39:06Z","permalink":"6y79mg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/6y79mg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2989489,"mid":"epithets,","post":"
|
54
|
+
a slovenly, base, untrue, and","rmsdk":{"start":"OPS/main1.xml#point(/1/4/2/2/4/2/3:936)","end":"OPS/main1.xml#point(/1/4/2/2/4/2/3:945)"},"pre":"nce,
|
55
|
+
if he will pardon me the "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827460,"position":0.281018,"content":"hiatus,","highlighted_at":"2013-12-16T06:33:48Z","permalink":"xzkueq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/xzkueq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2810179,"mid":"hiatus,","post":"
|
56
|
+
and whole phrases not to be a","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/90/1:581)","end":"OPS/main0.xml#point(/1/4/2/2/4/90/1:588)"},"pre":"
|
57
|
+
relieved by the jaw-breaking "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827459,"position":0.280457,"content":"cacophony","highlighted_at":"2013-12-16T06:33:11Z","permalink":"0ghswa","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/0ghswa","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.2804573,"mid":"cacophony","post":"
|
58
|
+
supreme, the rattle of incong","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/90/1:491)","end":"OPS/main0.xml#point(/1/4/2/2/4/90/1:500)"},"pre":"
|
59
|
+
There, indeed, you will find "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":827069,"position":0.230842,"content":"usurp","highlighted_at":"2013-12-16T04:38:54Z","permalink":"7n6vca","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/7n6vca","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.230842,"mid":"usurp","post":"
|
60
|
+
the ear. It becomes, therefo","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/58/1:369)","end":"OPS/main0.xml#point(/1/4/2/2/4/58/1:374)"},"pre":"stand
|
61
|
+
more boldly forward and "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":826679,"position":0.186148,"content":"scansion,","highlighted_at":"2013-12-16T02:43:48Z","permalink":"ahkc_w","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/ahkc_w","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1861481,"mid":"scansion,","post":"
|
62
|
+
we see the laws of prosody to","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:470)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:479)"},"pre":"d
|
63
|
+
the degree of regularity in "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":821382,"position":0.132446,"content":"all
|
64
|
+
that we have a right to ask of any prosody is, that it shall lay down a pattern
|
65
|
+
for the writer,","highlighted_at":"2013-12-15T02:32:44Z","permalink":"5grveg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/5grveg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1324456,"mid":"all
|
66
|
+
that we have a right to ask of any prosody is, that it shall lay down a pattern
|
67
|
+
for the writer,","post":" and that what it lays down sh","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/22/1:897)","end":"OPS/main0.xml#point(/1/4/2/2/4/22/1:996)"},"pre":"
|
68
|
+
may have no inherent beauty; "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":821359,"position":0.12167,"content":"The
|
69
|
+
web, then, or the pattern: a web at once sensuous and logical, an elegant
|
70
|
+
and pregnant texture: that is style, that is the foundation of the art of
|
71
|
+
literature.","highlighted_at":"2013-12-15T02:27:09Z","permalink":"sufazq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/sufazq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1216703,"mid":"The
|
72
|
+
web, then, or the pattern: a web at once sensuous and logical, an elegant
|
73
|
+
and pregnant texture: that is style, that is the foundation of the art of
|
74
|
+
literature.","post":" Books indeed continue to be ","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/19:1)","end":"OPS/main0.xml#point(/1/4/2/2/4/20/1:163)"},"pre":"perspicuously
|
75
|
+
bound into one. "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":787896,"position":0.0905886,"content":"it
|
76
|
+
may be said with sufficient justice that the motive and end of any art whatever
|
77
|
+
is to make a pattern; a pattern, it may be, of colours, of sounds, of changing
|
78
|
+
attitudes, geometrical figures, or imitative lines; but still a pattern.","highlighted_at":"2013-12-08T03:17:35Z","permalink":"asl-vw","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/asl-vw","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.09058861,"mid":"it
|
79
|
+
may be said with sufficient justice that the motive and end of any art whatever
|
80
|
+
is to make a pattern; a pattern, it may be, of colours, of sounds, of changing
|
81
|
+
attitudes, geometrical figures, or imitative lines; but still a pattern.","post":"
|
82
|
+
That is the plane on which t","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/12/2:551)","end":"OPS/main0.xml#point(/1/4/2/2/4/12/2:785)"},"pre":"mmon
|
83
|
+
ground of existence, and "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":623828,"position":0.186329,"content":"prosody","highlighted_at":"2013-10-07T05:19:59Z","permalink":"oqrdqg","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/oqrdqg","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1863285,"mid":"prosody","post":"
|
84
|
+
to have one common purpose: t","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:499)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:506)"},"pre":"
|
85
|
+
scansion, we see the laws of "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}},{"highlight":{"id":623826,"position":0.183902,"content":"scansion","highlighted_at":"2013-10-07T05:19:02Z","permalink":"ppihsq","permalink_url":"https://readmill.com/mricardosantos/reads/essays-in-the-art-of-writing/highlights/ppihsq","user":{"id":73316,"username":"mricardosantos","firstname":null,"fullname":"mricardosantos","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":1,"permalink_url":"https://readmill.com/mricardosantos"},"locators":{"position":0.1839022,"mid":"scansion","post":"
|
86
|
+
of the groups is an adornment","rmsdk":{"start":"OPS/main0.xml#point(/1/4/2/2/4/48/1:109)","end":"OPS/main0.xml#point(/1/4/2/2/4/48/1:117)"},"pre":"een
|
87
|
+
suggested. The eccentric "},"comments_count":0,"likes_count":0,"reading":{"id":234482}}}],"status":200}'
|
88
|
+
http_version:
|
89
|
+
recorded_at: Mon, 16 Dec 2013 06:41:40 GMT
|
90
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/443173/locations
|
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 05:50:03 GMT
|
29
|
+
Etag:
|
30
|
+
- '"3f2b6030822df2e9cfc2cbe51a9578f6"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 657cefaad879a172fad747499d7321f3
|
39
|
+
X-Runtime:
|
40
|
+
- '0.040584'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '52'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"location":{"id":9298,"created_at":"2011-12-25T15:50:31Z","period":{"id":7582},"reading":{"id":32900},"lat":47.442,"lng":8.59787}}],"status":200}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Mon, 16 Dec 2013 05:50:03 GMT
|
52
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/443173/locations
|
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 05:50:04 GMT
|
29
|
+
Etag:
|
30
|
+
- '"3f2b6030822df2e9cfc2cbe51a9578f6"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- a7c51ac5443f4d2b9b8d8a9086de4fbd
|
39
|
+
X-Runtime:
|
40
|
+
- '0.029660'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '52'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"location":{"id":9298,"created_at":"2011-12-25T15:50:31Z","period":{"id":7582},"reading":{"id":32900},"lat":47.442,"lng":8.59787}}],"status":200}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Mon, 16 Dec 2013 05:50:03 GMT
|
52
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/443173/periods?locations=true
|
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 05:50:05 GMT
|
29
|
+
Etag:
|
30
|
+
- '"51dc037277c5844eb1de114db85e1af9"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 9a9c77ea9414bf676b2f5b4e7105179c
|
39
|
+
X-Runtime:
|
40
|
+
- '0.095073'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '291'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"period":{"id":833450,"reading":{"id":443173},"user":{"id":45146},"started_at":"2013-12-16T04:12:43Z","duration":1500,"progress":0.368301,"identifier":"0DAEE845-E044-491E-B1BD-08A096CBE6EB-1831-000004C9D8C627EF","locations":{"items":[]}}}],"status":200}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Mon, 16 Dec 2013 05:50:04 GMT
|
52
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.readmill.com/v2/readings/443173/periods
|
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 05:45:52 GMT
|
29
|
+
Etag:
|
30
|
+
- '"51dc037277c5844eb1de114db85e1af9"'
|
31
|
+
Server:
|
32
|
+
- nginx/1.0.12
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- miss
|
37
|
+
X-Request-Id:
|
38
|
+
- 20b3ad698d87a834a2f8025cd61a10e9
|
39
|
+
X-Runtime:
|
40
|
+
- '0.106937'
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge,chrome=1
|
43
|
+
Content-Length:
|
44
|
+
- '291'
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"pagination":{"next":null},"items":[{"period":{"id":833450,"reading":{"id":443173},"user":{"id":45146},"started_at":"2013-12-16T04:12:43Z","duration":1500,"progress":0.368301,"identifier":"0DAEE845-E044-491E-B1BD-08A096CBE6EB-1831-000004C9D8C627EF","locations":{"items":[]}}}],"status":200}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Mon, 16 Dec 2013 05:45:52 GMT
|
52
|
+
recorded_with: VCR 2.8.0
|