tesla-api-sdk 1.0.3__tar.gz → 1.0.4__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.3/tesla_api_sdk.egg-info → tesla_api_sdk-1.0.4}/PKG-INFO +30 -30
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/README.md +29 -29
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/pyproject.toml +1 -1
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4/tesla_api_sdk.egg-info}/PKG-INFO +30 -30
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/base_controller.py +1 -1
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/charging_controller.py +3 -6
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/energy_controller.py +11 -14
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/partner_controller.py +4 -7
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/user_controller.py +4 -7
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/vehicle_commands_controller.py +21 -24
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/vehicles_controller.py +21 -24
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/LICENSE +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/MANIFEST.in +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/setup.cfg +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/tesla_api_sdk.egg-info/SOURCES.txt +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/tesla_api_sdk.egg-info/dependency_links.txt +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/tesla_api_sdk.egg-info/requires.txt +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/tesla_api_sdk.egg-info/top_level.txt +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/api_helper.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/configuration.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/o_auth_authorization_controller.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/exceptions/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/exceptions/api_exception.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/exceptions/o_auth_provider_exception.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/api_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/auth/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/auth/bearer_auth.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/auth/thirdpartytoken.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/http_call_back.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/http_client_provider.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/http_method_enum.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/http_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/http_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/http/proxy_settings.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/logging/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/logging/configuration/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/logging/configuration/api_logging_configuration.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/logging/sdk_logger.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/actuate_trunk_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/add_charge_schedule_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/add_precondition_schedule_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/adjust_volume_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_dx_vehicles_options_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_dx_warranty_details_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_vehicles_mobile_enabled_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_vehicles_nearby_charging_sites_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_vehicles_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_vehicles_response_get_vehicle.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/api_1_vehicles_wake_up_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/backup_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/backup_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/calendar_history_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charge_duration.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charge_history.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charge_history_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charge_start_time.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_dimension.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_fee.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_history_data.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_history_item.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_history_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_invoice.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_location.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_period.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_session.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_sessions_data.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/charging_sessions_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/command_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/command_result.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/default_real_mode.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/driver.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/drivers_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/enterprise_payer_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/event.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/fleet_status_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/fleet_telemetry_error.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/fleet_telemetry_errors_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/fleet_telemetry_jws_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/generic_update_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/guest_mode_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/kind.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/kind_get_wall_connector_charging_history.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/live_status_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/location.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/location_1.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/me_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/mobile_enabled.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/o_auth_provider_error.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/o_auth_scope_thirdpartytoken.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/o_auth_token.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/off_grid_vehicle_charging_reserve_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/operation_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/orders_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/pagination.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/price_component.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/products_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/public_key_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/region_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/register_partner_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/register_partner_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_1.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_2.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_3.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_api_1_dx_vehicles_options_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_api_1_dx_warranty_details_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_calendar_history_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_charge_history_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_fleet_telemetry_errors_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_live_status_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_me_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_orders_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_public_key_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_region_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/response_register_partner_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/signaling.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/simple_ok_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/site_info_response.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/storm_mode_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/tariff_element.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/tariffs.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/time_of_use_settings_request.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/total_cost.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/tou_settings.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/vehicle_base.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/vehicle_option.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/warranty_item.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/models/which_trunk.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/teslafleetmanagementapi_client.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/utilities/__init__.py +0 -0
- {tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/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.4
|
|
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.4
|
|
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.4
|
|
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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/doc/controllers/vehicle-commands.md)
|
|
122
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/charging.md)
|
|
123
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/energy.md)
|
|
124
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/partner.md)
|
|
125
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/user.md)
|
|
126
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/proxy-settings.md)
|
|
133
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/environment-based-client-initialization.md)
|
|
134
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/abstract-logger.md)
|
|
135
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/logging-configuration.md)
|
|
136
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/request-logging-configuration.md)
|
|
137
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/http-response.md)
|
|
142
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/api-response.md)
|
|
147
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/api-helper.md)
|
|
148
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-date-time.md)
|
|
149
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/rfc3339-date-time.md)
|
|
150
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4
|
|
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.4
|
|
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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/doc/controllers/vehicle-commands.md)
|
|
105
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/charging.md)
|
|
106
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/energy.md)
|
|
107
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/partner.md)
|
|
108
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/user.md)
|
|
109
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/proxy-settings.md)
|
|
116
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/environment-based-client-initialization.md)
|
|
117
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/abstract-logger.md)
|
|
118
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/logging-configuration.md)
|
|
119
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/request-logging-configuration.md)
|
|
120
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/http-response.md)
|
|
125
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/api-response.md)
|
|
130
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/api-helper.md)
|
|
131
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-date-time.md)
|
|
132
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/rfc3339-date-time.md)
|
|
133
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4"
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/doc/controllers/vehicle-commands.md)
|
|
122
|
+
* [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/charging.md)
|
|
123
|
+
* [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/energy.md)
|
|
124
|
+
* [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/partner.md)
|
|
125
|
+
* [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/user.md)
|
|
126
|
+
* [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/proxy-settings.md)
|
|
133
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/environment-based-client-initialization.md)
|
|
134
|
+
* [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/abstract-logger.md)
|
|
135
|
+
* [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/logging-configuration.md)
|
|
136
|
+
* [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/request-logging-configuration.md)
|
|
137
|
+
* [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/http-response.md)
|
|
142
|
+
* [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/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.4/doc/api-response.md)
|
|
147
|
+
* [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/api-helper.md)
|
|
148
|
+
* [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-date-time.md)
|
|
149
|
+
* [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/rfc3339-date-time.md)
|
|
150
|
+
* [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/unix-date-time.md)
|
|
151
151
|
|
{tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/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.4, on OS {os-info}"
|
|
34
34
|
|
|
35
35
|
@staticmethod
|
|
36
36
|
def user_agent_parameters():
|
|
@@ -4,9 +4,6 @@ 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.or_auth_group import (
|
|
8
|
-
Or,
|
|
9
|
-
)
|
|
10
7
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
8
|
Single,
|
|
12
9
|
)
|
|
@@ -64,7 +61,7 @@ class ChargingController(BaseController):
|
|
|
64
61
|
.header_param(Parameter()
|
|
65
62
|
.key("accept")
|
|
66
63
|
.value("application/json"))
|
|
67
|
-
.auth(
|
|
64
|
+
.auth(Single("thirdpartytoken")),
|
|
68
65
|
).response(
|
|
69
66
|
ResponseHandler()
|
|
70
67
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -103,7 +100,7 @@ class ChargingController(BaseController):
|
|
|
103
100
|
.header_param(Parameter()
|
|
104
101
|
.key("accept")
|
|
105
102
|
.value("application/json"))
|
|
106
|
-
.auth(
|
|
103
|
+
.auth(Single("thirdpartytoken")),
|
|
107
104
|
).response(
|
|
108
105
|
ResponseHandler()
|
|
109
106
|
.deserializer(APIHelper.dynamic_deserialize)
|
|
@@ -134,7 +131,7 @@ class ChargingController(BaseController):
|
|
|
134
131
|
.header_param(Parameter()
|
|
135
132
|
.key("accept")
|
|
136
133
|
.value("application/json"))
|
|
137
|
-
.auth(
|
|
134
|
+
.auth(Single("thirdpartytoken")),
|
|
138
135
|
).response(
|
|
139
136
|
ResponseHandler()
|
|
140
137
|
.deserializer(APIHelper.json_deserialize)
|
{tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/energy_controller.py
RENAMED
|
@@ -4,9 +4,6 @@ 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.or_auth_group import (
|
|
8
|
-
Or,
|
|
9
|
-
)
|
|
10
7
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
8
|
Single,
|
|
12
9
|
)
|
|
@@ -95,7 +92,7 @@ class EnergyController(BaseController):
|
|
|
95
92
|
.key("accept")
|
|
96
93
|
.value("application/json"))
|
|
97
94
|
.body_serializer(APIHelper.json_serialize)
|
|
98
|
-
.auth(
|
|
95
|
+
.auth(Single("thirdpartytoken")),
|
|
99
96
|
).response(
|
|
100
97
|
ResponseHandler()
|
|
101
98
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -163,7 +160,7 @@ class EnergyController(BaseController):
|
|
|
163
160
|
.header_param(Parameter()
|
|
164
161
|
.key("accept")
|
|
165
162
|
.value("application/json"))
|
|
166
|
-
.auth(
|
|
163
|
+
.auth(Single("thirdpartytoken")),
|
|
167
164
|
).response(
|
|
168
165
|
ResponseHandler()
|
|
169
166
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -227,7 +224,7 @@ class EnergyController(BaseController):
|
|
|
227
224
|
.header_param(Parameter()
|
|
228
225
|
.key("accept")
|
|
229
226
|
.value("application/json"))
|
|
230
|
-
.auth(
|
|
227
|
+
.auth(Single("thirdpartytoken")),
|
|
231
228
|
).response(
|
|
232
229
|
ResponseHandler()
|
|
233
230
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -265,7 +262,7 @@ class EnergyController(BaseController):
|
|
|
265
262
|
.header_param(Parameter()
|
|
266
263
|
.key("accept")
|
|
267
264
|
.value("application/json"))
|
|
268
|
-
.auth(
|
|
265
|
+
.auth(Single("thirdpartytoken")),
|
|
269
266
|
).response(
|
|
270
267
|
ResponseHandler()
|
|
271
268
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -312,7 +309,7 @@ class EnergyController(BaseController):
|
|
|
312
309
|
.key("accept")
|
|
313
310
|
.value("application/json"))
|
|
314
311
|
.body_serializer(APIHelper.json_serialize)
|
|
315
|
-
.auth(
|
|
312
|
+
.auth(Single("thirdpartytoken")),
|
|
316
313
|
).response(
|
|
317
314
|
ResponseHandler()
|
|
318
315
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -359,7 +356,7 @@ class EnergyController(BaseController):
|
|
|
359
356
|
.key("accept")
|
|
360
357
|
.value("application/json"))
|
|
361
358
|
.body_serializer(APIHelper.json_serialize)
|
|
362
|
-
.auth(
|
|
359
|
+
.auth(Single("thirdpartytoken")),
|
|
363
360
|
).response(
|
|
364
361
|
ResponseHandler()
|
|
365
362
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -406,7 +403,7 @@ class EnergyController(BaseController):
|
|
|
406
403
|
.key("accept")
|
|
407
404
|
.value("application/json"))
|
|
408
405
|
.body_serializer(APIHelper.json_serialize)
|
|
409
|
-
.auth(
|
|
406
|
+
.auth(Single("thirdpartytoken")),
|
|
410
407
|
).response(
|
|
411
408
|
ResponseHandler()
|
|
412
409
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -453,7 +450,7 @@ class EnergyController(BaseController):
|
|
|
453
450
|
.key("accept")
|
|
454
451
|
.value("application/json"))
|
|
455
452
|
.body_serializer(APIHelper.json_serialize)
|
|
456
|
-
.auth(
|
|
453
|
+
.auth(Single("thirdpartytoken")),
|
|
457
454
|
).response(
|
|
458
455
|
ResponseHandler()
|
|
459
456
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -500,7 +497,7 @@ class EnergyController(BaseController):
|
|
|
500
497
|
.key("accept")
|
|
501
498
|
.value("application/json"))
|
|
502
499
|
.body_serializer(APIHelper.json_serialize)
|
|
503
|
-
.auth(
|
|
500
|
+
.auth(Single("thirdpartytoken")),
|
|
504
501
|
).response(
|
|
505
502
|
ResponseHandler()
|
|
506
503
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -528,7 +525,7 @@ class EnergyController(BaseController):
|
|
|
528
525
|
.header_param(Parameter()
|
|
529
526
|
.key("accept")
|
|
530
527
|
.value("application/json"))
|
|
531
|
-
.auth(
|
|
528
|
+
.auth(Single("thirdpartytoken")),
|
|
532
529
|
).response(
|
|
533
530
|
ResponseHandler()
|
|
534
531
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -566,7 +563,7 @@ class EnergyController(BaseController):
|
|
|
566
563
|
.header_param(Parameter()
|
|
567
564
|
.key("accept")
|
|
568
565
|
.value("application/json"))
|
|
569
|
-
.auth(
|
|
566
|
+
.auth(Single("thirdpartytoken")),
|
|
570
567
|
).response(
|
|
571
568
|
ResponseHandler()
|
|
572
569
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -4,9 +4,6 @@ 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.or_auth_group import (
|
|
8
|
-
Or,
|
|
9
|
-
)
|
|
10
7
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
8
|
Single,
|
|
12
9
|
)
|
|
@@ -69,7 +66,7 @@ class PartnerController(BaseController):
|
|
|
69
66
|
.header_param(Parameter()
|
|
70
67
|
.key("accept")
|
|
71
68
|
.value("application/json"))
|
|
72
|
-
.auth(
|
|
69
|
+
.auth(Single("thirdpartytoken")),
|
|
73
70
|
).response(
|
|
74
71
|
ResponseHandler()
|
|
75
72
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -99,7 +96,7 @@ class PartnerController(BaseController):
|
|
|
99
96
|
.header_param(Parameter()
|
|
100
97
|
.key("accept")
|
|
101
98
|
.value("application/json"))
|
|
102
|
-
.auth(
|
|
99
|
+
.auth(Single("thirdpartytoken")),
|
|
103
100
|
).response(
|
|
104
101
|
ResponseHandler()
|
|
105
102
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -135,7 +132,7 @@ class PartnerController(BaseController):
|
|
|
135
132
|
.header_param(Parameter()
|
|
136
133
|
.key("accept")
|
|
137
134
|
.value("application/json"))
|
|
138
|
-
.auth(
|
|
135
|
+
.auth(Single("thirdpartytoken")),
|
|
139
136
|
).response(
|
|
140
137
|
ResponseHandler()
|
|
141
138
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -175,7 +172,7 @@ class PartnerController(BaseController):
|
|
|
175
172
|
.key("accept")
|
|
176
173
|
.value("application/json"))
|
|
177
174
|
.body_serializer(APIHelper.json_serialize)
|
|
178
|
-
.auth(
|
|
175
|
+
.auth(Single("thirdpartytoken")),
|
|
179
176
|
).response(
|
|
180
177
|
ResponseHandler()
|
|
181
178
|
.deserializer(APIHelper.json_deserialize)
|
{tesla_api_sdk-1.0.3 → tesla_api_sdk-1.0.4}/teslafleetmanagementapi/controllers/user_controller.py
RENAMED
|
@@ -4,9 +4,6 @@ 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.or_auth_group import (
|
|
8
|
-
Or,
|
|
9
|
-
)
|
|
10
7
|
from apimatic_core.authentication.multiple.single_auth import (
|
|
11
8
|
Single,
|
|
12
9
|
)
|
|
@@ -67,7 +64,7 @@ class UserController(BaseController):
|
|
|
67
64
|
.header_param(Parameter()
|
|
68
65
|
.key("accept")
|
|
69
66
|
.value("application/json"))
|
|
70
|
-
.auth(
|
|
67
|
+
.auth(Single("thirdpartytoken")),
|
|
71
68
|
).response(
|
|
72
69
|
ResponseHandler()
|
|
73
70
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -95,7 +92,7 @@ class UserController(BaseController):
|
|
|
95
92
|
.header_param(Parameter()
|
|
96
93
|
.key("accept")
|
|
97
94
|
.value("application/json"))
|
|
98
|
-
.auth(
|
|
95
|
+
.auth(Single("thirdpartytoken")),
|
|
99
96
|
).response(
|
|
100
97
|
ResponseHandler()
|
|
101
98
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -123,7 +120,7 @@ class UserController(BaseController):
|
|
|
123
120
|
.header_param(Parameter()
|
|
124
121
|
.key("accept")
|
|
125
122
|
.value("application/json"))
|
|
126
|
-
.auth(
|
|
123
|
+
.auth(Single("thirdpartytoken")),
|
|
127
124
|
).response(
|
|
128
125
|
ResponseHandler()
|
|
129
126
|
.deserializer(APIHelper.json_deserialize)
|
|
@@ -152,7 +149,7 @@ class UserController(BaseController):
|
|
|
152
149
|
.header_param(Parameter()
|
|
153
150
|
.key("accept")
|
|
154
151
|
.value("application/json"))
|
|
155
|
-
.auth(
|
|
152
|
+
.auth(Single("thirdpartytoken")),
|
|
156
153
|
).response(
|
|
157
154
|
ResponseHandler()
|
|
158
155
|
.deserializer(APIHelper.json_deserialize)
|