aylien_text_api 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/lib/aylien_text_api/client.rb +160 -12
- data/lib/aylien_text_api/configuration.rb +1 -0
- data/lib/aylien_text_api/error.rb +5 -2
- data/lib/aylien_text_api/version.rb +1 -1
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_params.yml +57 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_taxonomy.yml +48 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_text.yml +75 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_valid_url.yml +155 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_text.yml +75 -0
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_valid_url.yml +155 -0
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/combined_with_text.yml +11 -11
- data/spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml +11 -11
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +5 -5
- data/spec/lib/aylien_text_api/classify_by_taxonomy.rb +124 -0
- data/spec/lib/aylien_text_api/client_spec.rb +1 -0
- metadata +21 -2
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:30 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206310'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
X-Mashape-Billing:
|
44
44
|
- requests=7
|
45
45
|
body:
|
@@ -239,7 +239,7 @@ http_interactions:
|
|
239
239
|
Y2guY29tLzIwMTQvMTAvMjAvdGhlLXN1cGVyLXNsaW0ta2luZGxlLXZveWFn
|
240
240
|
ZS1pcy1hLWdyZWF0LXRyYXZlbC1jb21wYW5pb24vZmVlZC8iXX19LHsiZW5k
|
241
241
|
cG9pbnQiOiJsYW5ndWFnZSIsInJlc3VsdCI6eyJsYW5nIjoiZW4iLCJjb25m
|
242
|
-
|
242
|
+
aWRlbmNlIjowLjk5OTk5NzEzMjk3MjkyNTd9fSx7ImVuZHBvaW50IjoiZW50
|
243
243
|
aXRpZXMiLCJyZXN1bHQiOnsibGFuZ3VhZ2UiOiJlbiIsImVudGl0aWVzIjp7
|
244
244
|
Im9yZ2FuaXphdGlvbiI6WyJQZW5ndWluIEJvb2tzIiwiUGVuZ3VpbiJdLCJs
|
245
245
|
b2NhdGlvbiI6WyJMQ0QuIiwiRXVyb3BlIl0sImtleXdvcmQiOlsiVm95YWdl
|
@@ -290,9 +290,9 @@ http_interactions:
|
|
290
290
|
LSBjb21wdXRpbmcgYW5kIGluZm9ybWF0aW9uIHRlY2hub2xvZ3kiLCJjb2Rl
|
291
291
|
IjoiMDQwMDMwMDAiLCJjb25maWRlbmNlIjoxLjB9XX19LHsiZW5kcG9pbnQi
|
292
292
|
OiJoYXNodGFncyIsInJlc3VsdCI6eyJsYW5ndWFnZSI6ImVuIiwiaGFzaHRh
|
293
|
-
|
294
|
-
|
295
|
-
|
293
|
+
Z3MiOlsiI0VyZWFkZXIiLCIjU3Bpcml0dWFsaXR5IiwiI1Blbmd1aW5Cb29r
|
294
|
+
cyIsIiNFYm9vayIsIiNBbGxlbkxhbmUiLCIjVktLcmlzaG5hTWVub24iLCIj
|
295
|
+
UGVuZ3VpbkNsYXNzaWNzIiwiIzNHIl19fSx7ImVuZHBvaW50Ijoic3VtbWFy
|
296
296
|
aXplIiwicmVzdWx0Ijp7InNlbnRlbmNlcyI6WyJJbiAxOTM1LCBTaXIgQWxs
|
297
297
|
ZW4gTGFuZSBhbmQgVi4gSy4gS3Jpc2huYSBNZW5vbiBmb3VuZGVkIFBlbmd1
|
298
298
|
aW4gQm9va3MsIGEgY29tcGFueSBkZWRpY2F0ZWQgdG8gcHJvZHVjaW5nIGhp
|
@@ -311,5 +311,5 @@ http_interactions:
|
|
311
311
|
ZWFkaW5nIGV4cGVyaWVuY2UgYWtpbiB0byB0aHVtYmluZyB0aHJvdWdoIGEg
|
312
312
|
UGVuZ3VpbiBDbGFzc2ljLiJdfX1dfQ==
|
313
313
|
http_version:
|
314
|
-
recorded_at: Thu,
|
314
|
+
recorded_at: Thu, 17 Sep 2015 11:18:30 GMT
|
315
315
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Server:
|
24
24
|
- openresty/1.7.7.2
|
25
25
|
Date:
|
26
|
-
- Thu,
|
26
|
+
- Thu, 17 Sep 2015 11:18:10 GMT
|
27
27
|
Content-Type:
|
28
28
|
- text/plain; charset=us-ascii
|
29
29
|
Transfer-Encoding:
|
@@ -34,5 +34,5 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: Authentication parameters missing
|
36
36
|
http_version:
|
37
|
-
recorded_at: Thu,
|
37
|
+
recorded_at: Thu, 17 Sep 2015 11:18:10 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:10 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206343'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
}]
|
54
54
|
}
|
55
55
|
http_version:
|
56
|
-
recorded_at: Thu,
|
56
|
+
recorded_at: Thu, 17 Sep 2015 11:18:10 GMT
|
57
57
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:09 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206345'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -77,5 +77,5 @@ http_interactions:
|
|
77
77
|
}
|
78
78
|
}
|
79
79
|
http_version:
|
80
|
-
recorded_at: Thu,
|
80
|
+
recorded_at: Thu, 17 Sep 2015 11:18:09 GMT
|
81
81
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:08 GMT
|
31
31
|
Content-Type:
|
32
32
|
- text/plain; charset=us-ascii
|
33
33
|
Transfer-Encoding:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: Authentication failed
|
40
40
|
http_version:
|
41
|
-
recorded_at: Thu,
|
41
|
+
recorded_at: Thu, 17 Sep 2015 11:18:08 GMT
|
42
42
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:08 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206346'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -125,5 +125,5 @@ http_interactions:
|
|
125
125
|
ZnNldCI6IDQ0MAogICAgICB9XSwKICAgICAgInR5cGVzIjogWyIiXSwKICAg
|
126
126
|
ICAgInN1cHBvcnQiOiA1NQogICAgfQogIH0KfQ==
|
127
127
|
http_version:
|
128
|
-
recorded_at: Thu,
|
128
|
+
recorded_at: Thu, 17 Sep 2015 11:18:08 GMT
|
129
129
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:09 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206344'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -77,5 +77,5 @@ http_interactions:
|
|
77
77
|
}
|
78
78
|
}
|
79
79
|
http_version:
|
80
|
-
recorded_at: Thu,
|
80
|
+
recorded_at: Thu, 17 Sep 2015 11:18:09 GMT
|
81
81
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:18:05 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206347'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -125,5 +125,5 @@ http_interactions:
|
|
125
125
|
ZnNldCI6IDQ0MAogICAgICB9XSwKICAgICAgInR5cGVzIjogWyIiXSwKICAg
|
126
126
|
ICAgInN1cHBvcnQiOiA1NQogICAgfQogIH0KfQ==
|
127
127
|
http_version:
|
128
|
-
recorded_at: Thu,
|
128
|
+
recorded_at: Thu, 17 Sep 2015 11:18:06 GMT
|
129
129
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Server:
|
24
24
|
- openresty/1.7.7.2
|
25
25
|
Date:
|
26
|
-
- Thu,
|
26
|
+
- Thu, 17 Sep 2015 11:17:37 GMT
|
27
27
|
Content-Type:
|
28
28
|
- text/plain; charset=us-ascii
|
29
29
|
Transfer-Encoding:
|
@@ -34,5 +34,5 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: Authentication parameters missing
|
36
36
|
http_version:
|
37
|
-
recorded_at: Thu,
|
37
|
+
recorded_at: Thu, 17 Sep 2015 11:17:37 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:17:37 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206371'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
}]
|
54
54
|
}
|
55
55
|
http_version:
|
56
|
-
recorded_at: Thu,
|
56
|
+
recorded_at: Thu, 17 Sep 2015 11:17:37 GMT
|
57
57
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:17:40 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206360'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -54,5 +54,5 @@ http_interactions:
|
|
54
54
|
}
|
55
55
|
}
|
56
56
|
http_version:
|
57
|
-
recorded_at: Thu,
|
57
|
+
recorded_at: Thu, 17 Sep 2015 11:17:40 GMT
|
58
58
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:17:40 GMT
|
31
31
|
Content-Type:
|
32
32
|
- text/plain; charset=us-ascii
|
33
33
|
Transfer-Encoding:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: Authentication failed
|
40
40
|
http_version:
|
41
|
-
recorded_at: Thu,
|
41
|
+
recorded_at: Thu, 17 Sep 2015 11:17:40 GMT
|
42
42
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:17:39 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206361'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -495,5 +495,5 @@ http_interactions:
|
|
495
495
|
IiwgIkl2ZSJdLAogICAgInByb2R1Y3QiOiBbImlQaG9uZSIsICJJcGFkIiwg
|
496
496
|
ImlQYWQiLCAiQWlycGxheSJdCiAgfQp9
|
497
497
|
http_version:
|
498
|
-
recorded_at: Thu,
|
498
|
+
recorded_at: Thu, 17 Sep 2015 11:17:39 GMT
|
499
499
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
User-Agent:
|
15
|
-
- Aylien Text API Ruby Gem 0.
|
15
|
+
- Aylien Text API Ruby Gem 0.4.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
X-Aylien-Textapi-Application-Id:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Server:
|
28
28
|
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
- Thu,
|
30
|
+
- Thu, 17 Sep 2015 11:17:41 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206359'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1442534400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: |-
|
@@ -54,5 +54,5 @@ http_interactions:
|
|
54
54
|
}
|
55
55
|
}
|
56
56
|
http_version:
|
57
|
-
recorded_at: Thu,
|
57
|
+
recorded_at: Thu, 17 Sep 2015 11:17:41 GMT
|
58
58
|
recorded_with: VCR 2.9.3
|