I'm working on a program where I'm coding in Java, and require to use certain Bitbucket features using Java code. However, BitBucket doesn't provide any nicely-packaged-use-out-of-the-box libraries for Java developers, which means I'll have to use their REST API.
How would I go about this?
Would I make use of java.net.URL and/or java.net.URLConnection? Or maybe use Jersey/JAX-RS? Or something else?
To sum up:
Which would be the simplest, most correct way of using BitBucket's REST APIs in Java?
And using the suggested method, how would I, say, create an issue on the issue tracker of the tutorials repository?
Thanks :)
PS: This is not homework :). I have not put any code here because I don't have much of an idea about web development, let alone doing web-development-related-tasks via Java :(.
I've interacted with REST APIs just fine using URLConnection.
You should look to confirm there are no Java libraries available (even if no official ones there might be unofficial 3rd party ones).