Skip to content

Java SDK for Space Invoices API written in Kotlin for Android with backwards compatibility for Java.

Notifications You must be signed in to change notification settings

space-invoices/space-invoices-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f8b71d4 · Jan 18, 2019

History

24 Commits
Jan 18, 2019
Jan 15, 2019
Jan 18, 2019
Jan 18, 2019
Jan 16, 2019
Jan 15, 2019
Jan 18, 2019
Jan 18, 2019
Jan 15, 2019
Jan 15, 2019
Jan 15, 2019
Jan 15, 2019
Jan 15, 2019

Repository files navigation

Space Invoices Java SDK (IN PROGRESS)

The Space Invoices Java SDK provides an easy way to access Space Invoices API from Java applications.

Documentation

Detailed documentation about the API can be found at docs.spaceinvoices.com

We also invite you to join our Slack community channel Space Invaders

Gradle

Latest official release:

implementation("si.studio404:space-invoices-java:0.0.1")

Usage

TOKEN and ACCOUNT_ID can be obtained by signing up for a developer account on our website spaceinvoices.com

Kotlin

Get SpaceInvoices instance:

val spaceInvoices = SpaceInvoices(TOKEN)

Create new Organization:

val response = spaceInvoices.createOrganization(
    ACCOUNT_ID, Organization(name = "SpaceX", country = "USA")
)

Java

Get SpaceInvoices instance:

SpaceInvoices spaceInvoices = new SpaceInvoices(TOKEN);

Create new Organization:

CreateOrganizationResponse response = spaceInvoices.createOrganization(
    ACCOUNT_ID,
    Organization.Builder()
        .setName("SpaceX")
        .setCountry("USA")
        .build()
);

Visit our website spaceinvoices.com

About

Java SDK for Space Invoices API written in Kotlin for Android with backwards compatibility for Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages