Created
January 3, 2013 01:04
-
-
Save hanigamal/4439949 to your computer and use it in GitHub Desktop.
Assembla API
This file contains hidden or 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
<?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