aylien_text_api 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/LICENSE +1 -1
  4. data/aylien_text_api.gemspec +2 -2
  5. data/lib/aylien_text_api.rb +1 -1
  6. data/lib/aylien_text_api/client.rb +59 -15
  7. data/lib/aylien_text_api/configuration.rb +3 -2
  8. data/lib/aylien_text_api/connection.rb +1 -1
  9. data/lib/aylien_text_api/error.rb +1 -1
  10. data/lib/aylien_text_api/version.rb +2 -2
  11. data/spec/fixtures/aylien_text_api/client/absa_with_invalid_client.yml +38 -0
  12. data/spec/fixtures/aylien_text_api/client/absa_with_invalid_params.yml +57 -0
  13. data/spec/fixtures/aylien_text_api/client/absa_with_text.yml +229 -0
  14. data/spec/fixtures/aylien_text_api/client/absa_with_unauthenticated_client.yml +42 -0
  15. data/spec/fixtures/aylien_text_api/client/absa_with_valid_url.yml +407 -0
  16. data/spec/fixtures/aylien_text_api/client/absa_with_value_as_text.yml +229 -0
  17. data/spec/fixtures/aylien_text_api/client/absa_with_value_as_valid_url.yml +407 -0
  18. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_client.yml +3 -3
  19. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_params.yml +5 -5
  20. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_taxonomy.yml +5 -5
  21. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_text.yml +5 -5
  22. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_unauthenticated_client.yml +3 -3
  23. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_valid_url.yml +100 -100
  24. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_text.yml +5 -5
  25. data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_valid_url.yml +100 -100
  26. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +3 -3
  27. data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +6 -6
  28. data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +5 -5
  29. data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +3 -3
  30. data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +90 -90
  31. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +5 -5
  32. data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +90 -90
  33. data/spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml +3 -3
  34. data/spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml +5 -5
  35. data/spec/fixtures/aylien_text_api/client/combined_with_text.yml +9 -9
  36. data/spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml +3 -3
  37. data/spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml +259 -255
  38. data/spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml +9 -9
  39. data/spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml +259 -255
  40. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +3 -3
  41. data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +5 -5
  42. data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +10 -10
  43. data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +3 -3
  44. data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +25 -85
  45. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +10 -10
  46. data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +25 -85
  47. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +3 -3
  48. data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +5 -5
  49. data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +5 -5
  50. data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +3 -3
  51. data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +5 -5
  52. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +5 -5
  53. data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +5 -5
  54. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +3 -3
  55. data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +6 -6
  56. data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +3 -3
  57. data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +255 -255
  58. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +5 -5
  59. data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +255 -255
  60. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +3 -3
  61. data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +5 -5
  62. data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +5 -5
  63. data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +3 -3
  64. data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +13 -42
  65. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +5 -5
  66. data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +13 -42
  67. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +3 -3
  68. data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +6 -6
  69. data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +3 -3
  70. data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +8 -8
  71. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +5 -5
  72. data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +8 -8
  73. data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +3 -3
  74. data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +5 -5
  75. data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +3 -3
  76. data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +6 -6
  77. data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +13 -37
  78. data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +6 -6
  79. data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +13 -37
  80. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +3 -3
  81. data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +5 -5
  82. data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +3 -3
  83. data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +6 -6
  84. data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +6 -6
  85. data/spec/fixtures/aylien_text_api/client/rate_limits.yml +6 -6
  86. data/spec/fixtures/aylien_text_api/client/rate_limits_with_invalid_client.yml +3 -3
  87. data/spec/fixtures/aylien_text_api/client/rate_limits_with_unauthenticated_client.yml +3 -3
  88. data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +3 -3
  89. data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +6 -6
  90. data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +5 -5
  91. data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +3 -3
  92. data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +5 -5
  93. data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +5 -5
  94. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +3 -3
  95. data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +5 -5
  96. data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +5 -5
  97. data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +3 -3
  98. data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +15 -40
  99. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +5 -5
  100. data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +15 -40
  101. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +3 -3
  102. data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +5 -5
  103. data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +5 -5
  104. data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +3 -3
  105. data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +12 -52
  106. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +5 -5
  107. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +5 -5
  108. data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +12 -52
  109. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +3 -3
  110. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +5 -5
  111. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +5 -5
  112. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +3 -3
  113. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +42 -42
  114. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +5 -5
  115. data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +42 -42
  116. data/spec/lib/aylien_text_api/absa.rb +102 -0
  117. data/spec/lib/aylien_text_api/classify.rb +1 -1
  118. data/spec/lib/aylien_text_api/client_spec.rb +1 -0
  119. metadata +21 -6
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept:
13
13
  - "*/*"
14
14
  User-Agent:
15
- - Aylien Text API Ruby Gem 0.4.0
15
+ - Aylien Text API Ruby Gem 0.6.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  X-Aylien-Textapi-Application-Id:
@@ -27,23 +27,23 @@ http_interactions:
27
27
  Server:
28
28
  - openresty/1.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:56 GMT
30
+ - Thu, 28 Apr 2016 10:35:26 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
34
- - '3201'
34
+ - '2849'
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '206361'
40
+ - '174310'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
44
  encoding: UTF-8
45
- string: '{"image":"http://aylien.com/images/michaelo.png","tags":[{"tag":"man","confidence":0.41905796757197195},{"tag":"male","confidence":0.38725180534808623},{"tag":"person","confidence":0.29507827705193707},{"tag":"caucasian","confidence":0.2881993798784205},{"tag":"adult","confidence":0.28600742166330817},{"tag":"people","confidence":0.2813499226088357},{"tag":"portrait","confidence":0.255608056915516},{"tag":"happy","confidence":0.19802269096390282},{"tag":"expression","confidence":0.1827944847651656},{"tag":"face","confidence":0.17406795354537002},{"tag":"smiling","confidence":0.17137503160072742},{"tag":"professional","confidence":0.16758256015028825},{"tag":"men","confidence":0.16086813161537478},{"tag":"handsome","confidence":0.1601836250066154},{"tag":"businessman","confidence":0.15903475608020326},{"tag":"looking","confidence":0.15796172517987517},{"tag":"business","confidence":0.15571183907769018},{"tag":"smile","confidence":0.1543835538106374},{"tag":"mature","confidence":0.14688734455031838},{"tag":"attractive","confidence":0.13361367028619456},{"tag":"lifestyle","confidence":0.12992043549987056},{"tag":"hand","confidence":0.1273582134164509},{"tag":"holding","confidence":0.1235500706875494},{"tag":"standing","confidence":0.12295081292376475},{"tag":"boy","confidence":0.12164446428200634},{"tag":"executive","confidence":0.11187875768052749},{"tag":"black","confidence":0.11010645154855403},{"tag":"suit","confidence":0.10927890964776438},{"tag":"tie","confidence":0.10618284584378972},{"tag":"one
46
- person","confidence":0.10453506675937672},{"tag":"senior","confidence":0.10431091380019382},{"tag":"guy","confidence":0.10391495632118602},{"tag":"casual","confidence":0.10351146336470968},{"tag":"close","confidence":0.10345066131585914},{"tag":"work","confidence":0.10211116740493105},{"tag":"head","confidence":0.10156530611483629},{"tag":"serious","confidence":0.09743612610033811},{"tag":"model","confidence":0.09610429149840519},{"tag":"sitting","confidence":0.09588822587202168},{"tag":"hair","confidence":0.09586617337860202},{"tag":"occupation","confidence":0.09450395103185658},{"tag":"glasses","confidence":0.09449592353236794},{"tag":"hat","confidence":0.09400743004394961},{"tag":"alone","confidence":0.09328376848087352},{"tag":"job","confidence":0.09142264109136393},{"tag":"one","confidence":0.09118751524650705},{"tag":"office","confidence":0.08990688613033954},{"tag":"gesture","confidence":0.08865037570976295},{"tag":"corporate","confidence":0.088288120338472},{"tag":"happiness","confidence":0.08670638622640708},{"tag":"phone","confidence":0.08506223321692227},{"tag":"elderly","confidence":0.07976172908201179},{"tag":"youth","confidence":0.07942132048582976},{"tag":"studio","confidence":0.07849703338520976},{"tag":"lady","confidence":0.0767680551013607},{"tag":"old","confidence":0.0766331516772676},{"tag":"worker","confidence":0.07498433800643954},{"tag":"indoors","confidence":0.07366468197644963},{"tag":"home","confidence":0.07342255873099172},{"tag":"pretty","confidence":0.07277674826117082},{"tag":"eyes","confidence":0.07229058875631711},{"tag":"uniform","confidence":0.07073310660629857},{"tag":"thinking","confidence":0.07067450202564741}]}'
45
+ string: '{"image":"http://aylien.com/images/michaelo.png","tags":[{"tag":"man","confidence":0.3852650307103344},{"tag":"male","confidence":0.3317226317740392},{"tag":"adult","confidence":0.2784401671818152},{"tag":"person","confidence":0.2766912776213286},{"tag":"caucasian","confidence":0.26156983911435333},{"tag":"portrait","confidence":0.254440511247649},{"tag":"people","confidence":0.2531908362168205},{"tag":"expression","confidence":0.18991485696898355},{"tag":"face","confidence":0.18667383050737904},{"tag":"hat","confidence":0.1861666248096993},{"tag":"happy","confidence":0.1791785206147423},{"tag":"smiling","confidence":0.1775314247730419},{"tag":"handsome","confidence":0.1678676961342144},{"tag":"smile","confidence":0.14039983457465233},{"tag":"attractive","confidence":0.13969248907894685},{"tag":"guy","confidence":0.13784770458903223},{"tag":"businessman","confidence":0.13325095861169473},{"tag":"boy","confidence":0.12921201147186337},{"tag":"men","confidence":0.12829721168178237},{"tag":"professional","confidence":0.12715450593178124},{"tag":"hand","confidence":0.12682197473788226},{"tag":"business","confidence":0.12618182449690196},{"tag":"looking","confidence":0.12000124565718967},{"tag":"mature","confidence":0.11187658853930682},{"tag":"head","confidence":0.10898489324803128},{"tag":"model","confidence":0.10311892640022063},{"tag":"uniform","confidence":0.09675233060563534},{"tag":"eyes","confidence":0.09604154938404169},{"tag":"lifestyle","confidence":0.09545451455835278},{"tag":"youth","confidence":0.09482103682489519},{"tag":"work","confidence":0.09429791866101654},{"tag":"glasses","confidence":0.094014162910243},{"tag":"holding","confidence":0.09231146516414217},{"tag":"job","confidence":0.09097382998300835},{"tag":"one","confidence":0.09082795584097435},{"tag":"gesture","confidence":0.08820796518542512},{"tag":"black","confidence":0.08810763234494445},{"tag":"tie","confidence":0.08802022329618735},{"tag":"occupation","confidence":0.08555103662817311},{"tag":"teenager","confidence":0.08441262328615626},{"tag":"fun","confidence":0.08189185698788366},{"tag":"standing","confidence":0.08163340757406994},{"tag":"cowboy
46
+ hat","confidence":0.07897052018807374},{"tag":"clothing","confidence":0.07834390718705528},{"tag":"fashion","confidence":0.07811595923488043},{"tag":"emotion","confidence":0.07657799139351638},{"tag":"alone","confidence":0.07609837339984105},{"tag":"success","confidence":0.07603948056053668},{"tag":"suit","confidence":0.07528032210015322},{"tag":"worker","confidence":0.07462980737982215},{"tag":"hair","confidence":0.07357872271721946},{"tag":"close","confidence":0.07228052012564232},{"tag":"sitting","confidence":0.07152945540878397},{"tag":"casual","confidence":0.07129846261355807},{"tag":"studio","confidence":0.07114551290485585},{"tag":"helmet","confidence":0.07103317709917002}]}'
47
47
  http_version:
48
- recorded_at: Fri, 22 Jan 2016 13:17:56 GMT
48
+ recorded_at: Thu, 28 Apr 2016 10:35:26 GMT
49
49
  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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
25
25
  Date:
26
- - Fri, 22 Jan 2016 13:17:09 GMT
26
+ - Thu, 28 Apr 2016 10:45:09 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: Fri, 22 Jan 2016 13:17:09 GMT
37
+ recorded_at: Thu, 28 Apr 2016 10:45:09 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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:07 GMT
30
+ - Thu, 28 Apr 2016 10:45: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
- - '206416'
40
+ - '173630'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
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: Fri, 22 Jan 2016 13:17:07 GMT
56
+ recorded_at: Thu, 28 Apr 2016 10:45:14 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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:09 GMT
30
+ - Thu, 28 Apr 2016 10:45: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: Fri, 22 Jan 2016 13:17:09 GMT
41
+ recorded_at: Thu, 28 Apr 2016 10:45: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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:08 GMT
30
+ - Thu, 28 Apr 2016 10:45:06 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,17 +37,17 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '206415'
40
+ - '173634'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
46
46
  {
47
47
  "text": "Hello there! How's it going?",
48
48
  "lang": "en",
49
- "confidence": 0.9999973612113836
49
+ "confidence": 0.9999955213378493
50
50
  }
51
51
  http_version:
52
- recorded_at: Fri, 22 Jan 2016 13:17:08 GMT
52
+ recorded_at: Thu, 28 Apr 2016 10:45:06 GMT
53
53
  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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  X-Aylien-Textapi-Application-Id:
@@ -27,51 +27,27 @@ http_interactions:
27
27
  Server:
28
28
  - openresty/1.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:12 GMT
30
+ - Thu, 28 Apr 2016 10:45:11 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
34
- - '1290'
34
+ - '1269'
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '206412'
40
+ - '173632'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
- encoding: ASCII-8BIT
45
- string: !binary |-
46
- ewogICJ0ZXh0IjogIkZvdXItdGltZSBCYWxsb24gZCdPciB3aW5uZXIgTWVz
47
- c2ksIDI2LCBpcyByZXBvcnRlZCB0byBiZSBhIHRhcmdldCBmb3IgRnJlbmNo
48
- IHNpZGUgUGFyaXMgU3QtR2VybWFpbi7CoFxuTWVzc2kgbWFraW5nIGNoYW5j
49
- ZXNcbkx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MgZ2FtZSwgaXQgZG9lc24ndCBtYXR0
66
- ZXIgaWYgaGUgc2NvcmVzLlxuXCJOb3RoaW5nIHN1cnByaXNlcyBtZSB3aXRo
67
- IGhpbS4gSGUgY29udHJvbHMgdGhlIGdhbWUgd2VsbCwgcGFzc2VzIHRoZSBi
68
- YWxsIHdlbGwsIGhlIGlzIGEgZ29vZCBmaW5pc2hlciwgaGUgY2FuIHByZXNz
69
- IGFuZCByZWNvdmVyIHRoZSBiYWxsLlxuXCJIZSBzZWVzIHBhc3NlcyB0aGF0
70
- IG1vc3QgcGVvcGxlIGNhbiBvbmx5IHNlZSB3aGlsc3Qgd2F0Y2hpbmcgdGhl
71
- IGdhbWUgb24gVFYgb3IgaW4gdGhlIHN0YW5kcywgbm90IG9uZXMgdGhhdCB5
72
- b3UgY2FuIG5vcm1hbGx5IHNlZSBvbiB0aGUgZmllbGQuXCJcbkFsc28gcmVs
73
- YXRlZCB0byB0aGlzIHN0b3J5XG4iLAogICJsYW5nIjogImVuIiwKICAiY29u
74
- ZmlkZW5jZSI6IDAuOTk5OTk3NDM5MTI1NzA4Mwp9
44
+ encoding: UTF-8
45
+ string: |-
46
+ {
47
+ "text": "Barcelona forward Lionel Messi is not for sale and the club plan to discuss a new contract with the Argentine, says president Josep Maria Bartomeu.\n\nFour-time Ballon d'Or winner Messi, 26, is reported to be a target for French side Paris St-Germain.\n\nIn an interview with radio station RAC1, posted on Barcelona's website, Bartomeu said: \"The club will sit down and negotiate a new contract.\n\n\"We will do what we have to, to ensure he's the best-paid player.\"\n\nMessi scored 60 goals in 50 appearances last season but has struggled to match that goalscoring form in 2013-14.\n\nHe has scored 18 goals so far but just eight of those have been in the league.\n\nHis last league goal came in September, before he was out for five weeks with a hamstring injury.\n\n\"He can do everything,\" said Barca coach Gerardo Martino. \"If he succeeds in other facets of his game, it doesn't matter if he scores.\n\n\"Nothing surprises me with him. He controls the game well, passes the ball well, he is a good finisher, he can press and recover the ball.\n\n\"He sees passes that most people can only see whilst watching the game on TV or in the stands, not ones that you can normally see on the field.\"",
48
+ "lang": "en",
49
+ "confidence": 0.9999971879926305
50
+ }
75
51
  http_version:
76
- recorded_at: Fri, 22 Jan 2016 13:17:12 GMT
52
+ recorded_at: Thu, 28 Apr 2016 10:45:11 GMT
77
53
  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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:08 GMT
30
+ - Thu, 28 Apr 2016 10:45:07 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
@@ -37,17 +37,17 @@ http_interactions:
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '206414'
40
+ - '173633'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
46
46
  {
47
47
  "text": "Hello there! How's it going?",
48
48
  "lang": "en",
49
- "confidence": 0.9999968853232768
49
+ "confidence": 0.9999962012610617
50
50
  }
51
51
  http_version:
52
- recorded_at: Fri, 22 Jan 2016 13:17:08 GMT
52
+ recorded_at: Thu, 28 Apr 2016 10:45:07 GMT
53
53
  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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.0
16
16
  Content-Type:
17
17
  - application/x-www-form-urlencoded
18
18
  X-Aylien-Textapi-Application-Id:
@@ -27,51 +27,27 @@ http_interactions:
27
27
  Server:
28
28
  - openresty/1.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:11 GMT
30
+ - Thu, 28 Apr 2016 10:45:13 GMT
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Content-Length:
34
- - '1290'
34
+ - '1269'
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Ratelimit-Limit:
38
38
  - '207000'
39
39
  X-Ratelimit-Remaining:
40
- - '206413'
40
+ - '173631'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
- encoding: ASCII-8BIT
45
- string: !binary |-
46
- ewogICJ0ZXh0IjogIkZvdXItdGltZSBCYWxsb24gZCdPciB3aW5uZXIgTWVz
47
- c2ksIDI2LCBpcyByZXBvcnRlZCB0byBiZSBhIHRhcmdldCBmb3IgRnJlbmNo
48
- IHNpZGUgUGFyaXMgU3QtR2VybWFpbi7CoFxuTWVzc2kgbWFraW5nIGNoYW5j
49
- ZXNcbkxpb25lbCBNZXNzaSBoYXMgY3JlYXRlZCAzNiBjaGFuY2VzIGZvciBC
50
- YXJjZWxvbmEgdGhpcyBzZWFzb24gYW5kIGhhcyBiZWVuIG9uIHRoZSB3aW5u
51
- aW5nIHNpZGUgaW4gMTYgb2YgdGhlIDIwIGdhbWVzIGhlIGhhcyBwbGF5ZWRc
52
- bkluIGFuIGludGVydmlldyB3aXRoIHJhZGlvIHN0YXRpb24gUkFDMSwgcG9z
53
- dGVkIG9uIEJhcmNlbG9uYSdzIHdlYnNpdGUswqAgQmFydG9tZXUgc2FpZDog
54
- XCJUaGUgY2x1YiB3aWxsIHNpdCBkb3duIGFuZCBuZWdvdGlhdGUgYSBuZXcg
55
- Y29udHJhY3QuXG5cIldlIHdpbGwgZG8gd2hhdCB3ZSBoYXZlIHRvLCB0byBl
56
- bnN1cmUgaGUncyB0aGUgYmVzdC1wYWlkIHBsYXllci5cIlxuTWVzc2kgc2Nv
57
- cmVkIDYwIGdvYWxzIG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YW5nIjogImVuIiwKICAiY29u
74
- ZmlkZW5jZSI6IDAuOTk5OTk1NjAyNDQ4MDQ4MQp9
44
+ encoding: UTF-8
45
+ string: |-
46
+ {
47
+ "text": "Barcelona forward Lionel Messi is not for sale and the club plan to discuss a new contract with the Argentine, says president Josep Maria Bartomeu.\n\nFour-time Ballon d'Or winner Messi, 26, is reported to be a target for French side Paris St-Germain.\n\nIn an interview with radio station RAC1, posted on Barcelona's website, Bartomeu said: \"The club will sit down and negotiate a new contract.\n\n\"We will do what we have to, to ensure he's the best-paid player.\"\n\nMessi scored 60 goals in 50 appearances last season but has struggled to match that goalscoring form in 2013-14.\n\nHe has scored 18 goals so far but just eight of those have been in the league.\n\nHis last league goal came in September, before he was out for five weeks with a hamstring injury.\n\n\"He can do everything,\" said Barca coach Gerardo Martino. \"If he succeeds in other facets of his game, it doesn't matter if he scores.\n\n\"Nothing surprises me with him. He controls the game well, passes the ball well, he is a good finisher, he can press and recover the ball.\n\n\"He sees passes that most people can only see whilst watching the game on TV or in the stands, not ones that you can normally see on the field.\"",
48
+ "lang": "en",
49
+ "confidence": 0.9999978189304137
50
+ }
75
51
  http_version:
76
- recorded_at: Fri, 22 Jan 2016 13:17:11 GMT
52
+ recorded_at: Thu, 28 Apr 2016 10:45:13 GMT
77
53
  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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
25
25
  Date:
26
- - Fri, 22 Jan 2016 13:17:38 GMT
26
+ - Thu, 28 Apr 2016 10:36:05 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: Fri, 22 Jan 2016 13:17:38 GMT
37
+ recorded_at: Thu, 28 Apr 2016 10:36:05 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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:36 GMT
30
+ - Thu, 28 Apr 2016 10:36:04 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
- - '206391'
40
+ - '174160'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
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: Fri, 22 Jan 2016 13:17:36 GMT
61
+ recorded_at: Thu, 28 Apr 2016 10:36:04 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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:38 GMT
30
+ - Thu, 28 Apr 2016 10:36: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: Fri, 22 Jan 2016 13:17:38 GMT
41
+ recorded_at: Thu, 28 Apr 2016 10:36: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.4.0
15
+ - Aylien Text API Ruby Gem 0.6.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.9.3.2
29
29
  Date:
30
- - Fri, 22 Jan 2016 13:17:39 GMT
30
+ - Thu, 28 Apr 2016 10:36:06 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
- - '206389'
40
+ - '174159'
41
41
  X-Ratelimit-Reset:
42
- - '1453507200'
42
+ - '1461888000'
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: |-
@@ -61,7 +61,7 @@ http_interactions:
61
61
  "familyName": "van der Harten",
62
62
  "givenName": "Sally",
63
63
  "honorificSuffix": "Ph.D.",
64
- "id": "cdfb5d5dbd32e59182fe949e5e72ad9ddbcb1a6e",
64
+ "id": "5cf453849c3bfddae9195ff531ec1505dd902add",
65
65
  "additionalName": "K.",
66
66
  "honorificPrefix": "Dr."
67
67
  },
@@ -80,5 +80,5 @@ http_interactions:
80
80
  }]
81
81
  }
82
82
  http_version:
83
- recorded_at: Fri, 22 Jan 2016 13:17:39 GMT
83
+ recorded_at: Thu, 28 Apr 2016 10:36:06 GMT
84
84
  recorded_with: VCR 2.9.3