Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
= meme
Yahoo! Meme API wrapper library in Ruby
This project was made during {Yahoo! Open Hack Day Brasil 2010}[http://openhackbrazil.pbworks.com/]. Event that happened in Sao Paulo 20, 21 of March 2010.
Meme uses {YQL}[http://developer.yahoo.com/yql/] to get API of {Yahoo! Meme}[http://meme.yahoo.com/] and is based on {meme-py}[http://github.com/guilhermechapiewski/meme-py] API created by {Guilherme Chapiewski}[http://twitter.com/gchapiewski]
== Usage
=== Find a user by name
user = Meme::Info.find('jtadeulopes')
user.name => "jtadeulopes"
user.description => "software developer"
user.guid => "EMREXCV4R5OTM3CZW3HBD5QAGY"
user.avatar_url => "http://d.yimg.com/gg/jtadeulopes/avatars/44251e70378d4d225f8cda09a6c3aec87301833a.jpeg"
=== Followers and Following
followers = user.followers followers.count => 10
follower = followers.first
follower.name => "zigotto"
follower.url => "http://meme.yahoo.com/zigotto/"
following = user.following following.count => 10
=== Find posts
posts = Meme::Post.find('brhackday')
posts.first.category => "text"
posts.first.content => "RT @codepo8: And I am off - plane leaves BR for London. Thanks to everybody I met at #brhackday...
Find by type:
posts = Meme::Post.find('meme rocks', :type => :photo)
posts.first.type => "photo"
=== Popular
Returns the top 10 posts on that moment.
Currently, the codes are "en" for English, "es" for Spanish, "pt" for Portuguese and "id" for Bahasa Indonesia.
Meme::Post.popular
OR
Meme::Post.popular('id')
For more information, please refer the {project wiki}[http://wiki.github.com/jtadeulopes/meme/]
== Installation
sudo gem install meme
== TODO
Much remains to be done! Please refer the {project wiki}[http://wiki.github.com/jtadeulopes/meme/]
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Jésus Lopes. See LICENSE for details.
FAQs
Unknown package
We found that meme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.