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
@@ -7,10 +7,12 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=The+Google+Cast+SDK+is+simple+to+integrate+because+there%E2%80%99s+no%0A++++++need+to+write+a+new+app.+Just+incorporate+the+SDK+into+your+existing%0A++++++mobile+and+web+apps+to+bring+your+content+to+the+TV.+You+are+in%0A++++++control+of+how+and+when+you+develop+and+publish+your+cast-ready%0A++++++apps+through+the+Google+Cast+developer+console.%0A++++++The+SDK+is+available+on+Android+and+iOS+as+well+as+on+Chrome%0A++++++through+the+Google+Cast+browser+extension.
|
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:05:42 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:28 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=The+Google+Cast+SDK+is+simple+to+integrate+because+there%E2%80%99s+no%0A++++++need+to+write+a+new+app.+Just+incorporate+the+SDK+into+your+existing%0A++++++mobile+and+web+apps+to+bring+your+content+to+the+TV.+You+are+in%0A++++++control+of+how+and+when+you+develop+and+publish+your+cast-ready%0A++++++apps+through+the+Google+Cast+developer+console.%0A++++++The+SDK+is+available+on+Android+and+iOS+as+well+as+on+Chrome%0A++++++through+the+Google+Cast+browser+extension.
|
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:05:42 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
|
+
- '205405'
|
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:27 GMT
|
40
48
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=The+Google+Cast+SDK+is+simple+to+integrate+because+there%E2%80%99s+no%0A++++++need+to+write+a+new+app.+Just+incorporate+the+SDK+into+your+existing%0A++++++mobile+and+web+apps+to+bring+your+content+to+the+TV.+You+are+in%0A++++++control+of+how+and+when+you+develop+and+publish+your+cast-ready%0A++++++apps+through+the+Google+Cast+developer+console.%0A++++++The+SDK+is+available+on+Android+and+iOS+as+well+as+on+Chrome%0A++++++through+the+Google+Cast+browser+extension.
|
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,36 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:05:43 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '612'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205404'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1423612800'
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string: !
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
ewogICJ0ZXh0IjogIlRoZSBHb29nbGUgQ2FzdCBTREsgaXMgc2ltcGxlIHRv
|
47
|
+
IGludGVncmF0ZSBiZWNhdXNlIHRoZXJl4oCZcyBub1xuICAgICAgbmVlZCB0
|
48
|
+
byB3cml0ZSBhIG5ldyBhcHAuIEp1c3QgaW5jb3Jwb3JhdGUgdGhlIFNESyBp
|
49
|
+
bnRvIHlvdXIgZXhpc3RpbmdcbiAgICAgIG1vYmlsZSBhbmQgd2ViIGFwcHMg
|
50
|
+
dG8gYnJpbmcgeW91ciBjb250ZW50IHRvIHRoZSBUVi4gWW91IGFyZSBpblxu
|
51
|
+
ICAgICAgY29udHJvbCBvZiBob3cgYW5kIHdoZW4geW91IGRldmVsb3AgYW5k
|
52
|
+
IHB1Ymxpc2ggeW91ciBjYXN0LXJlYWR5XG4gICAgICBhcHBzIHRocm91Z2gg
|
53
|
+
dGhlIEdvb2dsZSBDYXN0IGRldmVsb3BlciBjb25zb2xlLlxuICAgICAgVGhl
|
54
|
+
IFNESyBpcyBhdmFpbGFibGUgb24gQW5kcm9pZCBhbmQgaU9TIGFzIHdlbGwg
|
55
|
+
YXMgb24gQ2hyb21lXG4gICAgICB0aHJvdWdoIHRoZSBHb29nbGUgQ2FzdCBi
|
56
|
+
cm93c2VyIGV4dGVuc2lvbi4iLAogICJsYW5ndWFnZSI6ICJlbiIsCiAgImhh
|
57
|
+
c2h0YWdzIjogWyIjU29mdHdhcmVEZXZlbG9wbWVudEtpdCIsICIjU0RLIiwg
|
58
|
+
IiNHb29nbGUiLCAiI0Jyb3dzZXJFeHRlbnNpb24iLCAiI0FuZHJvaWQiLCAi
|
59
|
+
I0lPUyIsICIjV2ViQXBwbGljYXRpb24iXQp9
|
46
60
|
http_version:
|
47
|
-
recorded_at: Tue,
|
61
|
+
recorded_at: Tue, 10 Feb 2015 14:05:28 GMT
|
48
62
|
recorded_with: VCR 2.9.3
|
@@ -7,10 +7,12 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=The+Google+Cast+SDK+is+simple+to+integrate+because+there%E2%80%99s+no%0A++++++need+to+write+a+new+app.+Just+incorporate+the+SDK+into+your+existing%0A++++++mobile+and+web+apps+to+bring+your+content+to+the+TV.+You+are+in%0A++++++control+of+how+and+when+you+develop+and+publish+your+cast-ready%0A++++++apps+through+the+Google+Cast+developer+console.%0A++++++The+SDK+is+available+on+Android+and+iOS+as+well+as+on+Chrome%0A++++++through+the+Google+Cast+browser+extension.
|
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:05:42 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:27 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%2Fwww.bbc.com%2Fsport%2F0%2Ffootball%2F25912393
|
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,34 +27,56 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:05:47 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '1525'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205402'
|
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
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
ewogICJ0ZXh0IjogIk1lc3NpIG5vdCBmb3Igc2FsZSAtIEJhcmNhIHByZXNp
|
47
|
+
ZGVudFxuTGlvbmVsIE1lc3NpOiBGb3J3YXJkIGlzIG5vdCBmb3Igc2FsZSwg
|
48
|
+
c2F5cyBCYXJjZWxvbmEgcHJlc2lkZW50XG5cbkJhcmNlbG9uYSBmb3J3YXJk
|
49
|
+
IExpb25lbCBNZXNzaSBpcyBub3QgZm9yIHNhbGUgYW5kIHRoZSBjbHViIHBs
|
50
|
+
YW4gdG8gZGlzY3VzcyBhIG5ldyBjb250cmFjdCB3aXRoIHRoZSBBcmdlbnRp
|
51
|
+
bmUsIHNheXMgcHJlc2lkZW50IEpvc2VwIE1hcmlhIEJhcnRvbWV1LlxuXG5G
|
52
|
+
b3VyLXRpbWUgQmFsbG9uIGQnT3Igd2lubmVyIE1lc3NpLCAyNiwgaXMgcmVw
|
53
|
+
b3J0ZWQgdG8gYmUgYSB0YXJnZXQgZm9yIEZyZW5jaCBzaWRlIFBhcmlzIFN0
|
54
|
+
LUdlcm1haW4uXG5cbkluIGFuIGludGVydmlldyB3aXRoIHJhZGlvIHN0YXRp
|
55
|
+
b24gUkFDMSwgcG9zdGVkIG9uIEJhcmNlbG9uYSdzIHdlYnNpdGUswqAgQmFy
|
56
|
+
dG9tZXUgc2FpZDogXCJUaGUgY2x1YiB3aWxsIHNpdCBkb3duIGF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YWxs
|
72
|
+
LlxuXG5cIkhlIHNlZXMgcGFzc2VzIHRoYXQgbW9zdCBwZW9wbGUgY2FuIG9u
|
73
|
+
bHkgc2VlIHdoaWxzdCB3YXRjaGluZyB0aGUgZ2FtZSBvbiBUViBvciBpbiB0
|
74
|
+
aGUgc3RhbmRzLCBub3Qgb25lcyB0aGF0IHlvdSBjYW4gbm9ybWFsbHkgc2Vl
|
75
|
+
IG9uIHRoZSBmaWVsZC5cIiIsCiAgImxhbmd1YWdlIjogImVuIiwKICAiaGFz
|
76
|
+
aHRhZ3MiOiBbIiNMaW9uZWxNZXNzaSIsICIjQmFyY2Vsb25hIiwgIiNBcmdl
|
77
|
+
bnRpbmEiLCAiI0ZyYW5jZSIsICIjUGFyaXNTYWludEdlcm1haW5GQyIsICIj
|
78
|
+
R2VyYXJkb01hcnRpbm8iLCAiI0JhbGxvbkRPciIsICIjUkFDMSIsICIjUmFk
|
79
|
+
aW9Ccm9hZGNhc3RpbmciLCAiI1RlbGV2aXNpb24iLCAiI1RWIl0KfQ==
|
56
80
|
http_version:
|
57
|
-
recorded_at: Tue,
|
81
|
+
recorded_at: Tue, 10 Feb 2015 14:05:32 GMT
|
58
82
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: text=The+Google+Cast+SDK+is+simple+to+integrate+because+there%E2%80%99s+no%0A++++++need+to+write+a+new+app.+Just+incorporate+the+SDK+into+your+existing%0A++++++mobile+and+web+apps+to+bring+your+content+to+the+TV.+You+are+in%0A++++++control+of+how+and+when+you+develop+and+publish+your+cast-ready%0A++++++apps+through+the+Google+Cast+developer+console.%0A++++++The+SDK+is+available+on+Android+and+iOS+as+well+as+on+Chrome%0A++++++through+the+Google+Cast+browser+extension.
|
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,37 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:05:48 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '634'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205401'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1423612800'
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string: !
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
ewogICJ0ZXh0IjogIlRoZSBHb29nbGUgQ2FzdCBTREsgaXMgc2ltcGxlIHRv
|
47
|
+
IGludGVncmF0ZSBiZWNhdXNlIHRoZXJl4oCZcyBub1xuICAgICAgbmVlZCB0
|
48
|
+
byB3cml0ZSBhIG5ldyBhcHAuIEp1c3QgaW5jb3Jwb3JhdGUgdGhlIFNESyBp
|
49
|
+
bnRvIHlvdXIgZXhpc3RpbmdcbiAgICAgIG1vYmlsZSBhbmQgd2ViIGFwcHMg
|
50
|
+
dG8gYnJpbmcgeW91ciBjb250ZW50IHRvIHRoZSBUVi4gWW91IGFyZSBpblxu
|
51
|
+
ICAgICAgY29udHJvbCBvZiBob3cgYW5kIHdoZW4geW91IGRldmVsb3AgYW5k
|
52
|
+
IHB1Ymxpc2ggeW91ciBjYXN0LXJlYWR5XG4gICAgICBhcHBzIHRocm91Z2gg
|
53
|
+
dGhlIEdvb2dsZSBDYXN0IGRldmVsb3BlciBjb25zb2xlLlxuICAgICAgVGhl
|
54
|
+
IFNESyBpcyBhdmFpbGFibGUgb24gQW5kcm9pZCBhbmQgaU9TIGFzIHdlbGwg
|
55
|
+
YXMgb24gQ2hyb21lXG4gICAgICB0aHJvdWdoIHRoZSBHb29nbGUgQ2FzdCBi
|
56
|
+
cm93c2VyIGV4dGVuc2lvbi4iLAogICJsYW5ndWFnZSI6ICJlbiIsCiAgImhh
|
57
|
+
c2h0YWdzIjogWyIjU29mdHdhcmVEZXZlbG9wbWVudEtpdCIsICIjU0RLIiwg
|
58
|
+
IiNHb29nbGUiLCAiI0Jyb3dzZXJFeHRlbnNpb24iLCAiI0FuZHJvaWQiLCAi
|
59
|
+
I0lPUyIsICIjV2ViQXBwbGljYXRpb24iLCAiI1RlbGV2aXNpb24iLCAiI1RW
|
60
|
+
Il0KfQ==
|
46
61
|
http_version:
|
47
|
-
recorded_at: Tue,
|
62
|
+
recorded_at: Tue, 10 Feb 2015 14:05:33 GMT
|
48
63
|
recorded_with: VCR 2.9.3
|
@@ -7,16 +7,18 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: url=http%3A%2F%2Fwww.bbc.com%2Fsport%2F0%2Ffootball%2F25912393
|
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,34 +27,56 @@ http_interactions:
|
|
25
27
|
Server:
|
26
28
|
- openresty/1.5.12.1
|
27
29
|
Date:
|
28
|
-
- Tue,
|
30
|
+
- Tue, 10 Feb 2015 14:05:45 GMT
|
29
31
|
Content-Type:
|
30
32
|
- application/json;charset=UTF-8
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '1525'
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '207000'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '205403'
|
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
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
ewogICJ0ZXh0IjogIk1lc3NpIG5vdCBmb3Igc2FsZSAtIEJhcmNhIHByZXNp
|
47
|
+
ZGVudFxuTGlvbmVsIE1lc3NpOiBGb3J3YXJkIGlzIG5vdCBmb3Igc2FsZSwg
|
48
|
+
c2F5cyBCYXJjZWxvbmEgcHJlc2lkZW50XG5cbkJhcmNlbG9uYSBmb3J3YXJk
|
49
|
+
IExpb25lbCBNZXNzaSBpcyBub3QgZm9yIHNhbGUgYW5kIHRoZSBjbHViIHBs
|
50
|
+
YW4gdG8gZGlzY3VzcyBhIG5ldy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