rtopsy

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 <[email protected]>

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.