Repository navigation
v5.2.0
Pre-release
Pre-release
feat: add set_api_version method and SmartcarExceptionV2 class This release adds support for v2.0 of Smartcar's API by introducing the `smartcar.set_api_version` method. We have also introduced a `SmartcarExceptionV2` class whose fields match the error fields returned by v2.0 of the API as documented on the [API Reference](https://smartcar.com/docs/api/?version=v2.0#errors). This class extends the `SmartcarException` class to ease the migration process. For a detailed breakdown of the changes and how to migrate see our [API Changelog for v2.0](https://smartcar.com/docs/changelog/v2.0/) and our [v2.0 Error Guides](https://smartcar.com/docs/errors/v2.0/billing). Co-authored-by: Gurpreet Atwal <git@gatwal.com>