Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.6 KB

README.md

File metadata and controls

57 lines (39 loc) · 2.6 KB

stomt Java-SDK Build Status Stomt API Current Version

Java-based SDK for the stomt API to support the integration in Android applications and any other Java based systems. Our SDK allows you to add the feedback solution www.stomt.com to your Android or Java-based app.

Installation

To install the stomt-java-SDK you have multiple choices.

Maven

Manually

Done!

Configuration

Documentation

###Common Usages

####Create an anonym stomt The most common action while using the SDK is to send a Stomt.

// Create a stomt client object with your assigned application id (https://www.stomt.com/dev/apps).
StomtClient stomtClient = new StomtClient("YOUR APPID");
// Use the method 'createAnonymStomt(...)'. This method is overloaded and can be used with different arguments.
// The following example only uses these arguments: boolean positive(“I wish”: positive=false and “I like”: positive=true), String targetID, String stomtText.
stomtClient.createStomt(true, "sdk", "What I like about the target");

####Create a non-anonym stomt The most common action while using the SDK is to send a Stomt.

// Create a stomt client object with your assigned application id (https://www.stomt.com/dev/apps).
StomtClient stomtClient = new StomtClient("YOUR APPID");
// Login to your existing stomt account.
stomtClient.login("YOUR USERNAME", "YOUR PASSWORD");
// Use the method 'createStomt(...)'. This method is overloaded and can be used with different arguments.
// The following example only uses these arguments: boolean positive(“I wish”: positive=false and “I like”: positive=true), String targetID, String stomtText.
stomtClient.createStomt(false, "sdk", "What I wish for the target"");

For more examples check out the JUnit test cases (src/test/java) - there are examples for all implemented methods.

Contribution

We would love to see you contributing to our Java SDK. Feel free to fork it and we're also awaiting your pull-requests! Please visit the project on stomt to support with your ideas and wishes.

Author

Christoph Weidemeyer

More about stomt