/boostr-java-sdk

Boostr Java SDK client library

Primary LanguageJavaApache License 2.0Apache-2.0

🅱️ boostr-java-sdk

License

Boostr Java SDK client library to interact with boostr.com


Installation

Import the library to your project using jitpack repository

Gradle

  1. Add the JitPack repository to your build file
repositories {
    ...
    maven { url 'https://jitpack.io' }
}
  1. Add the boostr-java-sdk library dependency
implementation 'com.github.galimru:boostr-java-sdk:1.0.0'

Note: The JitPack supports both Gradle/Maven build tools, please refer to jitpack documentation if you want use Maven

Dead simple example

         // create api client for sandbox environment
        Credentials credentials = Credentials.of("<YOUR_USERNAME>", "<YOUR_PASSWORD>");
        BoostrClient client = BoostrClient.create(credentials, true);
        // get list of all deals
        List<DealResponse> deals = client.deals().list();
        // extract deal id from a deal
        Integer dealId = deals.get(0).getId();
        // update deal name by deal id
        Deal deal = new Deal();
        deal.setName("Changed Deal Name");
        client.deals().update(dealId, deal);

License

Apache License 2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Links

Boostr.com

Swagger API