Skip to content

Instantly share code, notes, and snippets.

@hanigamal
Created January 3, 2013 01:04
Show Gist options
  • Save hanigamal/4439949 to your computer and use it in GitHub Desktop.
Save hanigamal/4439949 to your computer and use it in GitHub Desktop.
Assembla API
<?php
require_once('assembla.plugin');
$key = '...'; //this is your assembla space id
$username = '...'; //this is an assembla user account name
$password = '...'; //this is the password for the above user
$A = new Assembla($key, $username, $password);
//$tickets = $A->listTickets();
$result = $A->createTicket(array(
'priority' => 3,
'status' => 0,
'summary' => 'test ticket',
'description' => 'here is a description'
));
print_r($result);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment