Git Product home page Git Product logo

foaas-java's Introduction

JFOAAS Build Status first-timers-onlyforthebadge

A Java API for Fuck Off As A Service (FOAAS) - http://foaas.com/ - Link to Github Repo

Getting Started

Download JFOAAS from the releases tab and add JFOAAS as an external library to your project.

JFOAAS currently is not hosted on any Gradle, Maven, or other software hosting repositories

JFOAAS is designed to be simple enough for even beginning Java programmers, the example provided below is what a JFOAAS method should look like, and the multiple ways you could take to get the same conclusion.

Be aware that different operations within JFOAAS might need multiple parameters, failing to currently fulfill them will result in JFOAAS throwing an Exception

Contributing

JFOAAS is simple to contribute to, a majority of new FOAAS operations can be added by modifying Fuck.java, and adding the correct parameters, which a majority of the time, already have a String value dedicated for another operation.

Support

Please feel free to open a issue if your are having trouble, I am willing to help anyone with any issue that relates to JFOAAS.

Example

import java.awt.Desktop;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

import me.ssederberg.jfoaas.Fuck;
import me.ssederberg.jfoaas.JFOAAS;
import me.ssederberg.jfoaas.Output;

public class Example {

	public static void main(String[] args) throws IOException, URISyntaxException {
		JFOAAS j = new JFOAAS("From", "Name"); // Does the same as .withName() and .withFom()
		
		String fuck = j.withFuck(Fuck.DONUT).build();
		
		System.out.println(fuck + "\n");
		
		// You can directly print without using a String!
		System.out.println(j.withFrom("From11").withName("Name11").withFuck(Fuck.DIABETES).build());
		
		String uri = j.url();
		
		// Opens the default browser to the URI.
		if(Desktop.isDesktopSupported()) Desktop.getDesktop().browse(new URI(uri));
	}
}

Disclaimer

FUCK OFF AS A SERVICE-JAVA WAS MADE IN THE SPIRIT OF SOCIAL CODING AND OPEN SOURCE SOFTWARE DEVELOPMENT, IT DOES NOT NECESSARILY REFLECT THE PERSONAL OPINIONS AND VIEWS OF SPENCER SEDERBERG, OR ANY CONTRIBUTERS OF THIS PROJECT.

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.