/api-java

Handles generation of an authentication token and submission to the StuRents API in Java

Primary LanguageJavaMIT LicenseMIT

StuRents API Helper

Installation

Install using maven. Can be tested using com.sturents.api.Cli by running:

java -cp /path/to/jar/file com.sturents.api.Cli LANDLORD_ID API_KEY /path/to/file.json

With the arguments in capitals replaced by their respective values.

Send data to StuRents

import com.sturents.api.SendHouses;

...

String response = SendHouses.run(landlord_id, api_key, json);