Hi. I’ve searched for a java api wrapper without any luck so I’ve started to build one. For the moment is very basic. Give it a try.
https://github.com/2beers/digitalocean-java-api
If someone else has a better implementation please share so we can join forces.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
We’re trying to access Digital Ocean API using Java, but apparently Java has a known issue with some types of SSL certificates. <br> <br>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044060 <br> <br>Digital Ocean API uses a godaddy wildcard certificate, and sometimes the Java code throws the following exception: <br>java.lang.RuntimeException: Could not generate DH keypair <br> <br>It’s random, sometimes the key exchange works and sometimes doesn’t. <br> <br>Has this problem ever happened to anyone?
That’s pretty sweet also check out our developers working on integrating with the API in this thread: <br> <br>https://www.digitalocean.com/community/questions/community-built-tools
I have published the digitalocean-api-client [https://github.com/jeevatkm/digitalocean-api-java] library into Maven Central Repo. It’s simple and easy to use. <br> <br><dependency> <br><groupId>com.myjeeva</groupId> <br><artifactId>digitalocean-api-client</artifactId> <br><version>1.0</version> <br></dependency> <br> <br>Refer Readme at https://github.com/jeevatkm/digitalocean-api-java <br> <br>Refer Test case for usage: https://github.com/jeevatkm/digitalocean-api-java/blob/master/src/test/java/com/myjeeva/digitalocean/DigitalOceanTest.java <br> <br>Javadocs: http://docs.myjeeva.com/javadoc/digitalocean-api-client/1.0/ <br>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.