rtopsy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +26 -22
- data/lib/rtopsy.rb +2 -2
- data/rtopsy.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -9,27 +9,27 @@ A ruby gem implementation of the Topsy API
|
|
9
9
|
== FEATURES:
|
10
10
|
|
11
11
|
rtopsy won't do your laundry, but it will do this:
|
12
|
-
1. Topsy::
|
13
|
-
2. Topsy::
|
14
|
-
3. Topsy::
|
15
|
-
4. Topsy::
|
16
|
-
5. Topsy::
|
17
|
-
6. Topsy::
|
18
|
-
7. Topsy::
|
19
|
-
8. Topsy::
|
20
|
-
9. Topsy::
|
21
|
-
10. Topsy::
|
22
|
-
11. Topsy::
|
23
|
-
12. Topsy::
|
24
|
-
13. Topsy::
|
25
|
-
14. Topsy::
|
26
|
-
15. Topsy::
|
27
|
-
16. Topsy::
|
28
|
-
17. Topsy::
|
29
|
-
18. Topsy::
|
30
|
-
19. Topsy::
|
31
|
-
20. Topsy::
|
32
|
-
21. Topsy::
|
12
|
+
1. Topsy::API.authorinfo('barackobama')
|
13
|
+
2. Topsy::API.authorsearch('programming','a')
|
14
|
+
3. Topsy::API.authorsearch('programming')
|
15
|
+
4. Topsy::API.linkposts('barackobama',page_number,per_page)
|
16
|
+
5. Topsy::API.linkposts('barackobama')
|
17
|
+
6. Topsy::API.linkpostcount('barackobama')
|
18
|
+
7. Topsy::API.urlinfo('http://www.aycron.com')
|
19
|
+
8. Topsy::API.stats('http://www.aycron.com')
|
20
|
+
9. Topsy::API.search('rock',window,page_number,perpage) #window can be :auto, :h, :d, :w, :m, :a
|
21
|
+
10. Topsy::API.search('rock') #defaults window :auto, page_number 1, perpage 10
|
22
|
+
11. Topsy::API.searchcount('rock')
|
23
|
+
12. Topsy::API.search('rock')
|
24
|
+
13. Topsy::API.profilesearch('Aycron+Director')
|
25
|
+
14. Topsy::API.profilesearch('Aycron+Director', page_number, perpage)
|
26
|
+
15. Topsy::API.related('http://www.hashrocket.com')
|
27
|
+
16. Topsy::API.related('http://www.google.com/', page_number, perpage)
|
28
|
+
17. Topsy::API.tags('http://twitter.com', page_number, perpage)
|
29
|
+
18. Topsy::API.tags('http://twitter.com')
|
30
|
+
19. Topsy::API.trending(page_number, perpage)
|
31
|
+
20. Topsy::API.trending # defaults page_number 1, perpage 10
|
32
|
+
21. Topsy::API.trackbacks('http://twitter.com', tracktype, contains_string, infonly_flag, page_number, perpage)
|
33
33
|
|
34
34
|
== REQUIREMENTS:
|
35
35
|
|
@@ -37,7 +37,11 @@ TODO list here: http://etagwerker.tadalist.com/lists/1436401/public
|
|
37
37
|
|
38
38
|
== INSTALL:
|
39
39
|
|
40
|
-
|
40
|
+
rtopsy uses http://gemcutter.org/
|
41
|
+
|
42
|
+
1. gem install gemcutter # if necessary
|
43
|
+
2. gem tumble # if necessary
|
44
|
+
3. gem install rtopsy # which will use the gemcutter repository
|
41
45
|
|
42
46
|
== LICENSE:
|
43
47
|
|
data/lib/rtopsy.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'json'
|
3
|
-
require '
|
3
|
+
require 'httparty'
|
4
4
|
|
5
5
|
$:.unshift(File.dirname(__FILE__)) unless
|
6
6
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
@@ -20,5 +20,5 @@ require 'rtopsy/target'
|
|
20
20
|
require 'rtopsy/tweet'
|
21
21
|
|
22
22
|
module Topsy
|
23
|
-
VERSION = '0.0.
|
23
|
+
VERSION = '0.0.2'
|
24
24
|
end
|
data/rtopsy.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtopsy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernesto Tagwerker
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-26 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|