aylien_text_api 0.4.0 → 0.5.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/lib/aylien_text_api/client.rb +71 -30
- data/lib/aylien_text_api/connection.rb +7 -0
- data/lib/aylien_text_api/version.rb +1 -1
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_invalid_taxonomy.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_by_taxonomy_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/combined_with_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml +77 -77
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/rate_limits.yml +53 -0
- data/spec/fixtures/aylien_text_api/client/rate_limits_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/rate_limits_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +6 -6
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +7 -7
- 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 +3 -3
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +5 -5
- data/spec/lib/aylien_text_api/classify.rb +1 -1
- data/spec/lib/aylien_text_api/client_spec.rb +1 -0
- data/spec/lib/aylien_text_api/rate_limits.rb +26 -0
- metadata +11 -3
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
message: Forbidden
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
- openresty/1.
|
24
|
+
- openresty/1.9.3.2
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Fri, 22 Jan 2016 13:17:53 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: Fri, 22 Jan 2016 13:17:54 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://api.aylien.com/api/v1/image-tags
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
8
|
+
string: text
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:52 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
|
+
- '206382'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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:
|
61
|
+
recorded_at: Fri, 22 Jan 2016 13:17:52 GMT
|
62
62
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Forbidden
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:53 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: Fri, 22 Jan 2016 13:17:53 GMT
|
42
42
|
recorded_with: VCR 2.9.3
|
@@ -25,25 +25,25 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:55 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
34
|
-
- '
|
34
|
+
- '3199'
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206371'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"image":"http://aylien.com/images/michaelo.png","tags":[{"tag":"man","confidence":0.
|
46
|
-
person","confidence":0.
|
45
|
+
string: '{"image":"http://aylien.com/images/michaelo.png","tags":[{"tag":"man","confidence":0.41905796752863317},{"tag":"male","confidence":0.38725180557522626},{"tag":"person","confidence":0.2950782772367672},{"tag":"caucasian","confidence":0.28819937995746114},{"tag":"adult","confidence":0.2860074220726819},{"tag":"people","confidence":0.2813499226629327},{"tag":"portrait","confidence":0.2556080570430241},{"tag":"happy","confidence":0.19802269093369854},{"tag":"expression","confidence":0.18279448479009905},{"tag":"face","confidence":0.17406795368419534},{"tag":"smiling","confidence":0.17137503156054007},{"tag":"professional","confidence":0.16758256015705952},{"tag":"men","confidence":0.16086813165656152},{"tag":"handsome","confidence":0.16018362515920959},{"tag":"businessman","confidence":0.15903475625743435},{"tag":"looking","confidence":0.15796172525292465},{"tag":"business","confidence":0.1557118392773537},{"tag":"smile","confidence":0.15438355370945098},{"tag":"mature","confidence":0.14688734460479608},{"tag":"attractive","confidence":0.13361367052008005},{"tag":"lifestyle","confidence":0.1299204355118789},{"tag":"hand","confidence":0.12735821348429474},{"tag":"holding","confidence":0.12355007054629139},{"tag":"standing","confidence":0.12295081310312816},{"tag":"boy","confidence":0.12164446450510052},{"tag":"executive","confidence":0.11187875776509965},{"tag":"black","confidence":0.11010645151781555},{"tag":"suit","confidence":0.10927890973278409},{"tag":"tie","confidence":0.10618284579793132},{"tag":"one
|
46
|
+
person","confidence":0.1045350667650641},{"tag":"senior","confidence":0.10431091391554012},{"tag":"guy","confidence":0.10391495627815084},{"tag":"casual","confidence":0.1035114632451087},{"tag":"close","confidence":0.10345066128130863},{"tag":"work","confidence":0.10211116727668693},{"tag":"head","confidence":0.10156530627718388},{"tag":"serious","confidence":0.09743612605180667},{"tag":"model","confidence":0.09610429142572889},{"tag":"sitting","confidence":0.0958882259724246},{"tag":"hair","confidence":0.09586617354759026},{"tag":"occupation","confidence":0.09450395110682903},{"tag":"glasses","confidence":0.09449592336321266},{"tag":"hat","confidence":0.09400742999219552},{"tag":"alone","confidence":0.09328376874698145},{"tag":"job","confidence":0.091422641220872},{"tag":"one","confidence":0.09118751535337102},{"tag":"office","confidence":0.08990688615354384},{"tag":"gesture","confidence":0.08865037593605044},{"tag":"corporate","confidence":0.08828812050287917},{"tag":"happiness","confidence":0.0867063859875002},{"tag":"phone","confidence":0.08506223332542642},{"tag":"elderly","confidence":0.07976172910785626},{"tag":"youth","confidence":0.07942132029026444},{"tag":"studio","confidence":0.078497033599752},{"tag":"lady","confidence":0.07676805521206836},{"tag":"old","confidence":0.07663315168563556},{"tag":"worker","confidence":0.07498433797736266},{"tag":"indoors","confidence":0.07366468199728732},{"tag":"home","confidence":0.0734225587546348},{"tag":"pretty","confidence":0.07277674843882982},{"tag":"eyes","confidence":0.07229058890057924},{"tag":"uniform","confidence":0.07073310644486129},{"tag":"thinking","confidence":0.07067450211605036}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Fri, 22 Jan 2016 13:17:55 GMT
|
49
49
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:54 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
|
+
- '206381'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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:
|
61
|
+
recorded_at: Fri, 22 Jan 2016 13:17:54 GMT
|
62
62
|
recorded_with: VCR 2.9.3
|
@@ -25,25 +25,25 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:56 GMT
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=UTF-8
|
33
33
|
Content-Length:
|
34
|
-
- '
|
34
|
+
- '3201'
|
35
35
|
Connection:
|
36
36
|
- keep-alive
|
37
37
|
X-Ratelimit-Limit:
|
38
38
|
- '207000'
|
39
39
|
X-Ratelimit-Remaining:
|
40
|
-
- '
|
40
|
+
- '206361'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"image":"http://aylien.com/images/michaelo.png","tags":[{"tag":"man","confidence":0.
|
46
|
-
person","confidence":0.
|
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}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Fri, 22 Jan 2016 13:17:56 GMT
|
49
49
|
recorded_with: VCR 2.9.3
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
message: Forbidden
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
- openresty/1.
|
24
|
+
- openresty/1.9.3.2
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Fri, 22 Jan 2016 13:17: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:
|
37
|
+
recorded_at: Fri, 22 Jan 2016 13:17:09 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17: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
|
-
- '
|
40
|
+
- '206416'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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:
|
56
|
+
recorded_at: Fri, 22 Jan 2016 13:17:07 GMT
|
57
57
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Forbidden
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:09 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: Fri, 22 Jan 2016 13:17:09 GMT
|
42
42
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:08 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
|
-
- '
|
40
|
+
- '206415'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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.
|
49
|
+
"confidence": 0.9999973612113836
|
50
50
|
}
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Fri, 22 Jan 2016 13:17:08 GMT
|
53
53
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:12 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
|
+
- '206412'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -71,7 +71,7 @@ http_interactions:
|
|
71
71
|
IGdhbWUgb24gVFYgb3IgaW4gdGhlIHN0YW5kcywgbm90IG9uZXMgdGhhdCB5
|
72
72
|
b3UgY2FuIG5vcm1hbGx5IHNlZSBvbiB0aGUgZmllbGQuXCJcbkFsc28gcmVs
|
73
73
|
YXRlZCB0byB0aGlzIHN0b3J5XG4iLAogICJsYW5nIjogImVuIiwKICAiY29u
|
74
|
-
|
74
|
+
ZmlkZW5jZSI6IDAuOTk5OTk3NDM5MTI1NzA4Mwp9
|
75
75
|
http_version:
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Fri, 22 Jan 2016 13:17:12 GMT
|
77
77
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:08 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
|
-
- '
|
40
|
+
- '206414'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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.
|
49
|
+
"confidence": 0.9999968853232768
|
50
50
|
}
|
51
51
|
http_version:
|
52
|
-
recorded_at:
|
52
|
+
recorded_at: Fri, 22 Jan 2016 13:17:08 GMT
|
53
53
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:11 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
|
+
- '206413'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
43
43
|
body:
|
44
44
|
encoding: ASCII-8BIT
|
45
45
|
string: !binary |-
|
@@ -71,7 +71,7 @@ http_interactions:
|
|
71
71
|
IGdhbWUgb24gVFYgb3IgaW4gdGhlIHN0YW5kcywgbm90IG9uZXMgdGhhdCB5
|
72
72
|
b3UgY2FuIG5vcm1hbGx5IHNlZSBvbiB0aGUgZmllbGQuXCJcbkFsc28gcmVs
|
73
73
|
YXRlZCB0byB0aGlzIHN0b3J5XG4iLAogICJsYW5nIjogImVuIiwKICAiY29u
|
74
|
-
|
74
|
+
ZmlkZW5jZSI6IDAuOTk5OTk1NjAyNDQ4MDQ4MQp9
|
75
75
|
http_version:
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Fri, 22 Jan 2016 13:17:11 GMT
|
77
77
|
recorded_with: VCR 2.9.3
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
message: Forbidden
|
22
22
|
headers:
|
23
23
|
Server:
|
24
|
-
- openresty/1.
|
24
|
+
- openresty/1.9.3.2
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Fri, 22 Jan 2016 13:17:38 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: Fri, 22 Jan 2016 13:17:38 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Bad Request
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17: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
|
+
- '206391'
|
41
41
|
X-Ratelimit-Reset:
|
42
|
-
- '
|
42
|
+
- '1453507200'
|
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:
|
61
|
+
recorded_at: Fri, 22 Jan 2016 13:17:36 GMT
|
62
62
|
recorded_with: VCR 2.9.3
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
message: Forbidden
|
26
26
|
headers:
|
27
27
|
Server:
|
28
|
-
- openresty/1.
|
28
|
+
- openresty/1.9.3.2
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 22 Jan 2016 13:17:38 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: Fri, 22 Jan 2016 13:17:38 GMT
|
42
42
|
recorded_with: VCR 2.9.3
|