This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
// make sure the folder of the script is writeble (0777) | |
$basecampUrl = '[YOUR BASECAMP URL HERE]'; // e.g. https://stelabouras.basecamphq.com/ (Don't forget the trailing slash!) | |
$apiKey = '[YOUR API KEY HERE]'; // e.g. one huge string (found in 'My info' in the Authentication tokens section) | |
function BasecampCall($endPoint, $usePrefix = true) { | |
global $apiKey, $basecampUrl; | |
// From: http://prattski.com/2008/10/22/basecamp-api-examples-using-php-and-curl-get/ |