aylien_text_api 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/LICENSE +1 -1
- data/lib/aylien_text_api.rb +1 -1
- data/lib/aylien_text_api/client.rb +57 -13
- data/lib/aylien_text_api/configuration.rb +14 -3
- data/lib/aylien_text_api/connection.rb +4 -2
- data/lib/aylien_text_api/error.rb +1 -1
- data/lib/aylien_text_api/version.rb +2 -2
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +25 -16
- data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +115 -67
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +25 -16
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +115 -67
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +109 -32
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +109 -32
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +466 -271
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +465 -271
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +267 -154
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +267 -154
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +31 -17
- data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +51 -27
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +32 -17
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +51 -27
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +21 -9
- data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +46 -26
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +21 -9
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +46 -26
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +62 -0
- data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +84 -0
- data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +84 -0
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +17 -9
- data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +80 -28
- data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +80 -28
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +16 -8
- data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +23 -21
- data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +49 -26
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +23 -21
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +49 -26
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +17 -9
- data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +20 -46
- data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +7 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +61 -34
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +20 -46
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +17 -9
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +61 -34
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +57 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +53 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +96 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +57 -0
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +96 -0
- data/spec/lib/aylien_text_api/client_spec.rb +13 -3
- data/spec/lib/aylien_text_api/microformats.rb +66 -0
- data/spec/lib/aylien_text_api/unsupervised_classify.rb +87 -0
- metadata +105 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9333433771b3ddafab407af128d5dc3c1663ec
|
4
|
+
data.tar.gz: 25639d14110524e8cd273d4507fd03f14195041d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21724ec5f907e5eb549ba4a78feafda1e1668b63081d03ed12397c50aacfcbee0718f4a18b5c8267f95bb48bebff2c371da3e1c9fe869c15062ffe3a520e49a9
|
7
|
+
data.tar.gz: c6534fc7dfb572498c275c8c41afe1b631c9ef0647788816a9dbcbf1bb389be7c8cfd29d885cf5326e8f5dde13ee9ac4cc9639fee8afb4c434ede1f9a327e17e
|
data/Gemfile.lock
CHANGED
data/LICENSE
CHANGED
data/lib/aylien_text_api.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2015 Aylien, Inc. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -32,9 +32,10 @@ module AylienTextApi
|
|
32
32
|
send("#{key}=", merged_options[key])
|
33
33
|
end
|
34
34
|
|
35
|
-
Configuration::ENDPOINTS.each do |endpoint|
|
35
|
+
Configuration::ENDPOINTS.keys.each do |endpoint|
|
36
36
|
self.class.send(:define_method, "#{endpoint}!") do |value=nil, params={}|
|
37
|
-
endpoint, params, config = common_endpoint(value, params,
|
37
|
+
endpoint, params, config = common_endpoint(value, params,
|
38
|
+
Configuration::ENDPOINTS[endpoint])
|
38
39
|
Connection.new(endpoint, params, config).request!
|
39
40
|
end
|
40
41
|
end
|
@@ -54,7 +55,8 @@ module AylienTextApi
|
|
54
55
|
# on the data returned.
|
55
56
|
#
|
56
57
|
def extract(value=nil, params={})
|
57
|
-
endpoint, params, config = common_endpoint(value, params,
|
58
|
+
endpoint, params, config = common_endpoint(value, params,
|
59
|
+
Configuration::ENDPOINTS[:extract])
|
58
60
|
Connection.new(endpoint, params, config).request
|
59
61
|
end
|
60
62
|
|
@@ -73,7 +75,8 @@ module AylienTextApi
|
|
73
75
|
# on the data returned.
|
74
76
|
#
|
75
77
|
def classify(value=nil, params={})
|
76
|
-
endpoint, params, config = common_endpoint(value, params,
|
78
|
+
endpoint, params, config = common_endpoint(value, params,
|
79
|
+
Configuration::ENDPOINTS[:classify])
|
77
80
|
Connection.new(endpoint, params, config).request
|
78
81
|
end
|
79
82
|
|
@@ -94,7 +97,8 @@ module AylienTextApi
|
|
94
97
|
# on the data returned.
|
95
98
|
#
|
96
99
|
def concepts(value=nil, params={})
|
97
|
-
endpoint, params, config = common_endpoint(value, params,
|
100
|
+
endpoint, params, config = common_endpoint(value, params,
|
101
|
+
Configuration::ENDPOINTS[:concepts])
|
98
102
|
Connection.new(endpoint, params, config).request
|
99
103
|
end
|
100
104
|
|
@@ -113,7 +117,8 @@ module AylienTextApi
|
|
113
117
|
# on the data returned.
|
114
118
|
#
|
115
119
|
def hashtags(value=nil, params={})
|
116
|
-
endpoint, params, config = common_endpoint(value, params,
|
120
|
+
endpoint, params, config = common_endpoint(value, params,
|
121
|
+
Configuration::ENDPOINTS[:hashtags])
|
117
122
|
Connection.new(endpoint, params, config).request
|
118
123
|
end
|
119
124
|
|
@@ -131,7 +136,8 @@ module AylienTextApi
|
|
131
136
|
# on the data returned.
|
132
137
|
#
|
133
138
|
def entities(value=nil, params={})
|
134
|
-
endpoint, params, config = common_endpoint(value, params,
|
139
|
+
endpoint, params, config = common_endpoint(value, params,
|
140
|
+
Configuration::ENDPOINTS[:entities])
|
135
141
|
Connection.new(endpoint, params, config).request
|
136
142
|
end
|
137
143
|
|
@@ -148,7 +154,8 @@ module AylienTextApi
|
|
148
154
|
# on the data returned.
|
149
155
|
#
|
150
156
|
def language(value=nil, params={})
|
151
|
-
endpoint, params, config = common_endpoint(value, params,
|
157
|
+
endpoint, params, config = common_endpoint(value, params,
|
158
|
+
Configuration::ENDPOINTS[:language])
|
152
159
|
Connection.new(endpoint, params, config).request
|
153
160
|
end
|
154
161
|
|
@@ -168,7 +175,8 @@ module AylienTextApi
|
|
168
175
|
# on the data returned.
|
169
176
|
#
|
170
177
|
def sentiment(value=nil, params={})
|
171
|
-
endpoint, params, config = common_endpoint(value, params,
|
178
|
+
endpoint, params, config = common_endpoint(value, params,
|
179
|
+
Configuration::ENDPOINTS[:sentiment])
|
172
180
|
Connection.new(endpoint, params, config).request
|
173
181
|
end
|
174
182
|
|
@@ -194,7 +202,8 @@ module AylienTextApi
|
|
194
202
|
# on the data returned.
|
195
203
|
#
|
196
204
|
def summarize(value=nil, params={})
|
197
|
-
endpoint, params, config = common_endpoint(value, params,
|
205
|
+
endpoint, params, config = common_endpoint(value, params,
|
206
|
+
Configuration::ENDPOINTS[:summarize])
|
198
207
|
Connection.new(endpoint, params, config).request
|
199
208
|
end
|
200
209
|
|
@@ -211,7 +220,42 @@ module AylienTextApi
|
|
211
220
|
# on the data returned.
|
212
221
|
#
|
213
222
|
def related(value=nil, params={})
|
214
|
-
endpoint, params, config = common_endpoint(value, params,
|
223
|
+
endpoint, params, config = common_endpoint(value, params,
|
224
|
+
Configuration::ENDPOINTS[:related])
|
225
|
+
Connection.new(endpoint, params, config).request
|
226
|
+
end
|
227
|
+
|
228
|
+
# Return Microformats.
|
229
|
+
#
|
230
|
+
# @param [String] value (nil) URL
|
231
|
+
# @param [Hash] params The microformats endpoint options
|
232
|
+
# @option params [String] :url The URL
|
233
|
+
#
|
234
|
+
# @return [Hash, nil] A hash of result. See
|
235
|
+
# http://aylien.com/text-api-doc#microformats for more information
|
236
|
+
# on the data returned.
|
237
|
+
#
|
238
|
+
def microformats(value=nil, params={})
|
239
|
+
endpoint, params, config = common_endpoint(value, params,
|
240
|
+
Configuration::ENDPOINTS[:microformats])
|
241
|
+
Connection.new(endpoint, params, config).request
|
242
|
+
end
|
243
|
+
|
244
|
+
# Return Unsupervised Classify.
|
245
|
+
#
|
246
|
+
# @param [String] value (nil) URL or Text
|
247
|
+
# @param [Hash] params The Unsupervised Classify endpoint options
|
248
|
+
# @option params [String] :url The URL
|
249
|
+
# @option params [String] :text Text
|
250
|
+
# @option params [Array<String>] :class Array of classes
|
251
|
+
#
|
252
|
+
# @return [Hash, nil] A hash of result. See
|
253
|
+
# http://aylien.com/text-api-doc#unsupervised_classify for more information
|
254
|
+
# on the data returned.
|
255
|
+
#
|
256
|
+
def unsupervised_classify(value=nil, params={})
|
257
|
+
endpoint, params, config = common_endpoint(value, params,
|
258
|
+
Configuration::ENDPOINTS[:unsupervised_classify])
|
215
259
|
Connection.new(endpoint, params, config).request
|
216
260
|
end
|
217
261
|
|
@@ -230,7 +274,7 @@ module AylienTextApi
|
|
230
274
|
value.strip!
|
231
275
|
if validate_uri(value)
|
232
276
|
params[:url] = value
|
233
|
-
elsif endpoint == :related
|
277
|
+
elsif endpoint == Configuration::ENDPOINTS[:related]
|
234
278
|
params[:phrase] = value
|
235
279
|
else
|
236
280
|
params[:text] = value
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2015 Aylien, Inc. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -25,8 +25,19 @@ module AylienTextApi
|
|
25
25
|
DEFAULT_APP_ID = nil
|
26
26
|
DEFAULT_APP_KEY = nil
|
27
27
|
|
28
|
-
ENDPOINTS =
|
29
|
-
:
|
28
|
+
ENDPOINTS = {
|
29
|
+
extract: 'extract',
|
30
|
+
classify: 'classify',
|
31
|
+
concepts: 'concepts',
|
32
|
+
entities: 'entities',
|
33
|
+
hashtags: 'hashtags',
|
34
|
+
language: 'language',
|
35
|
+
related: 'related',
|
36
|
+
sentiment: 'sentiment',
|
37
|
+
summarize: 'summarize',
|
38
|
+
microformats: 'microformats',
|
39
|
+
unsupervised_classify: 'classify/unsupervised'
|
40
|
+
}
|
30
41
|
|
31
42
|
# Build accessor methods for every config options so we can do this, for example:
|
32
43
|
# AylienTextApi.method = :get
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2015 Aylien, Inc. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -21,7 +21,7 @@ module AylienTextApi
|
|
21
21
|
class Connection
|
22
22
|
def initialize(endpoint, params, config)
|
23
23
|
@config = config
|
24
|
-
@uri = URI.join(@config[:base_uri], endpoint
|
24
|
+
@uri = URI.join(@config[:base_uri], endpoint)
|
25
25
|
@params = params
|
26
26
|
compile_request_params
|
27
27
|
end
|
@@ -53,6 +53,8 @@ module AylienTextApi
|
|
53
53
|
private
|
54
54
|
|
55
55
|
def compile_request_params
|
56
|
+
@params[:class] = @params.delete(:classes) if @params[:classes]
|
57
|
+
|
56
58
|
if @config[:method] == :post
|
57
59
|
request = Net::HTTP::Post.new(@uri.request_uri)
|
58
60
|
request.set_form_data(@params)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2015 Aylien, Inc. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -13,5 +13,5 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
15
|
module AylienTextApi
|
16
|
-
VERSION = "0.0
|
16
|
+
VERSION = "0.1.0" unless defined? AylienTextApi::VERSION
|
17
17
|
end
|
@@ -7,10 +7,12 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=CCTV+footage+shows+the+moment+a+suicide+car+bomber+detonates%0A++++++a+device+in+Beirut+on+Tuesday.+The+incident+took+place+in+an+area%0A++++++of+support+for+Hezbollah+and+left+four+people+dead+with+many+more+wounded.%0A++++++A+group+calling+itself+the+al-Nusra+Front+in+Lebanon+has+claimed%0A++++++responsibility+for+the+attack+saying+it+was+in+retaliation+for%0A++++++Hezbollah%27s+military+support+of+president+Bashar+al-Assad%27s+forces+in+Syria
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
|
-
- Aylien Text API Ruby Gem 0.0
|
15
|
+
- Aylien Text API Ruby Gem 0.1.0
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
response:
|
@@ -21,7 +23,7 @@ http_interactions:
|
|
21
23
|
Server:
|
22
24
|
- openresty/1.5.12.1
|
23
25
|
Date:
|
24
|
-
- Tue,
|
26
|
+
- Tue, 10 Feb 2015 14:06:13 GMT
|
25
27
|
Content-Type:
|
26
28
|
- text/plain; charset=us-ascii
|
27
29
|
Transfer-Encoding:
|
@@ -29,8 +31,8 @@ http_interactions:
|
|
29
31
|
Connection:
|
30
32
|
- keep-alive
|
31
33
|
body:
|
32
|
-
encoding:
|
34
|
+
encoding: UTF-8
|
33
35
|
string: Authentication parameters missing
|
34
36
|
http_version:
|
35
|
-
recorded_at: Tue,
|
37
|
+
recorded_at: Tue, 10 Feb 2015 14:05:58 GMT
|
36
38
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: wrong_param=CCTV+footage+shows+the+moment+a+suicide+car+bomber+detonates%0A++++++a+device+in+Beirut+on+Tuesday.+The+incident+took+place+in+an+area%0A++++++of+support+for+Hezbollah+and+left+four+people+dead+with+many+more+wounded.%0A++++++A+group+calling+itself+the+al-Nusra+Front+in+Lebanon+has+claimed%0A++++++responsibility+for+the+attack+saying+it+was+in+retaliation+for%0A++++++Hezbollah%27s+military+support+of+president+Bashar+al-Assad%27s+forces+in+Syria
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
|
-
- Aylien Text API Ruby Gem 0.0
|
15
|
+
- Aylien Text API Ruby Gem 0.1.0
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
App-Id:
|
17
|
-
- <PASSWORD>
|
19
|
+
- "<PASSWORD>"
|
18
20
|
App-Key:
|
19
|
-
- <PASSWORD>
|
21
|
+
- "<PASSWORD>"
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 400
|
@@ -25,16 +27,22 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:06:12 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
34
|
- '70'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205380'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1423612800'
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"error" : "requirement failed: you must either provide url or text."}'
|
38
46
|
http_version:
|
39
|
-
recorded_at: Tue,
|
47
|
+
recorded_at: Tue, 10 Feb 2015 14:05:57 GMT
|
40
48
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=CCTV+footage+shows+the+moment+a+suicide+car+bomber+detonates%0A++++++a+device+in+Beirut+on+Tuesday.+The+incident+took+place+in+an+area%0A++++++of+support+for+Hezbollah+and+left+four+people+dead+with+many+more+wounded.%0A++++++A+group+calling+itself+the+al-Nusra+Front+in+Lebanon+has+claimed%0A++++++responsibility+for+the+attack+saying+it+was+in+retaliation+for%0A++++++Hezbollah%27s+military+support+of+president+Bashar+al-Assad%27s+forces+in+Syria
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
|
-
- Aylien Text API Ruby Gem 0.0
|
15
|
+
- Aylien Text API Ruby Gem 0.1.0
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
App-Id:
|
17
|
-
- <PASSWORD>
|
19
|
+
- "<PASSWORD>"
|
18
20
|
App-Key:
|
19
|
-
- <PASSWORD>
|
21
|
+
- "<PASSWORD>"
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
@@ -25,24 +27,31 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:06:15 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
34
|
- '605'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205377'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1423612800'
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
encoding: UTF-8
|
45
|
+
string: |-
|
46
|
+
{
|
47
|
+
"text": "CCTV footage shows the moment a suicide car bomber detonates\n a device in Beirut on Tuesday. The incident took place in an area\n of support for Hezbollah and left four people dead with many more wounded.\n A group calling itself the al-Nusra Front in Lebanon has claimed\n responsibility for the attack saying it was in retaliation for\n Hezbollah's military support of president Bashar al-Assad's forces in Syria",
|
48
|
+
"language": "en",
|
49
|
+
"categories": [{
|
50
|
+
"label": "defence - biological and chemical weapons",
|
51
|
+
"code": "11001007",
|
52
|
+
"confidence": 1.0
|
53
|
+
}]
|
54
|
+
}
|
46
55
|
http_version:
|
47
|
-
recorded_at: Tue,
|
56
|
+
recorded_at: Tue, 10 Feb 2015 14:06:00 GMT
|
48
57
|
recorded_with: VCR 2.9.3
|
@@ -7,10 +7,12 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=CCTV+footage+shows+the+moment+a+suicide+car+bomber+detonates%0A++++++a+device+in+Beirut+on+Tuesday.+The+incident+took+place+in+an+area%0A++++++of+support+for+Hezbollah+and+left+four+people+dead+with+many+more+wounded.%0A++++++A+group+calling+itself+the+al-Nusra+Front+in+Lebanon+has+claimed%0A++++++responsibility+for+the+attack+saying+it+was+in+retaliation+for%0A++++++Hezbollah%27s+military+support+of+president+Bashar+al-Assad%27s+forces+in+Syria
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
|
-
- Aylien Text API Ruby Gem 0.0
|
15
|
+
- Aylien Text API Ruby Gem 0.1.0
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
App-Id:
|
@@ -25,7 +27,7 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:06:12 GMT
|
29
31
|
Content-Type:
|
30
32
|
- text/plain; charset=us-ascii
|
31
33
|
Transfer-Encoding:
|
@@ -33,8 +35,8 @@ http_interactions:
|
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
35
37
|
body:
|
36
|
-
encoding:
|
38
|
+
encoding: UTF-8
|
37
39
|
string: Authentication failed
|
38
40
|
http_version:
|
39
|
-
recorded_at: Tue,
|
41
|
+
recorded_at: Tue, 10 Feb 2015 14:05:57 GMT
|
40
42
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: url=http%3A%2F%2Ftechcrunch.com%2F2014%2F10%2F20%2Fthe-super-slim-kindle-voyage-is-a-great-travel-companion%2F
|
9
9
|
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
10
12
|
Accept:
|
11
|
-
-
|
13
|
+
- "*/*"
|
12
14
|
User-Agent:
|
13
|
-
- Aylien Text API Ruby Gem 0.0
|
15
|
+
- Aylien Text API Ruby Gem 0.1.0
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
App-Id:
|
17
|
-
- <PASSWORD>
|
19
|
+
- "<PASSWORD>"
|
18
20
|
App-Key:
|
19
|
-
- <PASSWORD>
|
21
|
+
- "<PASSWORD>"
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
@@ -25,74 +27,120 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:06:14 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '4382'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205379'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1423612800'
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string: !
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
ewogICJ0ZXh0IjogIlRoZSBTdXBlci1TbGltIEtpbmRsZSBWb3lhZ2UgSXMg
|
47
|
+
QSBHcmVhdCBUcmF2ZWwgQ29tcGFuaW9uXG5JbiAxOTM1LCBTaXIgQWxsZW4g
|
48
|
+
TGFuZSBhbmQgVi4gSy4gS3J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iAiZW4iLAogICJj
|
140
|
+
YXRlZ29yaWVzIjogW3sKICAgICJsYWJlbCI6ICJlY29ub215LCBidXNpbmVz
|
141
|
+
cyBhbmQgZmluYW5jZSAtIGNvbXB1dGluZyBhbmQgaW5mb3JtYXRpb24gdGVj
|
142
|
+
aG5vbG9neSIsCiAgICAiY29kZSI6ICIwNDAwMzAwMCIsCiAgICAiY29uZmlk
|
143
|
+
ZW5jZSI6IDEuMAogIH1dCn0=
|
96
144
|
http_version:
|
97
|
-
recorded_at: Tue,
|
145
|
+
recorded_at: Tue, 10 Feb 2015 14:05:59 GMT
|
98
146
|
recorded_with: VCR 2.9.3
|