Closed dvx76 closed 2 months ago
See https://docs.aiohttp.org/en/stable/client_advanced.html#client-tracing
Example:
❯ poetry run myskoda --user foo@gmail.com --password 'bar' --verbose auth ... 2024-09-21 19:19:55 WALLY myskoda.myskoda[14829] DEBUG Trace: GET https://mysmob.api.connect.skoda-auto.cz/api/v1/users - response: 200 (643 bytes) {"id":"123","email":"fabrice.devaux@gmail.com","firstName":"Foo","lastName":"Bar","nickname":"Foo","country":"BE","preferredLanguage":"en","phone":"+12345","billingAddress":{"country":"BE","city":"Stormwind","street":"Foo","houseNumber":"1","zipCode":"90218"},"capabilities":[{"id":"SPIN_MANAGEMENT"},{"id":"THIRD_PARTY_OFFERS"},{"id":"MARKETING_CONSENT"}],"preferredContactChannel":"MARKETING_BLOCKADES:EMAIL","profilePictureUrl":"https://mysmob.api.connect.skoda-auto.cz/api/v1/users/123/profile-picture?etag=123"}
See https://docs.aiohttp.org/en/stable/client_advanced.html#client-tracing
Example: