golem 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +53 -2
  2. data/VERSION +1 -1
  3. data/golem.gemspec +1 -1
  4. metadata +1 -1
@@ -1,6 +1,57 @@
1
- = golem - golem.de parser.
1
+ = golem - A golem.de parser.
2
+
3
+ == DESCRIPTION:
4
+
5
+ A simple library for looking up articles, related videos and related images on http://www.golem.de by using the api.golem.de webservice.
6
+ * http://github.com/daigoro/golem
7
+
8
+ == FEATURES:
9
+
10
+ * Fetching latest articles
11
+ * Fetching list of article images
12
+ * Fetching article meta data
13
+ * Fetching top articles
14
+ * Search articles
15
+ * Fetching latest videos
16
+ * Fetching video meta data
17
+ * Fetching top videos
18
+
19
+ == SYNOPSIS:
20
+
21
+ require 'rubygems'
22
+ require 'golem'
23
+
24
+ To search for articles:
25
+
26
+ g = Golem.new("your_developer_key")
27
+ articles = g.search_articles("google")
28
+
29
+ # Display all headlines after the search
30
+
31
+ articles["data"]["records"].each{|a| puts a["headline"] }
32
+
33
+ Display all top article headlines
34
+
35
+ g.top_articles["data"].each{|a| puts a["headline"] }
36
+
37
+ To learn more please take a look at the test script.
38
+
39
+ = REQUIREMENTS:
40
+ Following gem is needed:
41
+ * json_pure
42
+
43
+ == INSTALL:
44
+ Install and activate the gemcutter gem if needed
45
+ $ gem install gemcutter
46
+ $ gem tumble
47
+
48
+ To install the gem itself run
49
+ $ gem install golem
50
+
51
+ == TEST:
52
+ You can run all tests by using rake. Before you can run the tests, please create a file at "test/key" with a golem developer key.
2
53
 
3
54
  == URLS:
4
55
 
56
+ http://github.com/daigoro/golem
5
57
  http://api.golem.de/doc/reference.php
6
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{golem}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bernhard Essl"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: golem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernhard Essl