rex-property

A wrapper for the REX property management API

Usage no npm install needed!

<script type="module">
  import rexProperty from 'https://cdn.skypack.dev/rex-property';
</script>

README

REX Property API

Interface with REX Software's property management API.

Usage (as of 2.0.0)

Services and methods map against the REX API directly and respond using Promises.

You will need to acquire a REX account before using the API.

For example:

const Rex = require('rex-property').connect(process.env.REX_EMAIL, process.env.REX_PASSWORD);

...and then something like:

Rex.Properties.search().then((results) => {
    console.log(`${results.total} Total`);
    console.log(results.rows);
}).catch(e => console.log(e));

For details, check out the actual API docs

Development

You need to get an account for the REX test environment and then enter the details into .env (check the example .env.example).