Set your default language: PHP | Curl

GET places/:id

Get information about a requested place.

Details

URL https://api.heello.com/places/:id.format
Requires Authentication No
Rate Limited Yes
Response Formats json

Parameters

Parameter Required Notes
:id Place ID to load information for.

Note this is likely a GUID type ID (i.e. in the form of:
322-8a159504-35c1-490e-a9db-cce686a72c8c).
key The application ID for the application making the request.

Errors

There are no unique error states for this endpoint, please see our page detailing general errors you may encounter.

Example Usage

GET https://api.heello.com/places/:id.json
curl https://api.heello.com/places/322-0cab6928-e62b-4d48-a005-5199c61264d3.json?key=APPLICATION_KEY
// Note: PHP Examples use the Heello PHP Client library
// https://github.com/Heello/heello-php
require_once dirname(dirname(dirname(__FILE__))) . '/Heello.php';

// You can get an Application Key and Secret by visiting:
// http://developer.heello.com/apps
$api_application_key = "APPLICATION_KEY";
$api_application_secret = "APPLICATION_SECRET";

$api = new Heello\Client($api_application_key, $api_application_secret);

try{
  // Array of notifications for the auth'd user
  $place = $api->places->show(array(
    "id" => "322-0cab6928-e62b-4d48-a005-5199c61264d3"
  ));

  print_r($place);
}
catch (Exception $e){
  print $e->getMessage();
}
Please use the "Live Demo" below to see an example response.
You may need to login or create an account before making requests against the API.

Live Demo

Please login and create an application to perform live API testing.