moneyhub / moneyhub-api-client

Node.JS Client for the Moneyhub API
10 stars 7 forks source link

Add automatic versioning to api urls with customisation #74

Closed tomstrat closed 12 months ago

tomstrat commented 1 year ago

API-379

This change adds functionality to add a version to your API urls.

With no version it defaults to v3, if you add a version to the URL then it will use this, if you add a version in options it will use this next.

Identity urls are specifically checked for and untouched.

Tests were written by my good friend co-pilot, and seem to be pretty solid!