Example 1: Synchronous Client with verbose mode
()
| 19 | |
| 20 | |
| 21 | def sync_client_example(): |
| 22 | """Example 1: Synchronous Client with verbose mode""" |
| 23 | print("\n" + "=" * 80) |
| 24 | print("Example 1: Synchronous Client (verbose=True)") |
| 25 | print("=" * 80) |
| 26 | |
| 27 | client = Client(verbose=True) |
| 28 | |
| 29 | # Make API call - will show detailed HTTP logs |
| 30 | server_time = client.get_server_time() |
| 31 | print(f"Server time: {server_time['serverTime']}\n") |
| 32 | |
| 33 | |
| 34 | async def async_client_example(): |
no test coverage detected
searching dependent graphs…