Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

yet another twitter api

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .yardoc
Octocat-spinner-32 autotest
Octocat-spinner-32 doc
Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 VERSION
Octocat-spinner-32 yatapi.gemspec
README.rdoc

yatapi (Yet Another Twitter API)

Yup another twitter api wrapper. Using yajl-ruby gem for parsing the JSON.

Multiple packages within yatapi

Currently, there are two other libraries currently being built, within yatapi. I've started the abstraction of these, papi being complete. At some point in the future, both papi and mongo_cache will be pulled from yatapi into their gem library.

Papi

Papi is a very simple wrapper over HTTP that includes JSON parsing, using yajl. Papi does not currently support XML. Once I have the need for XML I'll add it.

The parsing goal is to be fast and efficient.

Papi now includes basic OAuth support for passing user's token/secret for using their account. Authentication via OAuth is not yet included.

Mongo Cache

Mongo Cache is a very simple cache system. Its goal is to be as flexible and dynamic as MongoDB itself. Currently, it does basic key/object caching. There is no authentication built in and automatic indexing is coming soon.

Mongo Cache provides a cache block that can wrap around your method calls that will first to see if it exists within it's cache. If it is not in the cache, the method is performed, the results are cached and then returned.

If the method is in the cache, it will check if it has expired (you set when you want your objects to expire) and if it has not, it will pull the results from the cache and return those. If it has expired, it is deleted from the cache, the method is performed, and the results are stored in the cache and then returned.

This library is currently influx having just the base developed at this point.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2009 Robert R Evans. See LICENSE for details.

Something went wrong with that request. Please try again.