aylien_text_api 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/lib/aylien_text_api/client.rb +15 -0
- data/lib/aylien_text_api/configuration.rb +2 -1
- data/lib/aylien_text_api/version.rb +1 -1
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +17 -8
- data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +10 -10
- data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +455 -456
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +10 -10
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +455 -455
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +9 -8
- data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +62 -0
- data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +48 -0
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +62 -0
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +48 -0
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +4 -4
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +10 -9
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +10 -9
- data/spec/lib/aylien_text_api/client_spec.rb +1 -0
- data/spec/lib/aylien_text_api/image_tags.rb +79 -0
- metadata +17 -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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
response:
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
message: Forbidden
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
- openresty/1.
|
24
|
+
- openresty/1.7.7.2
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 16 Mar 2015 14:33:18 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:
|
37
|
+
recorded_at: Mon, 16 Mar 2015 14:33:18 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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:17 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,12 +37,12 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '205553'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"error" : "requirement failed: you must either provide url or html."}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Mon, 16 Mar 2015 14:33:17 GMT
|
48
48
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Forbidden
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:17 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:
|
41
|
+
recorded_at: Mon, 16 Mar 2015 14:33:17 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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:19 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
|
+
- '205552'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -294,5 +294,5 @@ http_interactions:
|
|
294
294
|
d2VzdC4iLAogICJ2aWRlb3MiOiBbXSwKICAidGl0bGUiOiAiTmV3IGNlbnRy
|
295
295
|
ZSBvZiB0aGUgc3BvcnRpbmcgd29ybGQ/IiwKICAiZmVlZHMiOiBbXQp9
|
296
296
|
http_version:
|
297
|
-
recorded_at:
|
297
|
+
recorded_at: Mon, 16 Mar 2015 14:33:19 GMT
|
298
298
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:15 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,12 +37,12 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '205564'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"error" : "requirement failed: you must either provide url or html."}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Mon, 16 Mar 2015 14:33:15 GMT
|
48
48
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:16 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
|
+
- '205554'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -294,5 +294,5 @@ http_interactions:
|
|
294
294
|
d2VzdC4iLAogICJ2aWRlb3MiOiBbXSwKICAidGl0bGUiOiAiTmV3IGNlbnRy
|
295
295
|
ZSBvZiB0aGUgc3BvcnRpbmcgd29ybGQ/IiwKICAiZmVlZHMiOiBbXQp9
|
296
296
|
http_version:
|
297
|
-
recorded_at:
|
297
|
+
recorded_at: Mon, 16 Mar 2015 14:33:16 GMT
|
298
298
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
response:
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
message: Forbidden
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
- openresty/1.
|
24
|
+
- openresty/1.7.7.2
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 16 Mar 2015 14:33:34 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:
|
37
|
+
recorded_at: Mon, 16 Mar 2015 14:33:34 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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:33 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
@@ -37,12 +37,12 @@ http_interactions:
|
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '205541'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"error" : "requirement failed: you must either provide url or text."}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Mon, 16 Mar 2015 14:33:33 GMT
|
48
48
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,21 +25,21 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:33 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
34
|
-
- '
|
34
|
+
- '634'
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '205540'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -56,7 +56,8 @@ http_interactions:
|
|
56
56
|
cm93c2VyIGV4dGVuc2lvbi4iLAogICJsYW5ndWFnZSI6ICJlbiIsCiAgImhh
|
57
57
|
c2h0YWdzIjogWyIjU29mdHdhcmVEZXZlbG9wbWVudEtpdCIsICIjU0RLIiwg
|
58
58
|
IiNHb29nbGUiLCAiI0Jyb3dzZXJFeHRlbnNpb24iLCAiI0FuZHJvaWQiLCAi
|
59
|
-
|
59
|
+
I0lPUyIsICIjV2ViQXBwbGljYXRpb24iLCAiI1RlbGV2aXNpb24iLCAiI1RW
|
60
|
+
Il0KfQ==
|
60
61
|
http_version:
|
61
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 16 Mar 2015 14:33:33 GMT
|
62
63
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Forbidden
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:37 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:
|
41
|
+
recorded_at: Mon, 16 Mar 2015 14:33:37 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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33: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
|
+
- '205537'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -78,5 +78,5 @@ http_interactions:
|
|
78
78
|
R2VyYXJkb01hcnRpbm8iLCAiI0JhbGxvbkRPciIsICIjUkFDMSIsICIjUmFk
|
79
79
|
aW9Ccm9hZGNhc3RpbmciLCAiI1RlbGV2aXNpb24iLCAiI1RWIl0KfQ==
|
80
80
|
http_version:
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Mon, 16 Mar 2015 14:33:39 GMT
|
82
82
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33: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
|
+
- '205538'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -59,5 +59,5 @@ http_interactions:
|
|
59
59
|
I0lPUyIsICIjV2ViQXBwbGljYXRpb24iLCAiI1RlbGV2aXNpb24iLCAiI1RW
|
60
60
|
Il0KfQ==
|
61
61
|
http_version:
|
62
|
-
recorded_at:
|
62
|
+
recorded_at: Mon, 16 Mar 2015 14:33:37 GMT
|
63
63
|
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.2.0
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
App-Id:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.7.7.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 16 Mar 2015 14:33:36 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
|
+
- '205539'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1426550400'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -78,5 +78,5 @@ http_interactions:
|
|
78
78
|
R2VyYXJkb01hcnRpbm8iLCAiI0JhbGxvbkRPciIsICIjUkFDMSIsICIjUmFk
|
79
79
|
aW9Ccm9hZGNhc3RpbmciLCAiI1RlbGV2aXNpb24iLCAiI1RWIl0KfQ==
|
80
80
|
http_version:
|
81
|
-
recorded_at:
|
81
|
+
recorded_at: Mon, 16 Mar 2015 14:33:36 GMT
|
82
82
|
recorded_with: VCR 2.9.3
|