Giter Site home page Giter Site logo

jpastebin's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.