Loading repository data…
Loading repository data…
bravobit / repository
A complete pastebin.com API wrapper for Java
jPastebin is a complete pastebin.com API wrapper for Java. It's an implementation of the full pastebin API.
You can generate a paste with just a few lines!
In order to use this API you´ll need a pastebin developer key.
This API can do much more than just generating pastes.
This API wrapper is fully documentated! You can find the javadoc here.
Having trouble starting? Check out some examples to get you started.
String developerKey = "INSERT DEVELOPER KEY HERE";
String title = "My first jPastebin paste!"; // insert your own title
String contents = "Hello world"; // insert your own paste contents
// paste, get URL & print
System.out.println(Pastebin.pastePaste(developerKey, contents, title));
You can find more advanced examples in the examples package
Having issues? Post a new issue.
The current version of this API is v1.0. This API uses the latest official pastebin.com API.