RentPrep API for running background and other checks on applying renters.
This module lets you create and query applications; along with add and remove applicants.
$ npm i -s git+https://git@github.com:Villa-Rentals/rentprep-sdk.git
The RentPrep API authenticates using the api key. This api key can be requested by contacting RentPrep directly. The library needs to be initialized with the api key and a flag determining production. Example:
new RentPrep({
production: false,
key: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
});
See the documentation for more information about the SDK.
The api key is required for the tests to pass. This can be obtained by contacting RentPrep directly. Once these key has been acquired, create a .env file from the .env.example file and provide the key. This will be used to authenticate your requests.
$ npm install --dev
$ npm test