Product release‎ > ‎

jPastebin

Note: The Pastebin.com API has been updated to a new version and I am currently looking into attempting to update jPastebin for the new API. The API provided by 0.1 Stable is no more valid.

jPastebin is a simple and lightweight Java API for uploading code snippets and text to
pastebin.com.

The usage of the API is simply three to four lines worth of codes and you could upload texts to pastebin.com. Below is a sample code.

    jpastebin.API api = new jpastebin.API();
    boolean success = api.isSuccessful(api.uploadToPastebin("Test Message","Test/Test","<your email                          here>","jpastebin",false,"1H","text"));
    System.out.println("Is successful: "+success+", Return Msg: "+api.getReturnMessage());  

I have licensed jPastebin under an experimental license I am releasing called the Simply Free License (version 1.0).

Please click on the above license to read more about the license.

Download
  • version 0.1 Stable release on 24 July 2010 - [HERE] *** OUTDATED ***