Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/smartcar-py
A python SDK for accessing the smartcar-py API.
https://github.com/speakeasy-sdks/smartcar-py
api python sdk smart-car
Last synced: 2 days ago
JSON representation
A python SDK for accessing the smartcar-py API.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/smartcar-py
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-04-18T11:00:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:20:18.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:51.365Z (6 months ago)
- Topics: api, python, sdk, smart-car
- Language: Python
- Homepage: https://smartcar.com/docs/api/
- Size: 521 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## SDK Installation
```bash
pip install SmartCar
```## SDK Example Usage
```python
import smartcar
from smartcar.models import operations, shareds = smartcar.Smartcar(
security=shared.Security(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
),
vehicle_id="36ab27d0-fd9d-4455-823a-ce30af709ffc",
)req = operations.GetLocationRequest()
res = s.vehicles.get_location(req)if res.location is not None:
# handle response
```## Available Resources and Operations
### compatibility
* `list_compatibility` - Compatibility
### evs
* `get_battery_capacity` - EV Battery Capacity
* `get_battery_level` - EV Battery Level
* `get_charging_status` - EV Charging Status### vehicles
* `disconnect` - Revoke Access
* `get` - Vehicle Info
* `get_engine_oil` - Engine Oil Life
* `get_fuel_tank` - Fuel Tank (US Only)
* `get_location` - Location
* `get_odometer` - Odometer
* `get_permissions` - Application Permissions
* `get_tire_pressure` - Tire pressure
* `list_vehicles` - All Vehicles
* `lock_unlock` - Unlock Vehicle### Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.### Contributions
While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)