Skip to content

kaimu-kun/hastebin.java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hastebin.java

A simple Hastebin API wrapper for Java.

Download:

Latest Stable Version: GitHub Release

Example:

Hastebin hastebin = new Hastebin();

// Defines the text which you want to post to hastebin
String text = "This is an example";

// Set this boolean to true to receive the url with the raw post
boolean raw = true;

try {
  String url = hastebin.post(text, raw);
  System.out.println(url);
} catch (IOException e) {
  e.printStackTrace();
}

About

A simple Hastebin API wrapper for Java.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages