rtopsy¶ ↑
IMPORTANT:¶ ↑
I am no longer maintaining this gem. I am now maintaining github.com/pengwynn/topsy
That is a better version of the rtopsy gem. A few improvements it has:
-
Tests for every method
-
More documentation and examples
-
Methods accept pagination options in a hash
DESCRIPTION:¶ ↑
A ruby gem implementation of the Topsy API
FEATURES:¶ ↑
rtopsy won’t do your laundry, but it will do this:
-
Topsy::API.authorinfo(‘barackobama’)
-
Topsy::API.authorsearch(‘programming’,‘a’)
-
Topsy::API.authorsearch(‘programming’)
-
Topsy::API.linkposts(‘barackobama’,page_number,per_page)
-
Topsy::API.linkposts(‘barackobama’)
-
Topsy::API.linkpostcount(‘barackobama’)
-
Topsy::API.urlinfo(‘www.aycron.com’)
-
Topsy::API.stats(‘www.aycron.com’)
-
Topsy::API.search(‘rock’,window,page_number,perpage) #window can be :auto, :h, :d, :w, :m, :a
-
Topsy::API.search(‘rock’) #defaults window :auto, page_number 1, perpage 10
-
Topsy::API.searchcount(‘rock’)
-
Topsy::API.search(‘rock’)
-
Topsy::API.profilesearch(‘Aycron+Director’)
-
Topsy::API.profilesearch(‘Aycron+Director’, page_number, perpage)
-
Topsy::API.related(‘www.hashrocket.com’)
-
Topsy::API.related(‘www.google.com/’, page_number, perpage)
-
Topsy::API.tags(‘twitter.com’, page_number, perpage)
-
Topsy::API.tags(‘twitter.com’)
-
Topsy::API.trending(page_number, perpage)
-
Topsy::API.trending # defaults page_number 1, perpage 10
-
Topsy::API.trackbacks(‘twitter.com’, tracktype, contains_string, infonly_flag, page_number, perpage)
REQUIREMENTS:¶ ↑
TODO list here: etagwerker.tadalist.com/lists/1436401/public
INSTALL:¶ ↑
rtopsy uses gemcutter.org/
-
gem install gemcutter # if necessary
-
gem tumble # if necessary
-
gem install rtopsy # which will use the gemcutter repository
LICENSE:¶ ↑
(The MIT License)
Copyright © 2009 Ernesto Tagwerker <etagwerker@aycron.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.