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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/lib/aylien_text_api/client.rb +160 -12
  4. data/lib/aylien_text_api/configuration.rb +1 -0
  5. data/lib/aylien_text_api/error.rb +5 -2
  6. data/lib/aylien_text_api/version.rb +1 -1
  7. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_client.yml +38 -0
  8. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_params.yml +57 -0
  9. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_taxonomy.yml +48 -0
  10. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_text.yml +75 -0
  11. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_unauthenticated_client.yml +42 -0
  12. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_valid_url.yml +155 -0
  13. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_text.yml +75 -0
  14. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_valid_url.yml +155 -0
  15. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +3 -3
  16. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +5 -5
  17. data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +5 -5
  18. data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +3 -3
  19. data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +5 -5
  20. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +5 -5
  21. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +5 -5
  22. data/spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml +3 -3
  23. data/spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml +5 -5
  24. data/spec/fixtures/aylien_text_api/client/combined_with_text.yml +11 -11
  25. data/spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml +3 -3
  26. data/spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml +9 -9
  27. data/spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml +11 -11
  28. data/spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml +9 -9
  29. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +3 -3
  30. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +5 -5
  31. data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +5 -5
  32. data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +3 -3
  33. data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +5 -5
  34. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +5 -5
  35. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +5 -5
  36. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +3 -3
  37. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +5 -5
  38. data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +5 -5
  39. data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +3 -3
  40. data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +5 -5
  41. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +5 -5
  42. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +5 -5
  43. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +3 -3
  44. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +5 -5
  45. data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +3 -3
  46. data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +5 -5
  47. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +5 -5
  48. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +5 -5
  49. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +3 -3
  50. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +5 -5
  51. data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +8 -8
  52. data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +3 -3
  53. data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +9 -9
  54. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +8 -8
  55. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +9 -9
  56. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +3 -3
  57. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +6 -6
  58. data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +3 -3
  59. data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +8 -8
  60. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +5 -5
  61. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +8 -8
  62. data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +3 -3
  63. data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +5 -5
  64. data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +3 -3
  65. data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +6 -6
  66. data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +6 -6
  67. data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +6 -6
  68. data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +6 -6
  69. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +3 -3
  70. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +5 -5
  71. data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +3 -3
  72. data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +6 -6
  73. data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +6 -6
  74. data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +3 -3
  75. data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +5 -5
  76. data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +5 -5
  77. data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +3 -3
  78. data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +5 -5
  79. data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +5 -5
  80. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +3 -3
  81. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +5 -5
  82. data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +5 -5
  83. data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +3 -3
  84. data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +5 -5
  85. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +5 -5
  86. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +5 -5
  87. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +3 -3
  88. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +5 -5
  89. data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +5 -5
  90. data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +3 -3
  91. data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +5 -5
  92. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +5 -5
  93. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +5 -5
  94. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +5 -5
  95. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +3 -3
  96. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +5 -5
  97. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +5 -5
  98. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +3 -3
  99. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +5 -5
  100. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +5 -5
  101. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +5 -5
  102. data/spec/lib/aylien_text_api/classify_by_taxonomy.rb +124 -0
  103. data/spec/lib/aylien_text_api/client_spec.rb +1 -0
  104. 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.3.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, 06 Aug 2015 16:59:25 GMT
30
+ - Thu, 17 Sep 2015 11:17:45 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, 06 Aug 2015 16:59:25 GMT
41
+ recorded_at: Thu, 17 Sep 2015 11:17:45 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.3.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, 06 Aug 2015 16:59:30 GMT
30
+ - Thu, 17 Sep 2015 11:17:48 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
- - '206155'
40
+ - '206356'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
45
  string: !binary |-
@@ -76,5 +76,5 @@ http_interactions:
76
76
  cml0eV9jb25maWRlbmNlIjogMC45OTk5OTk5NTk2MTAxMjMxLAogICJzdWJq
77
77
  ZWN0aXZpdHlfY29uZmlkZW5jZSI6IDEuMAp9
78
78
  http_version:
79
- recorded_at: Thu, 06 Aug 2015 16:59:30 GMT
79
+ recorded_at: Thu, 17 Sep 2015 11:17:48 GMT
80
80
  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.3.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, 06 Aug 2015 16:59:28 GMT
30
+ - Thu, 17 Sep 2015 11:17:49 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
- - '206156'
40
+ - '206355'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -51,5 +51,5 @@ http_interactions:
51
51
  "subjectivity_confidence": 1.0
52
52
  }
53
53
  http_version:
54
- recorded_at: Thu, 06 Aug 2015 16:59:28 GMT
54
+ recorded_at: Thu, 17 Sep 2015 11:17:49 GMT
55
55
  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.3.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, 06 Aug 2015 16:59:28 GMT
30
+ - Thu, 17 Sep 2015 11:17:47 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
- - '206157'
40
+ - '206357'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
45
  string: !binary |-
@@ -76,5 +76,5 @@ http_interactions:
76
76
  cml0eV9jb25maWRlbmNlIjogMC45OTk5OTk5NTk2MTAxMjMxLAogICJzdWJq
77
77
  ZWN0aXZpdHlfY29uZmlkZW5jZSI6IDEuMAp9
78
78
  http_version:
79
- recorded_at: Thu, 06 Aug 2015 16:59:28 GMT
79
+ recorded_at: Thu, 17 Sep 2015 11:17:47 GMT
80
80
  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.3.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, 06 Aug 2015 16:59:54 GMT
