I've having some trouble understanding the API, in the past with other API's I've just used a simple PHP with curl script to action a specific task on a service. I don't need a full library and the Digital Oce...
A very simple way to do this, without curl would be using file_get_contents and streams.
function doapi( $key, $method, $uri, array $data =  )
* DigitalOcean API URI