Project

trendy

0.0
No commit activity in last 3 years
No release in over 3 years
A wrapper for the Twitter API that gets trends.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.2.0
 Project Readme

Trendy¶ ↑

Trendy is a simple Twitter Search API Wrapper that does one thing: gives you the current Trends on Twitter.

Installation¶ ↑

gem install trendy

Example¶ ↑

Remember to add a “config.gem trendy” line in your environment.rb.

require 'trendy'
current_trends = Trendy::Trends.new
current_trends.each do |trend|
  puts trend.name
  puts trend.url
end

Tests¶ ↑

To run the rspec tests for this gem, just run ‘rake’ in the main directory.

TODO¶ ↑

Add support for older trends, including daily and weekly trends for a given date. Also add support for local geo-aware trends.

Copyright © 2010 Paul Fedory, released under the MIT license