mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-21 17:06:18 +00:00
1.2 KiB
1.2 KiB
psa_connectedcar.UserApi
All URIs are relative to https://api.groupe-psa.com/connectedcar/v4
| Method | HTTP request | Description |
|---|---|---|
| get_user | GET /user | User's information |
get_user
User get_user()
User's information
Returns the User's information.
Example
from __future__ import print_function
import time
import connected_car_api
from connected_car_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = connected_car_api.UserApi()
try:
# User's information
api_response = api_instance.get_user()
pprint(api_response)
except ApiException as e:
print("Exception when calling UserApi->get_user: %s\n" % e)
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/hal+json, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]