26
+ - Thu, 17 Sep 2015 11:18:15 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, 06 Aug 2015 16:59:54 GMT
37
+ recorded_at: Thu, 17 Sep 2015 11:18:15 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.3.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, 06 Aug 2015 16:59:53 GMT
30
+ - Thu, 17 Sep 2015 11:18:15 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
- - '206072'
40
+ - '206337'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -58,5 +58,5 @@ http_interactions:
58
58
  }]
59
59
  }
60
60
  http_version:
61
- recorded_at: Thu, 06 Aug 2015 16:59:53 GMT
61
+ recorded_at: Thu, 17 Sep 2015 11:18:15 GMT
62
62
  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.3.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, 06 Aug 2015 16:59:54 GMT
30
+ - Thu, 17 Sep 2015 11:18:18 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
- - '206070'
40
+ - '206333'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -48,5 +48,5 @@ http_interactions:
48
48
  "sentences": ["Batman has always been my favourite superhero ever since the first time I heard about him because he his human with no powers, also he is much more questionable than any other superhero.", "The story of the film is about Batman, Lieutenant James Gordon, and new district attorney Harvey Dent beginning to succeed in rounding up the criminals that plague Gotham City.", "There are now six Batman films and I must say that The Dark Knight is the best out of all of them.", "The cinematography is excellent which is made so dark & sinister that really did suit the mood for the film.", "Overall The Dark Knight is the kind of movie that will make the audience cheer in the end instead of throwing fruit & vegetables on the screen."]
49
49
  }
50
50
  http_version:
51
- recorded_at: Thu, 06 Aug 2015 16:59:54 GMT
51
+ recorded_at: Thu, 17 Sep 2015 11:18:18 GMT
52
52
  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.3.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, 06 Aug 2015 16:59:55 GMT
30
+ - Thu, 17 Sep 2015 11:18:14 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, 06 Aug 2015 16:59:55 GMT
41
+ recorded_at: Thu, 17 Sep 2015 11:18:14 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.3.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, 06 Aug 2015 16:59:52 GMT
30
+ - Thu, 17 Sep 2015 11:18:18 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
- - '206073'
40
+ - '206334'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
45
  string: !binary |-
@@ -88,5 +88,5 @@ http_interactions:
88
88
  bGwgd2VsbCwgaGUgaXMgYSBnb29kIGZpbmlzaGVyLCBoZSBjYW4gcHJlc3Mg
89
89
  YW5kIHJlY292ZXIgdGhlIGJhbGwuIl0KfQ==
90
90
  http_version:
91
- recorded_at: Thu, 06 Aug 2015 16:59:53 GMT
91
+ recorded_at: Thu, 17 Sep 2015 11:18:18 GMT
92
92
  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.3.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, 06 Aug 2015 16:59:53 GMT
30
+ - Thu, 17 Sep 2015 11:18:17 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
- - '206071'
40
+ - '206335'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -48,5 +48,5 @@ http_interactions:
48
48
  "sentences": ["Batman has always been my favourite superhero ever since the first time I heard about him because he his human with no powers, also he is much more questionable than any other superhero.", "The story of the film is about Batman, Lieutenant James Gordon, and new district attorney Harvey Dent beginning to succeed in rounding up the criminals that plague Gotham City.", "There are now six Batman films and I must say that The Dark Knight is the best out of all of them.", "The cinematography is excellent which is made so dark & sinister that really did suit the mood for the film.", "Overall The Dark Knight is the kind of movie that will make the audience cheer in the end instead of throwing fruit & vegetables on the screen."]
49
49
  }
50
50
  http_version:
51
- recorded_at: Thu, 06 Aug 2015 16:59:53 GMT
51
+ recorded_at: Thu, 17 Sep 2015 11:18:17 GMT
52
52
  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.3.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, 06 Aug 2015 16:59:55 GMT
30
+ - Thu, 17 Sep 2015 11:18:14 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
- - '206069'
40
+ - '206338'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
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, 06 Aug 2015 16:59:55 GMT
56
+ recorded_at: Thu, 17 Sep 2015 11:18:15 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.3.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, 06 Aug 2015 17:00:03 GMT
30
+ - Thu, 17 Sep 2015 11:18: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
- - '206068'
40
+ - '206336'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
42
+ - '1442534400'
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
45
  string: !binary |-
@@ -88,5 +88,5 @@ http_interactions:
88
88
  bGwgd2VsbCwgaGUgaXMgYSBnb29kIGZpbmlzaGVyLCBoZSBjYW4gcHJlc3Mg
89
89
  YW5kIHJlY292ZXIgdGhlIGJhbGwuIl0KfQ==
90
90
  http_version:
91
- recorded_at: Thu, 06 Aug 2015 17:00:03 GMT
91
+ recorded_at: Thu, 17 Sep 2015 11:18:16 GMT
92
92
  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.3.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, 06 Aug 2015 17:00:03 GMT
26
+ - Thu, 17 Sep 2015 11:21:08 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, 06 Aug 2015 17:00:04 GMT
37
+ recorded_at: Thu, 17 Sep 2015 11:21:08 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.3.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, 06 Aug 2015 17:00:10 GMT
30
+ - Thu, 17 Sep 2015 11:21:07 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
- - '206065'
40
+ - '206276'
41
41
  X-Ratelimit-Reset:
42
- - '1438905600'
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, 06 Aug 2015 17:00:10 GMT
56
+ recorded_at: Thu, 17 Sep 2015 11:21:07 GMT
57
57
  recorded_with: VCR 2.9.3