/to-the-market-api

USDA Farmer's Market Data... as an API!

Primary LanguageRuby

To The Market API

Code Climate

USDA Farmer's Market Data, parsed from a CSV and put into a beautiful RESTful API!

Usage

Production URL

Access our API by following these routes:

/api/v1/markets is a list of all the farmers' markets in the U.S. by name

/api/v1/markets?address=true appends the address of each market to the original index of markets

/api/v1/markets/:market_id/payment_types is a listing of the types of payments a particular market takes

/api/v1/markets/:market_id/products is a listing of the types of products you can expect to find at this market

/api/v1/search/markets?zipcode=:zipcode is a listing of markets found within a 30 mi. radius of the queried zipcode