I hereby claim:
- I am mattmo on github.
- I am mattm (https://keybase.io/mattm) on keybase.
- I have a public key whose fingerprint is F179 4EE7 81A7 3448 806E 853B 7190 04F9 2CF8 310D
To claim this, I am signing this object:
function asanaRequest($methodPath, $httpMethod = 'GET', $body = null) | |
{ | |
$apiKey = 'ASANA_API_KEY_HERE'; /// Get it from http://app.asana.com/-/account_api | |
$url = "https://app.asana.com/api/1.0/$methodPath"; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ; | |
curl_setopt($ch, CURLOPT_USERPWD, $apiKey); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
I hereby claim:
To claim this, I am signing this object: