alchemy-api-rb 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/.travis.yml +11 -0
  2. data/.yardopts +1 -0
  3. data/README.md +12 -1
  4. data/alchemy-api-rb.gemspec +1 -0
  5. data/lib/alchemy-api/version.rb +1 -1
  6. data/spec/spec_helper.rb +1 -0
  7. data/spec/vcr_cassettes/author_basic_html_json_search.yml +4 -5
  8. data/spec/vcr_cassettes/author_basic_url_json_search.yml +6 -7
  9. data/spec/vcr_cassettes/category_basic_text_json_search.yml +5 -4
  10. data/spec/vcr_cassettes/category_basic_url_json_search.yml +5 -4
  11. data/spec/vcr_cassettes/concept_basic_html_json_search.yml +5 -5
  12. data/spec/vcr_cassettes/concept_basic_text_json_search.yml +4 -5
  13. data/spec/vcr_cassettes/concept_basic_url_json_search.yml +4 -5
  14. data/spec/vcr_cassettes/entity_basic_html_json_search.yml +4 -6
  15. data/spec/vcr_cassettes/entity_basic_text_json_search.yml +5 -5
  16. data/spec/vcr_cassettes/entity_basic_url_json_search.yml +23 -10
  17. data/spec/vcr_cassettes/keyword_basic_html_json_search.yml +5 -5
  18. data/spec/vcr_cassettes/keyword_basic_text_json_search.yml +4 -4
  19. data/spec/vcr_cassettes/keyword_basic_url_json_search.yml +5 -4
  20. data/spec/vcr_cassettes/language_basic_html_json_search.yml +4 -5
  21. data/spec/vcr_cassettes/language_basic_text_json_search.yml +5 -5
  22. data/spec/vcr_cassettes/language_basic_url_json_search.yml +4 -4
  23. data/spec/vcr_cassettes/relation_basic_html_json_search.yml +4 -5
  24. data/spec/vcr_cassettes/relation_basic_text_json_search.yml +5 -5
  25. data/spec/vcr_cassettes/relation_basic_url_json_search.yml +5 -4
  26. data/spec/vcr_cassettes/sentiment_basic_html_json_search.yml +5 -5
  27. data/spec/vcr_cassettes/sentiment_basic_text_json_search.yml +4 -4
  28. data/spec/vcr_cassettes/sentiment_basic_url_json_search.yml +4 -4
  29. data/spec/vcr_cassettes/text_basic_html_json_search.yml +4 -6
  30. data/spec/vcr_cassettes/text_basic_url_json_search.yml +5 -4
  31. metadata +56 -16
  32. data/spec/vcr_cassettes/category_basic_html_json_search.yml +0 -43
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ # - 1.8.7
4
+ # - 1.9.2
5
+ - 1.9.3
6
+ # - jruby-18mode # JRuby in 1.8 mode
7
+ # - jruby-19mode # JRuby in 1.9 mode
8
+ # - rbx-18mode
9
+ # - rbx-19mode
10
+ # uncomment this line if your project needs to run something other than `rake`:
11
+ # script: bundle exec rspec spec
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --readme README.md
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # AlchemyAPI
2
2
 
3
- This is a Ruby Client Library that provides access to the Alchemy text mining API. The initial version targets the following API's:
3
+ [![Build Status](https://secure.travis-ci.org/technekes/alchemy-api-rb.png?branch=master)](http://travis-ci.org/technekes/alchemy-api-rb)
4
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/technekes/alchemy-api-rb)
5
+
6
+ This is a Ruby Client Library that provides access to the [Alchemy text mining API](http://www.alchemyapi.com/). The current version targets the following API's:
4
7
 
5
8
  * Keyword Extraction
6
9
  * Text Extraction
@@ -33,6 +36,8 @@ Or install it yourself as:
33
36
 
34
37
  ## Usage
35
38
 
39
+ You'll need to [request an API Key](http://www.alchemyapi.com/api/register.html).
40
+
36
41
  Set your API Key in an initializer or something similar:
37
42
 
38
43
  AlchemyAPI.key = "xxxxxxxxxxxxxxxxxx"
@@ -65,6 +70,12 @@ Results for keyword extraction are returned as a array of keywords:
65
70
  }
66
71
  ]
67
72
 
73
+ ## Testing
74
+
75
+ The spec_helper is looking for your API Key in the project root in a file named `.keys`. Put just your key in there and then you can run:
76
+
77
+ rake test
78
+
68
79
  ## TODO
69
80
 
70
81
  1. Add missing Alchmey API search modes
@@ -17,6 +17,7 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.add_dependency 'faraday', '~> 0.8.1'
19
19
 
20
+ gem.add_development_dependency 'minitest', '~> 3.1.0'
20
21
  gem.add_development_dependency 'rake', '~> 0.9.2'
21
22
  gem.add_development_dependency 'turn', '~> 0.9.5'
22
23
  gem.add_development_dependency 'vcr', '~> 2.2.0'
@@ -1,3 +1,3 @@
1
1
  module AlchemyAPI
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -10,4 +10,5 @@ API_KEY = File.read('./.keys').chomp
10
10
  VCR.configure do |c|
11
11
  c.cassette_library_dir = 'spec/vcr_cassettes'
12
12
  c.hook_into :fakeweb
13
+ c.filter_sensitive_data("ALCHEMY_KEY") { API_KEY }
13
14
  end
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetAuthor
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Google
9
- is a large, by Joe Smith</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Google is a large, by Joe Smith</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 04:44:42 GMT
26
+ - Sat, 07 Jul 2012 17:23:27 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -42,5 +41,5 @@ http_interactions:
42
41
  AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html\",\r\n
43
42
  \ \"url\": \"\",\r\n \"author\": \"\"\r\n}\r\n"
44
43
  http_version: '1.1'
45
- recorded_at: Sun, 17 Jun 2012 03:46:41 GMT
46
- recorded_with: VCR 2.2.0
44
+ recorded_at: Sat, 07 Jul 2012 16:26:06 GMT
45
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetAuthor
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://googleblog.blogspot.com/2012/06/find-out-what-people-are-searching-for.html&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://blog.alchemyapi.com/&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,13 +23,13 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 04:44:43 GMT
26
+ - Sat, 07 Jul 2012 17:23:29 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
30
30
  - close
31
31
  content-length:
32
- - '392'
32
+ - '337'
33
33
  cache-control:
34
34
  - no-cache
35
35
  access-control-allow-origin:
@@ -40,8 +40,7 @@ http_interactions:
40
40
  string: ! "{\r\n \"status\": \"ERROR\",\r\n \"statusInfo\": \"author-not-found:cannot-locate\",\r\n
41
41
  \ \"usage\": \"By accessing AlchemyAPI or using information generated by
42
42
  AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html\",\r\n
43
- \ \"url\": \"http://googleblog.blogspot.com/2012/06/find-out-what-people-are-searching-for.html\",\r\n
44
- \ \"author\": \"\"\r\n}\r\n"
43
+ \ \"url\": \"http://blog.alchemyapi.com/\",\r\n \"author\": \"\"\r\n}\r\n"
45
44
  http_version: '1.1'
46
- recorded_at: Sun, 17 Jun 2012 03:46:42 GMT
47
- recorded_with: VCR 2.2.0
45
+ recorded_at: Sat, 07 Jul 2012 16:26:08 GMT
46
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetCategory
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=lorem ipsum&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=lorem ipsum&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 04:10:33 GMT
26
+ - Sat, 07 Jul 2012 17:23:39 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,6 +34,7 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
+ - ! '*'
37
38
  body:
38
39
  encoding: US-ASCII
39
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -42,5 +43,5 @@ http_interactions:
42
43
  \ \"url\": \"\",\r\n \"language\": \"english\",\r\n \"category\":
43
44
  \"unknown\",\r\n \"score\": \"0.400001\"\r\n}\r\n"
44
45
  http_version: '1.1'
45
- recorded_at: Sun, 17 Jun 2012 03:12:32 GMT
46
- recorded_with: VCR 2.2.0
46
+ recorded_at: Sat, 07 Jul 2012 16:26:17 GMT
47
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetCategory
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.alchemyapi.com/&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.alchemyapi.com/&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 04:10:33 GMT
26
+ - Sat, 07 Jul 2012 17:23:39 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,6 +34,7 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
+ - ! '*'
37
38
  body:
38
39
  encoding: US-ASCII
39
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -42,5 +43,5 @@ http_interactions:
42
43
  \ \"url\": \"http://www.alchemyapi.com/\",\r\n \"language\": \"english\",\r\n
43
44
  \ \"category\": \"computer_internet\",\r\n \"score\": \"0.781348\"\r\n}\r\n"
44
45
  http_version: '1.1'
45
- recorded_at: Sun, 17 Jun 2012 03:12:32 GMT
46
- recorded_with: VCR 2.2.0
46
+ recorded_at: Sat, 07 Jul 2012 16:26:18 GMT
47
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetRankedConcepts
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Google
9
- is a large company</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Google is a large company</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:39:12 GMT
26
+ - Sat, 07 Jul 2012 17:23:29 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -50,5 +50,5 @@ http_interactions:
50
50
  \ \"freebase\": \"http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000000019f35\"\r\n
51
51
  \ }\r\n ]\r\n}\r\n"
52
52
  http_version: '1.1'
53
- recorded_at: Sun, 17 Jun 2012 02:41:11 GMT
54
- recorded_with: VCR 2.2.0
53
+ recorded_at: Sat, 07 Jul 2012 16:26:08 GMT
54
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetRankedConcepts
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=Google is a large
9
- company&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=Google is a large company&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:39:12 GMT
26
+ - Sat, 07 Jul 2012 17:23:29 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -51,5 +50,5 @@ http_interactions:
51
50
  \ \"freebase\": \"http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000000019f35\"\r\n
52
51
  \ }\r\n ]\r\n}\r\n"
53
52
  http_version: '1.1'
54
- recorded_at: Sun, 17 Jun 2012 02:41:11 GMT
55
- recorded_with: VCR 2.2.0
53
+ recorded_at: Sat, 07 Jul 2012 16:26:08 GMT
54
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetRankedConcepts
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.alchemy.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.alchemy.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:39:13 GMT
26
+ - Sat, 07 Jul 2012 17:23:30 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,7 +34,6 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
- - ! '*'
38
37
  body:
39
38
  encoding: US-ASCII
40
39
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -71,5 +70,5 @@ http_interactions:
71
70
  \ \"semanticCrunchbase\": \"http://cb.semsol.org/company/sun-microsystems.rdf\"\r\n
72
71
  \ }\r\n ]\r\n}\r\n"
73
72
  http_version: '1.1'
74
- recorded_at: Sun, 17 Jun 2012 02:41:12 GMT
75
- recorded_with: VCR 2.2.0
73
+ recorded_at: Sat, 07 Jul 2012 16:26:09 GMT
74
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetRankedNamedEntities
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Google
9
- is a large company</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Google is a large company</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:00:52 GMT
26
+ - Sat, 07 Jul 2012 17:23:30 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,7 +34,6 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
38
- - ! '*'
39
37
  body:
40
38
  encoding: US-ASCII
41
39
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -57,5 +55,5 @@ http_interactions:
57
55
  \"http://cb.semsol.org/company/google.rdf\"\r\n }\r\n }\r\n
58
56
  \ ]\r\n}\r\n"
59
57
  http_version: '1.1'
60
- recorded_at: Sun, 17 Jun 2012 02:02:51 GMT
61
- recorded_with: VCR 2.2.0
58
+ recorded_at: Sat, 07 Jul 2012 16:26:09 GMT
59
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetRankedNamedEntities
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=Google is a large
9
- company&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=Google is a large company&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:00:52 GMT
26
+ - Sat, 07 Jul 2012 17:23:31 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -56,5 +56,5 @@ http_interactions:
56
56
  \"http://cb.semsol.org/company/google.rdf\"\r\n }\r\n }\r\n
57
57
  \ ]\r\n}\r\n"
58
58
  http_version: '1.1'
59
- recorded_at: Sun, 17 Jun 2012 02:02:51 GMT
60
- recorded_with: VCR 2.2.0
59
+ recorded_at: Sat, 07 Jul 2012 16:26:09 GMT
60
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetRankedNamedEntities
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.google.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.google.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,13 +23,13 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:00:52 GMT
26
+ - Sat, 07 Jul 2012 17:23:31 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
30
30
  - close
31
31
  content-length:
32
- - '2311'
32
+ - '3341'
33
33
  cache-control:
34
34
  - no-cache
35
35
  access-control-allow-origin:
@@ -39,9 +39,9 @@ http_interactions:
39
39
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
40
40
  or using information generated by AlchemyAPI, you are agreeing to be bound
41
41
  by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html\",\r\n
42
- \ \"url\": \"http://www.google.com/\",\r\n \"language\": \"english\",\r\n
42
+ \ \"url\": \"http://www.google.co.in/\",\r\n \"language\": \"english\",\r\n
43
43
  \ \"entities\": [\r\n {\r\n \"type\": \"Company\",\r\n
44
- \ \"relevance\": \"0.909648\",\r\n \"count\": \"2\",\r\n
44
+ \ \"relevance\": \"0.933048\",\r\n \"count\": \"2\",\r\n
45
45
  \ \"text\": \"Google\",\r\n \"disambiguated\": {\r\n
46
46
  \ \"subType\": [\r\n \"AcademicInstitution\",\r\n
47
47
  \ \"AwardPresentingOrganization\",\r\n \"OperatingSystemDeveloper\",\r\n
@@ -55,7 +55,7 @@ http_interactions:
55
55
  \"http://www.crunchbase.com/company/google\",\r\n \"semanticCrunchbase\":
56
56
  \"http://cb.semsol.org/company/google.rdf\"\r\n }\r\n },\r\n
57
57
  \ {\r\n \"type\": \"Company\",\r\n \"relevance\":
58
- \"0.381087\",\r\n \"count\": \"1\",\r\n \"text\": \"YouTube\",\r\n
58
+ \"0.415913\",\r\n \"count\": \"1\",\r\n \"text\": \"YouTube\",\r\n
59
59
  \ \"disambiguated\": {\r\n \"subType\": [\r\n \"Website\",\r\n
60
60
  \ \"BroadcastDistributor\",\r\n \"FilmDistributor\",\r\n
61
61
  \ \"VentureFundedCompany\",\r\n \"AwardWinner\"\r\n
@@ -64,8 +64,21 @@ http_interactions:
64
64
  \ \"freebase\": \"http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000000982f58\",\r\n
65
65
  \ \"yago\": \"http://mpii.de/yago/resource/YouTube\",\r\n \"crunchbase\":
66
66
  \"http://www.crunchbase.com/company/youtube\",\r\n \"semanticCrunchbase\":
67
- \"http://cb.semsol.org/company/youtube.rdf\"\r\n }\r\n }\r\n
68
- \ ]\r\n}\r\n"
67
+ \"http://cb.semsol.org/company/youtube.rdf\"\r\n }\r\n },\r\n
68
+ \ {\r\n \"type\": \"Country\",\r\n \"relevance\":
69
+ \"0.34493\",\r\n \"count\": \"1\",\r\n \"text\": \"India\",\r\n
70
+ \ \"disambiguated\": {\r\n \"subType\": [\r\n \"Location\",\r\n
71
+ \ \"HumanLanguage\",\r\n \"Region\",\r\n
72
+ \ \"GovernmentalJurisdiction\",\r\n \"FilmEditor\"\r\n
73
+ \ ],\r\n \"name\": \"India\",\r\n \"geo\":
74
+ \"21.0 78.0\",\r\n \"website\": \"http://india.gov.in/\",\r\n
75
+ \ \"dbpedia\": \"http://dbpedia.org/resource/India\",\r\n \"freebase\":
76
+ \"http://rdf.freebase.com/ns/guid.9202a8c04000641f800000000001de20\",\r\n
77
+ \ \"ciaFactbook\": \"http://www4.wiwiss.fu-berlin.de/factbook/resource/India\",\r\n
78
+ \ \"umbel\": \"http://umbel.org/umbel/ne/wikipedia/India\",\r\n
79
+ \ \"opencyc\": \"http://sw.opencyc.org/concept/Mx4rvVj7XJwpEbGdrcN5Y29ycA\",\r\n
80
+ \ \"yago\": \"http://mpii.de/yago/resource/India\"\r\n }\r\n
81
+ \ }\r\n ]\r\n}\r\n"
69
82
  http_version: '1.1'
70
- recorded_at: Sun, 17 Jun 2012 02:02:51 GMT
71
- recorded_with: VCR 2.2.0
83
+ recorded_at: Sat, 07 Jul 2012 16:26:10 GMT
84
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetRankedKeywords
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>foo
9
- bar</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>foo bar</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:00:53 GMT
26
+ - Sat, 07 Jul 2012 17:23:31 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -44,5 +44,5 @@ http_interactions:
44
44
  [\r\n {\r\n \"text\": \"foo bar\",\r\n \"relevance\":
45
45
  \"0.987525\"\r\n }\r\n ]\r\n}\r\n"
46
46
  http_version: '1.1'
47
- recorded_at: Sun, 17 Jun 2012 02:02:52 GMT
48
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:10 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetRankedKeywords
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=lorem ipsum&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=lorem ipsum&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:00:53 GMT
26
+ - Sat, 07 Jul 2012 17:23:32 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -44,5 +44,5 @@ http_interactions:
44
44
  [\r\n {\r\n \"text\": \"lorem ipsum\",\r\n \"relevance\":
45
45
  \"0.993164\"\r\n }\r\n ]\r\n}\r\n"
46
46
  http_version: '1.1'
47
- recorded_at: Sun, 17 Jun 2012 02:02:52 GMT
48
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:10 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetRankedKeywords
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.google.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.google.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:00:53 GMT
26
+ - Sat, 07 Jul 2012 17:23:32 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,6 +34,7 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
+ - ! '*'
37
38
  body:
38
39
  encoding: US-ASCII
39
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -63,5 +64,5 @@ http_interactions:
63
64
  \ },\r\n {\r\n \"text\": \"Photos\",\r\n \"relevance\":
64
65
  \"0.153342\"\r\n }\r\n ]\r\n}\r\n"
65
66
  http_version: '1.1'
66
- recorded_at: Sun, 17 Jun 2012 02:02:52 GMT
67
- recorded_with: VCR 2.2.0
67
+ recorded_at: Sat, 07 Jul 2012 16:26:11 GMT
68
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetLanguage
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Lorem
9
- ipsum dolor sit amet.</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Lorem ipsum dolor sit amet.</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 04:32:15 GMT
26
+ - Sat, 07 Jul 2012 17:23:32 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -45,5 +44,5 @@ http_interactions:
45
44
  \"http://www.ethnologue.com/show_language.asp?code=lat\",\r\n \"native-speakers\":
46
45
  \"second language only\",\r\n \"wikipedia\": \"http://en.wikipedia.org/wiki/Latin_language\"\r\n}\r\n"
47
46
  http_version: '1.1'
48
- recorded_at: Sun, 17 Jun 2012 03:34:14 GMT
49
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:11 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetLanguage
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=Lorem ipsum dolor
9
- sit amet.&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=Lorem ipsum dolor sit amet.&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 04:32:15 GMT
26
+ - Sat, 07 Jul 2012 17:23:33 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -45,5 +45,5 @@ http_interactions:
45
45
  \"http://www.ethnologue.com/show_language.asp?code=lat\",\r\n \"native-speakers\":
46
46
  \"second language only\",\r\n \"wikipedia\": \"http://en.wikipedia.org/wiki/Latin_language\"\r\n}\r\n"
47
47
  http_version: '1.1'
48
- recorded_at: Sun, 17 Jun 2012 03:34:14 GMT
49
- recorded_with: VCR 2.2.0
48
+ recorded_at: Sat, 07 Jul 2012 16:26:11 GMT
49
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetLanguage
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.alchemyapi.com/&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.alchemyapi.com/&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 04:32:15 GMT
26
+ - Sat, 07 Jul 2012 17:23:33 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -45,5 +45,5 @@ http_interactions:
45
45
  \"eng\",\r\n \"ethnologue\": \"http://www.ethnologue.com/show_language.asp?code=eng\",\r\n
46
46
  \ \"native-speakers\": \"309-400 million\",\r\n \"wikipedia\": \"http://en.wikipedia.org/wiki/English_language\"\r\n}\r\n"
47
47
  http_version: '1.1'
48
- recorded_at: Sun, 17 Jun 2012 03:34:15 GMT
49
- recorded_with: VCR 2.2.0
48
+ recorded_at: Sat, 07 Jul 2012 16:26:12 GMT
49
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetRelations
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Google
9
- is a large company</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Google is a large company</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:31:22 GMT
26
+ - Sat, 07 Jul 2012 17:23:34 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -49,5 +48,5 @@ http_interactions:
49
48
  {\r\n \"text\": \"a large company\"\r\n }\r\n }\r\n
50
49
  \ ]\r\n}\r\n"
51
50
  http_version: '1.1'
52
- recorded_at: Sun, 17 Jun 2012 02:33:21 GMT
53
- recorded_with: VCR 2.2.0
51
+ recorded_at: Sat, 07 Jul 2012 16:26:12 GMT
52
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetRelations
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=Google is a large
9
- company&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=Google is a large company&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:31:23 GMT
26
+ - Sat, 07 Jul 2012 17:23:34 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -49,5 +49,5 @@ http_interactions:
49
49
  {\r\n \"text\": \"a large company\"\r\n }\r\n }\r\n
50
50
  \ ]\r\n}\r\n"
51
51
  http_version: '1.1'
52
- recorded_at: Sun, 17 Jun 2012 02:33:22 GMT
53
- recorded_with: VCR 2.2.0
52
+ recorded_at: Sat, 07 Jul 2012 16:26:13 GMT
53
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetRelations
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.alchemy.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.alchemy.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:32:45 GMT
26
+ - Sat, 07 Jul 2012 17:23:35 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,6 +34,7 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
+ - ! '*'
37
38
  body:
38
39
  encoding: US-ASCII
39
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -54,5 +55,5 @@ http_interactions:
54
55
  {\r\n \"text\": \"help with in the mean time\"\r\n }\r\n
55
56
  \ }\r\n ]\r\n}\r\n"
56
57
  http_version: '1.1'
57
- recorded_at: Sun, 17 Jun 2012 02:34:45 GMT
58
- recorded_with: VCR 2.2.0
58
+ recorded_at: Sat, 07 Jul 2012 16:26:14 GMT
59
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetTextSentiment
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>Alchemy
9
- is cool</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>Alchemy is cool</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:15:12 GMT
26
+ - Sat, 07 Jul 2012 17:23:36 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,6 +34,7 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
37
+ - ! '*'
38
38
  body:
39
39
  encoding: US-ASCII
40
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -44,5 +44,5 @@ http_interactions:
44
44
  {\r\n \"type\": \"positive\",\r\n \"score\": \"0.147308\"\r\n
45
45
  \ }\r\n}\r\n"
46
46
  http_version: '1.1'
47
- recorded_at: Sun, 17 Jun 2012 02:17:11 GMT
48
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:15 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/text/TextGetTextSentiment
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&text=Alchemy is cool&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&text=Alchemy is cool&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:15:12 GMT
26
+ - Sat, 07 Jul 2012 17:23:37 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -44,5 +44,5 @@ http_interactions:
44
44
  {\r\n \"type\": \"positive\",\r\n \"score\": \"0.147308\"\r\n
45
45
  \ }\r\n}\r\n"
46
46
  http_version: '1.1'
47
- recorded_at: Sun, 17 Jun 2012 02:17:11 GMT
48
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:17 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetTextSentiment
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.alchemyapi.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.alchemyapi.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:15:13 GMT
26
+ - Sat, 07 Jul 2012 17:23:39 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -44,5 +44,5 @@ http_interactions:
44
44
  \ \"docSentiment\": {\r\n \"type\": \"positive\",\r\n \"score\":
45
45
  \"0.0921735\"\r\n }\r\n}\r\n"
46
46
  http_version: '1.1'
47
- recorded_at: Sun, 17 Jun 2012 02:17:12 GMT
48
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:17 GMT
48
+ recorded_with: VCR 2.2.2
@@ -5,8 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/html/HTMLGetText
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>foo
9
- bar</body></html>&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&html=<html><body>foo bar</body></html>&outputMode=json
10
9
  headers:
11
10
  content-type:
12
11
  - application/x-www-form-urlencoded
@@ -24,7 +23,7 @@ http_interactions:
24
23
  server:
25
24
  - nginx
26
25
  date:
27
- - Sun, 17 Jun 2012 03:00:54 GMT
26
+ - Sat, 07 Jul 2012 17:23:39 GMT
28
27
  content-type:
29
28
  - application/json
30
29
  connection:
@@ -35,7 +34,6 @@ http_interactions:
35
34
  - no-cache
36
35
  access-control-allow-origin:
37
36
  - ! '*'
38
- - ! '*'
39
37
  body:
40
38
  encoding: US-ASCII
41
39
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -43,5 +41,5 @@ http_interactions:
43
41
  by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html\",\r\n
44
42
  \ \"url\": \"\",\r\n \"text\": \"\"\r\n}\r\n"
45
43
  http_version: '1.1'
46
- recorded_at: Sun, 17 Jun 2012 02:02:53 GMT
47
- recorded_with: VCR 2.2.0
44
+ recorded_at: Sat, 07 Jul 2012 16:26:18 GMT
45
+ recorded_with: VCR 2.2.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://access.alchemyapi.com/calls/url/URLGetText
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&url=http://www.google.com&outputMode=json
8
+ string: apikey=ALCHEMY_KEY&url=http://www.google.com&outputMode=json
9
9
  headers:
10
10
  content-type:
11
11
  - application/x-www-form-urlencoded
@@ -23,7 +23,7 @@ http_interactions:
23
23
  server:
24
24
  - nginx
25
25
  date:
26
- - Sun, 17 Jun 2012 03:00:54 GMT
26
+ - Sat, 07 Jul 2012 17:23:40 GMT
27
27
  content-type:
28
28
  - application/json
29
29
  connection:
@@ -34,6 +34,7 @@ http_interactions:
34
34
  - no-cache
35
35
  access-control-allow-origin:
36
36
  - ! '*'
37
+ - ! '*'
37
38
  body:
38
39
  encoding: US-ASCII
39
40
  string: ! "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
@@ -43,5 +44,5 @@ http_interactions:
43
44
  information, including webpages, images, videos and more. Google has many
44
45
  special features to help you find exactly what you're looking for.\"\r\n}\r\n"
45
46
  http_version: '1.1'
46
- recorded_at: Sun, 17 Jun 2012 02:02:53 GMT
47
- recorded_with: VCR 2.2.0
47
+ recorded_at: Sat, 07 Jul 2012 16:26:19 GMT
48
+ recorded_with: VCR 2.2.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-api-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-17 00:00:00.000000000 Z
12
+ date: 2012-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70335753260500 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,31 @@ dependencies:
21
21
  version: 0.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70335753260500
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.1
30
+ - !ruby/object:Gem::Dependency
31
+ name: minitest
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 3.1.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 3.1.0
25
46
  - !ruby/object:Gem::Dependency
26
47
  name: rake
27
- requirement: &70335753257680 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
28
49
  none: false
29
50
  requirements:
30
51
  - - ~>
@@ -32,10 +53,15 @@ dependencies:
32
53
  version: 0.9.2
33
54
  type: :development
34
55
  prerelease: false
35
- version_requirements: *70335753257680
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.2
36
62
  - !ruby/object:Gem::Dependency
37
63
  name: turn
38
- requirement: &70335756598620 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
39
65
  none: false
40
66
  requirements:
41
67
  - - ~>
@@ -43,10 +69,15 @@ dependencies:
43
69
  version: 0.9.5
44
70
  type: :development
45
71
  prerelease: false
46
- version_requirements: *70335756598620
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.5
47
78
  - !ruby/object:Gem::Dependency
48
79
  name: vcr
49
- requirement: &70335756597240 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
50
81
  none: false
51
82
  requirements:
52
83
  - - ~>
@@ -54,10 +85,15 @@ dependencies:
54
85
  version: 2.2.0
55
86
  type: :development
56
87
  prerelease: false
57
- version_requirements: *70335756597240
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.2.0
58
94
  - !ruby/object:Gem::Dependency
59
95
  name: fakeweb
60
- requirement: &70335756595800 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
61
97
  none: false
62
98
  requirements:
63
99
  - - ~>
@@ -65,7 +101,12 @@ dependencies:
65
101
  version: 1.3.0
66
102
  type: :development
67
103
  prerelease: false
68
- version_requirements: *70335756595800
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.3.0
69
110
  description: Provides access to the Alchemy text mining API - http://www.alchemyapi.com/
70
111
  email:
71
112
  - john.allen@technekes.com
@@ -74,6 +115,8 @@ extensions: []
74
115
  extra_rdoc_files: []
75
116
  files:
76
117
  - .gitignore
118
+ - .travis.yml
119
+ - .yardopts
77
120
  - Gemfile
78
121
  - LICENSE
79
122
  - README.md
@@ -106,7 +149,6 @@ files:
106
149
  - spec/text_extraction_spec.rb
107
150
  - spec/vcr_cassettes/author_basic_html_json_search.yml
108
151
  - spec/vcr_cassettes/author_basic_url_json_search.yml
109
- - spec/vcr_cassettes/category_basic_html_json_search.yml
110
152
  - spec/vcr_cassettes/category_basic_text_json_search.yml
111
153
  - spec/vcr_cassettes/category_basic_url_json_search.yml
112
154
  - spec/vcr_cassettes/concept_basic_html_json_search.yml
@@ -149,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
191
  version: '0'
150
192
  requirements: []
151
193
  rubyforge_project:
152
- rubygems_version: 1.8.10
194
+ rubygems_version: 1.8.23
153
195
  signing_key:
154
196
  specification_version: 3
155
197
  summary: This is a ruby client library that provides access to the Alechemy text mining
@@ -170,7 +212,6 @@ test_files:
170
212
  - spec/text_extraction_spec.rb
171
213
  - spec/vcr_cassettes/author_basic_html_json_search.yml
172
214
  - spec/vcr_cassettes/author_basic_url_json_search.yml
173
- - spec/vcr_cassettes/category_basic_html_json_search.yml
174
215
  - spec/vcr_cassettes/category_basic_text_json_search.yml
175
216
  - spec/vcr_cassettes/category_basic_url_json_search.yml
176
217
  - spec/vcr_cassettes/concept_basic_html_json_search.yml
@@ -193,4 +234,3 @@ test_files:
193
234
  - spec/vcr_cassettes/sentiment_basic_url_json_search.yml
194
235
  - spec/vcr_cassettes/text_basic_html_json_search.yml
195
236
  - spec/vcr_cassettes/text_basic_url_json_search.yml
196
- has_rdoc:
@@ -1,43 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://access.alchemyapi.com/calls/html/HTMLGetCategory
6
- body:
7
- encoding: US-ASCII
8
- string: apikey=cbc80670767f2e9ccecc9a6f4df6f45f207d9cda&html=<html><body>foo
9
- bar</body></html>&outputMode=json
10
- headers:
11
- content-type:
12
- - application/x-www-form-urlencoded
13
- accept:
14
- - ! '*/*'
15
- user-agent:
16
- - Ruby
17
- connection:
18
- - close
19
- response:
20
- status:
21
- code: 200
22
- message: OK
23
- headers:
24
- server:
25
- - nginx
26
- date:
27
- - Sun, 17 Jun 2012 04:10:32 GMT
28
- content-type:
29
- - application/json
30
- connection:
31
- - close
32
- content-length:
33
- - '63'
34
- cache-control:
35
- - no-cache
36
- access-control-allow-origin:
37
- - ! '*'
38
- body:
39
- encoding: US-ASCII
40
- string: ! "{\r\n \"status\": \"ERROR\",\r\n \"statusInfo\": \"invalid-url\"\r\n}\r\n"
41
- http_version: '1.1'
42
- recorded_at: Sun, 17 Jun 2012 03:12:32 GMT
43
- recorded_with: VCR 2.2.0