GithubHelp home page GithubHelp logo

anedumgottil / java-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freeclimbapi/java-sdk

0.0 1.0 0.0 335 KB

Java SDK for the FreeClimb API

License: MIT License

Java 89.45% Gherkin 10.55%

java-sdk's Introduction

Introduction

The FreeClimb Java SDK will allow you to easily use the FreeClimb API in a Java application.

Release Build Status Maintainability Test Coverage Docs

SDK Installation

To include the SDK in your build, follow the instructions on Jitpack

Testing your Installation

Test the SDK is working by sending yourself a text message.

public class Example {

    public static final String accountId = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    public static final String authToken = "your_auth_token";
    public static final String To = "your_phone_number";
    public static final String From = "a_free_climb_phone_number_in_your_account";

    public static void main(String[] args) throws FreeClimbException {
        FreeClimbClient client = new FreeClimbClient(accountId, authToken);

        client.messages.create(From, To, "Welcome to FreeClimb!");
    }
}

When you run this code you should get a text message.

Running Unit Tests

You can run gradle test to run the full test suite.

You can also specify cucumber tags with the usual boolean inclusion / exclusion, specific feature files, or the line of the scenario or scenario outline example to run.

gradle -Dcucumber.options=src/test/resources/com/vailsys/freeclimb/api/call/Call.feature:5 test
gradle -Dcucumber.options="--tags @Calls" test

You can generate a Cobertura coverage report by running gradle cobertura. The report will be found at build/cobertura.

Documentation

The FreeClimb documentation has guides on getting started with FreeClimb, as well as the API reference and PerCL reference

Getting Help

If you are experiencing difficulties, contact our support team at [email protected].

Dependencies

This SDK targets Java 7.

Import these dependencies:

  • com.google.code.gson:gson:2.6.2

java-sdk's People

Contributors

deseao avatar fsanfilipp avatar kohearn-vail avatar staylo32 avatar wajiw avatar

Watchers

 avatar

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.