Check out the widgets page for working examples.
If you have questions, or just want to let us know about cool projects you are working on with our API, let us know at
GigPark makes some data available for developers, via an API.
The GigPark API accepts RESTful requests, and returns JSON encoded responses. There are a number of ways to get data about the recommendations made through GigPark, including details for a specific recommendation, its associated business, recommendations made by a specific member, and recommendations made for a specific business.
GigPark has several different types of objects that it represents: recommendations, businesses, and users. Below are the keys associated with each object.
GigPark objects can be retrieved from the following URLs. All objects are requested based on their given string_id.
http://www.gigpark.com/recommendations/string_id.json
Please note that, as a convenience, when retrieving recommendation objects the corresponding business object is returned as well. E.g.:
{"recommendation": recommendation_object,
"business": business_object }
http://www.gigpark.com/people/string_id.json
http://www.gigpark.com/business/string_id.json
JSONP can be used to circumvent the Same Origin Policy in browsers. Essentially, the JSON response can be wrapped in a callback function:
http://www.gigpark.com/recommendations/string_id.json?callback=function_name
curl 'http://www.gigpark.com/recommendations/a6a9d34a1.json?callback=my_function'
my_function({
"recommendation": recommendation_object,
"business": business_object
})
You may request the data for the latest recommendations made by a specific GigPark member, based on that user's string_id.
http://www.gigpark.com/people/string_id/recommendations.json
The call will return an array of recommendations, up to a limit specified. The limit is capped at 100, and the unspecified value defaults to 20. The response could be wrapped in a callback function.
curl 'http://www.gigpark.com/people/tonytargonski/recommendations.json?limit=2&callback=my_function'
my_function({
"recommendations": [
recommendation_object_1,
recommendation_object_2
]
})
You may request the data for recommendations made by all GigPark members for a specific Business, based on business' string_id.
http://www.gigpark.com/businesses/string_id/recommendations.json
The call will return an array of recommendations, up to a limit specified. The limit is capped at 100, and the unspecified value defaults to 20. As a convenience the business object is returned as well. The response could be wrapped in a callback function.
The order of recommendations returned is the same as they would appear on their GigPark business page. Typically the newest recommendations will appear earlier in the list, but PRO businesses might choose to reorder the recommendations made for their business.
curl 'http://www.gigpark.com/businesses/gigpark/recommendations.json?limit=2&callback=my_function'
my_function({
"business": business_object,
"recommendations": [
recommendation_object_1,
recommendation_object_2
]
})
GigPark also offers several Atom feeds that aggregate recommendations for gigpark, users, and businesses. These Atom feeds can be used in news reader applications (e.g. Google Reader ) or for your own applications.
Just like the JSON, GigPark Atom feeds can be retrieved from the following URLs. All feeds are requested based on their given string_id.
http://www.gigpark.com/people/string_id.atom
http://www.gigpark.com/businesses/string_id.atom
http://feeds2.feedburner.com/gigpark
Please note that Atom feeds are paginated with 20 items per page.