smartcar / python-sdk

Smartcar Python SDK
MIT License
44 stars 13 forks source link

refactor: Clean up SDK, fix typos, match spec #96

Closed nbry closed 3 years ago

nbry commented 3 years ago
nbry commented 3 years ago

refactor: Clean up SDK, fix typos, match spec, and update docs

refactor: Updated returns on start/stop charge and lock/unlock methods to return Action object, which has an attribute of 'message' refactor: Updated Charge to have attribute of state instead of status docs: Updated REFERENCE docs to reflect changes to action method fix: Fixed typo with SmartcarException for docURL attribute chore: Reviewed and updated method docstrings and type hints test: Changed testing suite to run fixtures for entire session, rather than per module test: Added type and attribute tests on smartcar.Vehicle tests test: Updated testing suite to test AuthClient.get_auth_url() with full options argument