Skip to content

Instantly share code, notes, and snippets.

@datapolitical
Created August 28, 2012 07:19
Show Gist options
  • Save datapolitical/3495803 to your computer and use it in GitHub Desktop.
Save datapolitical/3495803 to your computer and use it in GitHub Desktop.
public function currenciesjson() {
$parameters = array();
$response = HttpClient::doRequest(
HttpMethod::GET,
"https://joss-open-exchange-rates.p.mashape.com/currencies.json",
null,
$this->authHandlers,
true);
return $response;
}
public function historicalyyyy-mm-ddjson($day, $month, $year) {
$parameters = array(
"day" => $day,
"month" => $month,
"year" => $year);
return $this->historicalyyyy-mm-ddjsonArrayParams($parameters);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment