Project

rtopsy

0.0
No commit activity in last 3 years
No release in over 3 years
A ruby gem implementation of the Topsy API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.3.3

Runtime

>= 0.4.3
 Project Readme

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:

  1. Topsy::API.authorinfo(‘barackobama’)

  2. Topsy::API.authorsearch(‘programming’,‘a’)

  3. Topsy::API.authorsearch(‘programming’)

  4. Topsy::API.linkposts(‘barackobama’,page_number,per_page)

  5. Topsy::API.linkposts(‘barackobama’)

  6. Topsy::API.linkpostcount(‘barackobama’)

  7. Topsy::API.urlinfo(‘www.aycron.com’)

  8. Topsy::API.stats(‘www.aycron.com’)

  9. Topsy::API.search(‘rock’,window,page_number,perpage) #window can be :auto, :h, :d, :w, :m, :a

  10. Topsy::API.search(‘rock’) #defaults window :auto, page_number 1, perpage 10

  11. Topsy::API.searchcount(‘rock’)

  12. Topsy::API.search(‘rock’)

  13. Topsy::API.profilesearch(‘Aycron+Director’)

  14. Topsy::API.profilesearch(‘Aycron+Director’, page_number, perpage)

  15. Topsy::API.related(‘www.hashrocket.com’)

  16. Topsy::API.related(‘www.google.com/’, page_number, perpage)

  17. Topsy::API.tags(‘twitter.com’, page_number, perpage)

  18. Topsy::API.tags(‘twitter.com’)

  19. Topsy::API.trending(page_number, perpage)

  20. Topsy::API.trending # defaults page_number 1, perpage 10

  21. 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/

  1. gem install gemcutter # if necessary

  2. gem tumble # if necessary

  3. 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.