Create an Account
To use the CampShare API you must have a verified user account. It costs nothing and takes seconds so
why not get started now?
Listings
GET: /locations/:location_id/categories/:category_id/listings?keywords=:keywords&filters=:filters
Search for listings given a location, category, keywords and/or filters.
Sample Request URL
/locations/37/categories/392/listings?keywords=netbook&filters=Condition,New;Type,Netbook%2FComputer
Sample Response
GET: /locations/:location_id/categories/:category_id/listings
Get all active listings in a location and category. See the categories and locations sections to get their ids.
Sample Response
GET: /listings?ids=:ids
Get details for a set of listings specified by their ids.
Sample Request URL
/listings?ids=82a940b30d704cd0981a5d69ba11384a,1b8b9cbd40b88383402f0784eb5a196c,
fccd8d7f492a1c944295b4d8663fac51,1135213c86e28d4c699588e221290f08,
11da700e0482a6a7cf0a22b5a0044130
Sample Response
GET: /listings/:id
Get data on a specified listing.
Sample Response
POST: /listings
Create a new listing on CampShare under your user account. Structure is similar to what is returned when you GET a listing.
To find valid meta data name and value combinations see the categories section.
The request should consist of a JSON encoded string in a listing parameter.
Simple Sample Request
Sample Response
Categories
GET: /categories
Get a list of all categories.
Sample Response
GET: /categories/:id
Get data on a category. Includes its name and available meta data.
Sample Response
Users
GET: /users/:login
Get details about any registered CampShare user.
Sample Response
GET: /users/:login/listings
Get all active listings for a user.
Sample Response
Locations
GET: /locations
Get a list of all locations in CampShare.
Sample Response