Project

urifetch

0.0
No commit activity in last 3 years
No release in over 3 years
Urifetch allows you to fetch data from any URL using pattern matching. The library allows for dynamically adding match handlers as well as build your own strategies.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 1.1.rc
>= 0
>= 0
>= 0
>= 0

Runtime

 Project Readme

Urifetch

Match URL's to request strategies and retrieve them in a usable format. Urifetch allows you to fetch data from any URL using pattern matching. The library allows for dynamically adding match handlers as well as build your own strategies.

Install

Simply install them gem through RubyGems

gem install urifetch

Or through Bundler

Gemfile:

gem 'urifetch' Run: ~$ bundle install

Basic Usage

Require the library

require 'urifetch'

Start using

response = Urifetch.fetch_from("http://www.github.com") response.status => ["200","ok"] response.data => { title: 'Google' }

Contributing to Urifetch

Coming soon...

Copyright

Copyright (c) 2012 Philip Vieira. See LICENSE.txt for further details.