tesla-api-sdk 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tesla_api_sdk-1.0.2/tesla_api_sdk.egg-info → tesla_api_sdk-1.0.3}/PKG-INFO +30 -30
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/README.md +29 -29
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/pyproject.toml +1 -1
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3/tesla_api_sdk.egg-info}/PKG-INFO +30 -30
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/base_controller.py +1 -1
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/charging_controller.py +5 -5
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/energy_controller.py +13 -13
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/partner_controller.py +6 -6
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/user_controller.py +6 -6
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/vehicle_commands_controller.py +23 -23
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/vehicles_controller.py +23 -23
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/LICENSE +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/MANIFEST.in +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/setup.cfg +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/tesla_api_sdk.egg-info/SOURCES.txt +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/tesla_api_sdk.egg-info/dependency_links.txt +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/tesla_api_sdk.egg-info/requires.txt +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/tesla_api_sdk.egg-info/top_level.txt +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/api_helper.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/configuration.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/o_auth_authorization_controller.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/exceptions/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/exceptions/api_exception.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/exceptions/o_auth_provider_exception.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/api_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/auth/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/auth/bearer_auth.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/auth/thirdpartytoken.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/http_call_back.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/http_client_provider.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/http_method_enum.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/http_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/http_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/http/proxy_settings.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/logging/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/logging/configuration/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/logging/configuration/api_logging_configuration.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/logging/sdk_logger.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/actuate_trunk_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/add_charge_schedule_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/add_precondition_schedule_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/adjust_volume_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_dx_vehicles_options_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_dx_warranty_details_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_vehicles_mobile_enabled_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_vehicles_nearby_charging_sites_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_vehicles_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_vehicles_response_get_vehicle.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/api_1_vehicles_wake_up_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/backup_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/backup_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/calendar_history_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charge_duration.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charge_history.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charge_history_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charge_start_time.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_dimension.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_fee.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_history_data.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_history_item.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_history_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_invoice.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_location.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_period.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_session.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_sessions_data.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/charging_sessions_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/command_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/command_result.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/default_real_mode.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/driver.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/drivers_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/enterprise_payer_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/event.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/fleet_status_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/fleet_telemetry_error.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/fleet_telemetry_errors_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/fleet_telemetry_jws_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/generic_update_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/guest_mode_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/kind.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/kind_get_wall_connector_charging_history.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/live_status_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/location.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/location_1.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/me_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/mobile_enabled.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/o_auth_provider_error.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/o_auth_scope_thirdpartytoken.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/o_auth_token.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/off_grid_vehicle_charging_reserve_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/operation_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/orders_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/pagination.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/price_component.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/products_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/public_key_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/region_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/register_partner_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/register_partner_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_1.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_2.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_3.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_api_1_dx_vehicles_options_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_api_1_dx_warranty_details_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_calendar_history_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_charge_history_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_fleet_telemetry_errors_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_live_status_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_me_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_orders_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_public_key_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_region_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/response_register_partner_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/signaling.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/simple_ok_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/site_info_response.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/storm_mode_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/tariff_element.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/tariffs.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/time_of_use_settings_request.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/total_cost.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/tou_settings.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/vehicle_base.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/vehicle_option.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/warranty_item.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/models/which_trunk.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/teslafleetmanagementapi_client.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/utilities/__init__.py +0 -0
- {tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/utilities/file_wrapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tesla-api-sdk
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Tesla-API SDK
|
|
5
5
|
Author-email: Muhammad Rafay <muhammad.rafay@apimatic.io>
|
|
6
6
|
Project-URL: Documentation, https://developer.tesla.com/
|
|
@@ -28,15 +28,15 @@ The package is compatible with Python versions `3.7+`.
|
|
|
28
28
|
Install the package from PyPi using the following pip command:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
pip install tesla-api-sdk==1.0.
|
|
31
|
+
pip install tesla-api-sdk==1.0.3
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
You can also view the package at:
|
|
35
|
-
https://pypi.python.org/pypi/tesla-api-sdk/1.0.
|
|
35
|
+
https://pypi.python.org/pypi/tesla-api-sdk/1.0.3
|
|
36
36
|
|
|
37
37
|
## Initialize the API Client
|
|
38
38
|
|
|
39
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
39
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/client.md)
|
|
40
40
|
|
|
41
41
|
The following parameters are configurable for the API Client:
|
|
42
42
|
|
|
@@ -51,10 +51,10 @@ The following parameters are configurable for the API Client:
|
|
|
51
51
|
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
52
52
|
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
53
53
|
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
54
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
55
|
-
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
56
|
-
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
57
|
-
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
54
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
55
|
+
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md) | The SDK logging configuration for API calls |
|
|
56
|
+
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md) | The credential object for OAuth 2 Bearer token |
|
|
57
|
+
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md) | The credential object for OAuth 2 Authorization Code Grant |
|
|
58
58
|
|
|
59
59
|
The API client can be initialized as follows:
|
|
60
60
|
|
|
@@ -107,45 +107,45 @@ from teslafleetmanagementapi.teslafleetmanagementapi_client import Teslafleetman
|
|
|
107
107
|
client = TeslafleetmanagementapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
110
|
+
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md) section for details.
|
|
111
111
|
|
|
112
112
|
## Authorization
|
|
113
113
|
|
|
114
114
|
This API uses the following authentication schemes.
|
|
115
115
|
|
|
116
|
-
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
117
|
-
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
116
|
+
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md)
|
|
117
|
+
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md)
|
|
118
118
|
|
|
119
119
|
## List of APIs
|
|
120
120
|
|
|
121
|
-
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
122
|
-
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
123
|
-
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
124
|
-
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
125
|
-
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
126
|
-
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
121
|
+
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicle-commands.md)
|
|
122
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/charging.md)
|
|
123
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/energy.md)
|
|
124
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/partner.md)
|
|
125
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/user.md)
|
|
126
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicles.md)
|
|
127
127
|
|
|
128
128
|
## SDK Infrastructure
|
|
129
129
|
|
|
130
130
|
### Configuration
|
|
131
131
|
|
|
132
|
-
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
133
|
-
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
134
|
-
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
135
|
-
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
136
|
-
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
137
|
-
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
132
|
+
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md)
|
|
133
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md)
|
|
134
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/abstract-logger.md)
|
|
135
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md)
|
|
136
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/request-logging-configuration.md)
|
|
137
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/response-logging-configuration.md)
|
|
138
138
|
|
|
139
139
|
### HTTP
|
|
140
140
|
|
|
141
|
-
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
142
|
-
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
141
|
+
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-response.md)
|
|
142
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-request.md)
|
|
143
143
|
|
|
144
144
|
### Utilities
|
|
145
145
|
|
|
146
|
-
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
147
|
-
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
148
|
-
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
149
|
-
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
150
|
-
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
146
|
+
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-response.md)
|
|
147
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-helper.md)
|
|
148
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-date-time.md)
|
|
149
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/rfc3339-date-time.md)
|
|
150
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/unix-date-time.md)
|
|
151
151
|
|
|
@@ -11,15 +11,15 @@ The package is compatible with Python versions `3.7+`.
|
|
|
11
11
|
Install the package from PyPi using the following pip command:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
pip install tesla-api-sdk==1.0.
|
|
14
|
+
pip install tesla-api-sdk==1.0.3
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
You can also view the package at:
|
|
18
|
-
https://pypi.python.org/pypi/tesla-api-sdk/1.0.
|
|
18
|
+
https://pypi.python.org/pypi/tesla-api-sdk/1.0.3
|
|
19
19
|
|
|
20
20
|
## Initialize the API Client
|
|
21
21
|
|
|
22
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
22
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/client.md)
|
|
23
23
|
|
|
24
24
|
The following parameters are configurable for the API Client:
|
|
25
25
|
|
|
@@ -34,10 +34,10 @@ The following parameters are configurable for the API Client:
|
|
|
34
34
|
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
35
35
|
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
36
36
|
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
37
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
38
|
-
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
39
|
-
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
40
|
-
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
37
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
38
|
+
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md) | The SDK logging configuration for API calls |
|
|
39
|
+
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md) | The credential object for OAuth 2 Bearer token |
|
|
40
|
+
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md) | The credential object for OAuth 2 Authorization Code Grant |
|
|
41
41
|
|
|
42
42
|
The API client can be initialized as follows:
|
|
43
43
|
|
|
@@ -90,45 +90,45 @@ from teslafleetmanagementapi.teslafleetmanagementapi_client import Teslafleetman
|
|
|
90
90
|
client = TeslafleetmanagementapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
93
|
+
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md) section for details.
|
|
94
94
|
|
|
95
95
|
## Authorization
|
|
96
96
|
|
|
97
97
|
This API uses the following authentication schemes.
|
|
98
98
|
|
|
99
|
-
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
100
|
-
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
99
|
+
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md)
|
|
100
|
+
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md)
|
|
101
101
|
|
|
102
102
|
## List of APIs
|
|
103
103
|
|
|
104
|
-
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
105
|
-
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
106
|
-
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
107
|
-
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
108
|
-
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
109
|
-
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
104
|
+
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicle-commands.md)
|
|
105
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/charging.md)
|
|
106
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/energy.md)
|
|
107
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/partner.md)
|
|
108
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/user.md)
|
|
109
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicles.md)
|
|
110
110
|
|
|
111
111
|
## SDK Infrastructure
|
|
112
112
|
|
|
113
113
|
### Configuration
|
|
114
114
|
|
|
115
|
-
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
116
|
-
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
117
|
-
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
118
|
-
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
119
|
-
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
120
|
-
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
115
|
+
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md)
|
|
116
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md)
|
|
117
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/abstract-logger.md)
|
|
118
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md)
|
|
119
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/request-logging-configuration.md)
|
|
120
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/response-logging-configuration.md)
|
|
121
121
|
|
|
122
122
|
### HTTP
|
|
123
123
|
|
|
124
|
-
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
125
|
-
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
124
|
+
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-response.md)
|
|
125
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-request.md)
|
|
126
126
|
|
|
127
127
|
### Utilities
|
|
128
128
|
|
|
129
|
-
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
130
|
-
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
131
|
-
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
132
|
-
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
133
|
-
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
129
|
+
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-response.md)
|
|
130
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-helper.md)
|
|
131
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-date-time.md)
|
|
132
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/rfc3339-date-time.md)
|
|
133
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/unix-date-time.md)
|
|
134
134
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "tesla-api-sdk"
|
|
6
6
|
description = "Tesla-API SDK"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.3"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
keywords = []
|
|
10
10
|
dependencies = ["apimatic-core~=0.2.0, >= 0.2.24", "apimatic-core-interfaces~=0.1.0, >= 0.1.8", "apimatic-requests-client-adapter~=0.1.0, >= 0.1.10", "python-dotenv>=0.21, <2.0"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tesla-api-sdk
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Tesla-API SDK
|
|
5
5
|
Author-email: Muhammad Rafay <muhammad.rafay@apimatic.io>
|
|
6
6
|
Project-URL: Documentation, https://developer.tesla.com/
|
|
@@ -28,15 +28,15 @@ The package is compatible with Python versions `3.7+`.
|
|
|
28
28
|
Install the package from PyPi using the following pip command:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
pip install tesla-api-sdk==1.0.
|
|
31
|
+
pip install tesla-api-sdk==1.0.3
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
You can also view the package at:
|
|
35
|
-
https://pypi.python.org/pypi/tesla-api-sdk/1.0.
|
|
35
|
+
https://pypi.python.org/pypi/tesla-api-sdk/1.0.3
|
|
36
36
|
|
|
37
37
|
## Initialize the API Client
|
|
38
38
|
|
|
39
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
39
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/client.md)
|
|
40
40
|
|
|
41
41
|
The following parameters are configurable for the API Client:
|
|
42
42
|
|
|
@@ -51,10 +51,10 @@ The following parameters are configurable for the API Client:
|
|
|
51
51
|
| backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
|
|
52
52
|
| retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
53
53
|
| retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
|
|
54
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
55
|
-
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
56
|
-
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
57
|
-
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
54
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
55
|
+
| logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md) | The SDK logging configuration for API calls |
|
|
56
|
+
| bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md) | The credential object for OAuth 2 Bearer token |
|
|
57
|
+
| thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md) | The credential object for OAuth 2 Authorization Code Grant |
|
|
58
58
|
|
|
59
59
|
The API client can be initialized as follows:
|
|
60
60
|
|
|
@@ -107,45 +107,45 @@ from teslafleetmanagementapi.teslafleetmanagementapi_client import Teslafleetman
|
|
|
107
107
|
client = TeslafleetmanagementapiClient.from_environment(dotenv_path='/path/to/.env')
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
110
|
+
See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md) section for details.
|
|
111
111
|
|
|
112
112
|
## Authorization
|
|
113
113
|
|
|
114
114
|
This API uses the following authentication schemes.
|
|
115
115
|
|
|
116
|
-
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
117
|
-
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
116
|
+
* [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md)
|
|
117
|
+
* [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md)
|
|
118
118
|
|
|
119
119
|
## List of APIs
|
|
120
120
|
|
|
121
|
-
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
122
|
-
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
123
|
-
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
124
|
-
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
125
|
-
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
126
|
-
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
121
|
+
* [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicle-commands.md)
|
|
122
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/charging.md)
|
|
123
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/energy.md)
|
|
124
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/partner.md)
|
|
125
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/user.md)
|
|
126
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicles.md)
|
|
127
127
|
|
|
128
128
|
## SDK Infrastructure
|
|
129
129
|
|
|
130
130
|
### Configuration
|
|
131
131
|
|
|
132
|
-
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
133
|
-
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
134
|
-
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
135
|
-
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
136
|
-
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
137
|
-
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
132
|
+
* [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md)
|
|
133
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md)
|
|
134
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/abstract-logger.md)
|
|
135
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md)
|
|
136
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/request-logging-configuration.md)
|
|
137
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/response-logging-configuration.md)
|
|
138
138
|
|
|
139
139
|
### HTTP
|
|
140
140
|
|
|
141
|
-
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
142
|
-
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
141
|
+
* [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-response.md)
|
|
142
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-request.md)
|
|
143
143
|
|
|
144
144
|
### Utilities
|
|
145
145
|
|
|
146
|
-
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
147
|
-
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
148
|
-
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
149
|
-
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
150
|
-
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.
|
|
146
|
+
* [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-response.md)
|
|
147
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-helper.md)
|
|
148
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-date-time.md)
|
|
149
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/rfc3339-date-time.md)
|
|
150
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/unix-date-time.md)
|
|
151
151
|
|
{tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/base_controller.py
RENAMED
|
@@ -30,7 +30,7 @@ class BaseController(object):
|
|
|
30
30
|
@staticmethod
|
|
31
31
|
def user_agent():
|
|
32
32
|
"""Return UserAgent value."""
|
|
33
|
-
return "Python SDK, Version: 1.0.
|
|
33
|
+
return "Python SDK, Version: 1.0.3, on OS {os-info}"
|
|
34
34
|
|
|
35
35
|
@staticmethod
|
|
36
36
|
def user_agent_parameters():
|
|
@@ -4,8 +4,8 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
# ruff: noqa: D410, E501, E101, D206
|
|
7
|
-
from apimatic_core.authentication.multiple.
|
|
8
|
-
|
|
7
|
+
from apimatic_core.authentication.multiple.or_auth_group import (
|
|
8
|
+
Or,
|
|
9
9
|
)
|
|
10
10
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
11
|
Single,
|
|
@@ -64,7 +64,7 @@ class ChargingController(BaseController):
|
|
|
64
64
|
.header_param(Parameter()
|
|
65
65
|
.key("accept")
|
|
66
66
|
.value("application/json"))
|
|
67
|
-
.auth(
|
|
67
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
68
68
|
).response(
|
|
69
69
|
ResponseHandler()
|
|
70
70
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -103,7 +103,7 @@ class ChargingController(BaseController):
|
|
|
103
103
|
.header_param(Parameter()
|
|
104
104
|
.key("accept")
|
|
105
105
|
.value("application/json"))
|
|
106
|
-
.auth(
|
|
106
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
107
107
|
).response(
|
|
108
108
|
ResponseHandler()
|
|
109
109
|
.deserializer(APIHelper.dynamic_deserialize)
|
|
@@ -134,7 +134,7 @@ class ChargingController(BaseController):
|
|
|
134
134
|
.header_param(Parameter()
|
|
135
135
|
.key("accept")
|
|
136
136
|
.value("application/json"))
|
|
137
|
-
.auth(
|
|
137
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
138
138
|
).response(
|
|
139
139
|
ResponseHandler()
|
|
140
140
|
.deserializer(APIHelper.json_deserialize)
|
{tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/energy_controller.py
RENAMED
|
@@ -4,8 +4,8 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
# ruff: noqa: D410, E501, E101, D206
|
|
7
|
-
from apimatic_core.authentication.multiple.
|
|
8
|
-
|
|
7
|
+
from apimatic_core.authentication.multiple.or_auth_group import (
|
|
8
|
+
Or,
|
|
9
9
|
)
|
|
10
10
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
11
|
Single,
|
|
@@ -95,7 +95,7 @@ class EnergyController(BaseController):
|
|
|
95
95
|
.key("accept")
|
|
96
96
|
.value("application/json"))
|
|
97
97
|
.body_serializer(APIHelper.json_serialize)
|
|
98
|
-
.auth(
|
|
98
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
99
99
|
).response(
|
|
100
100
|
ResponseHandler()
|
|
101
101
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -163,7 +163,7 @@ class EnergyController(BaseController):
|
|
|
163
163
|
.header_param(Parameter()
|
|
164
164
|
.key("accept")
|
|
165
165
|
.value("application/json"))
|
|
166
|
-
.auth(
|
|
166
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
167
167
|
).response(
|
|
168
168
|
ResponseHandler()
|
|
169
169
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -227,7 +227,7 @@ class EnergyController(BaseController):
|
|
|
227
227
|
.header_param(Parameter()
|
|
228
228
|
.key("accept")
|
|
229
229
|
.value("application/json"))
|
|
230
|
-
.auth(
|
|
230
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
231
231
|
).response(
|
|
232
232
|
ResponseHandler()
|
|
233
233
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -265,7 +265,7 @@ class EnergyController(BaseController):
|
|
|
265
265
|
.header_param(Parameter()
|
|
266
266
|
.key("accept")
|
|
267
267
|
.value("application/json"))
|
|
268
|
-
.auth(
|
|
268
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
269
269
|
).response(
|
|
270
270
|
ResponseHandler()
|
|
271
271
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -312,7 +312,7 @@ class EnergyController(BaseController):
|
|
|
312
312
|
.key("accept")
|
|
313
313
|
.value("application/json"))
|
|
314
314
|
.body_serializer(APIHelper.json_serialize)
|
|
315
|
-
.auth(
|
|
315
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
316
316
|
).response(
|
|
317
317
|
ResponseHandler()
|
|
318
318
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -359,7 +359,7 @@ class EnergyController(BaseController):
|
|
|
359
359
|
.key("accept")
|
|
360
360
|
.value("application/json"))
|
|
361
361
|
.body_serializer(APIHelper.json_serialize)
|
|
362
|
-
.auth(
|
|
362
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
363
363
|
).response(
|
|
364
364
|
ResponseHandler()
|
|
365
365
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -406,7 +406,7 @@ class EnergyController(BaseController):
|
|
|
406
406
|
.key("accept")
|
|
407
407
|
.value("application/json"))
|
|
408
408
|
.body_serializer(APIHelper.json_serialize)
|
|
409
|
-
.auth(
|
|
409
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
410
410
|
).response(
|
|
411
411
|
ResponseHandler()
|
|
412
412
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -453,7 +453,7 @@ class EnergyController(BaseController):
|
|
|
453
453
|
.key("accept")
|
|
454
454
|
.value("application/json"))
|
|
455
455
|
.body_serializer(APIHelper.json_serialize)
|
|
456
|
-
.auth(
|
|
456
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
457
457
|
).response(
|
|
458
458
|
ResponseHandler()
|
|
459
459
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -500,7 +500,7 @@ class EnergyController(BaseController):
|
|
|
500
500
|
.key("accept")
|
|
501
501
|
.value("application/json"))
|
|
502
502
|
.body_serializer(APIHelper.json_serialize)
|
|
503
|
-
.auth(
|
|
503
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
504
504
|
).response(
|
|
505
505
|
ResponseHandler()
|
|
506
506
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -528,7 +528,7 @@ class EnergyController(BaseController):
|
|
|
528
528
|
.header_param(Parameter()
|
|
529
529
|
.key("accept")
|
|
530
530
|
.value("application/json"))
|
|
531
|
-
.auth(
|
|
531
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
532
532
|
).response(
|
|
533
533
|
ResponseHandler()
|
|
534
534
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -566,7 +566,7 @@ class EnergyController(BaseController):
|
|
|
566
566
|
.header_param(Parameter()
|
|
567
567
|
.key("accept")
|
|
568
568
|
.value("application/json"))
|
|
569
|
-
.auth(
|
|
569
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
570
570
|
).response(
|
|
571
571
|
ResponseHandler()
|
|
572
572
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -4,8 +4,8 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
# ruff: noqa: D410, E501, E101, D206
|
|
7
|
-
from apimatic_core.authentication.multiple.
|
|
8
|
-
|
|
7
|
+
from apimatic_core.authentication.multiple.or_auth_group import (
|
|
8
|
+
Or,
|
|
9
9
|
)
|
|
10
10
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
11
|
Single,
|
|
@@ -69,7 +69,7 @@ class PartnerController(BaseController):
|
|
|
69
69
|
.header_param(Parameter()
|
|
70
70
|
.key("accept")
|
|
71
71
|
.value("application/json"))
|
|
72
|
-
.auth(
|
|
72
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
73
73
|
).response(
|
|
74
74
|
ResponseHandler()
|
|
75
75
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -99,7 +99,7 @@ class PartnerController(BaseController):
|
|
|
99
99
|
.header_param(Parameter()
|
|
100
100
|
.key("accept")
|
|
101
101
|
.value("application/json"))
|
|
102
|
-
.auth(
|
|
102
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
103
103
|
).response(
|
|
104
104
|
ResponseHandler()
|
|
105
105
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -135,7 +135,7 @@ class PartnerController(BaseController):
|
|
|
135
135
|
.header_param(Parameter()
|
|
136
136
|
.key("accept")
|
|
137
137
|
.value("application/json"))
|
|
138
|
-
.auth(
|
|
138
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
139
139
|
).response(
|
|
140
140
|
ResponseHandler()
|
|
141
141
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -175,7 +175,7 @@ class PartnerController(BaseController):
|
|
|
175
175
|
.key("accept")
|
|
176
176
|
.value("application/json"))
|
|
177
177
|
.body_serializer(APIHelper.json_serialize)
|
|
178
|
-
.auth(
|
|
178
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
179
179
|
).response(
|
|
180
180
|
ResponseHandler()
|
|
181
181
|
.deserializer(APIHelper.json_deserialize)
|
{tesla_api_sdk-1.0.2 → tesla_api_sdk-1.0.3}/teslafleetmanagementapi/controllers/user_controller.py
RENAMED
|
@@ -4,8 +4,8 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
# ruff: noqa: D410, E501, E101, D206
|
|
7
|
-
from apimatic_core.authentication.multiple.
|
|
8
|
-
|
|
7
|
+
from apimatic_core.authentication.multiple.or_auth_group import (
|
|
8
|
+
Or,
|
|
9
9
|
)
|
|
10
10
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
11
|
Single,
|
|
@@ -67,7 +67,7 @@ class UserController(BaseController):
|
|
|
67
67
|
.header_param(Parameter()
|
|
68
68
|
.key("accept")
|
|
69
69
|
.value("application/json"))
|
|
70
|
-
.auth(
|
|
70
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
71
71
|
).response(
|
|
72
72
|
ResponseHandler()
|
|
73
73
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -95,7 +95,7 @@ class UserController(BaseController):
|
|
|
95
95
|
.header_param(Parameter()
|
|
96
96
|
.key("accept")
|
|
97
97
|
.value("application/json"))
|
|
98
|
-
.auth(
|
|
98
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
99
99
|
).response(
|
|
100
100
|
ResponseHandler()
|
|
101
101
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -123,7 +123,7 @@ class UserController(BaseController):
|
|
|
123
123
|
.header_param(Parameter()
|
|
124
124
|
.key("accept")
|
|
125
125
|
.value("application/json"))
|
|
126
|
-
.auth(
|
|
126
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
127
127
|
).response(
|
|
128
128
|
ResponseHandler()
|
|
129
129
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -152,7 +152,7 @@ class UserController(BaseController):
|
|
|
152
152
|
.header_param(Parameter()
|
|
153
153
|
.key("accept")
|
|
154
154
|
.value("application/json"))
|
|
155
|
-
.auth(
|
|
155
|
+
.auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
|
|
156
156
|
).response(
|
|
157
157
|
ResponseHandler()
|
|
158
158
|
.deserializer(APIHelper.json_deserialize)
|