Constructor for the API
Prepares the request URL and client api params
public __construct ( boolean | String $client_id = false, boolean | String $client_secret = false, string $redirect_uri = '', String $version = 'v2', string $language = 'en', string $api_version = DEFAULT_VERSION ) | ||
$client_id | boolean | String | |
$client_secret | boolean | String | |
$redirect_uri | string | |
$version | String | Defaults to v2, appends into the API url |
$language | string | |
$api_version | string | https://developer.foursquare.com/overview/versioning |