Skip to content

bravobit/jPastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jPastebin

About

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!

Developer key

In order to use this API you´ll need a pastebin developer key.

Features

This API can do much more than just generating pastes.

  • Creating pastes
  • Getting trending pastes
  • Getting pastes created by a user
  • Deleting a paste
  • Getting a users information and setting
  • Getting raw paste contents

Documentation

This API wrapper is fully documentated! You can find the javadoc here.

Examples

Having trouble starting? Check out some examples to get you started.

Simple example
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));
More examples

You can find more advanced examples in the examples package

Issues

Having issues? Post a new issue.


Version

The current version of this API is v1.0. This API uses the latest official pastebin.com API.

About

A complete pastebin.com API wrapper for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages