billingbetter

Billing Better api bindings

Usage no npm install needed!

<script type="module">
  import billingbetter from 'https://cdn.skypack.dev/billingbetter';
</script>

README

Billing Better Api Bindings

http://docs.billingbetter.co.uk/

const billingBetter = new BillingBetter({ token: YOUR_AUTH_TOKEN })
billingBetter.getPackages({ postcode: 'LE2 1AB', isStudent: true })

Running Tests

To run tests you will need to get an API token. Create a file in the root directory called .env and add:

TEST_TOKEN=[YOUR API TOKEN]

Note: All tests run in sandbox mode.