Installation
PyPI Package
View the package on PyPI
Requirements
- Python 3.8 or later
- An API token from your account settings
Your First Request
Configuration
Next Steps
API Reference
Client, configuration, and errors
Examples
Sync and async usage
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install and get started with the Python SDK
pip install nvisy-sdk
from nvisy import Client
client = Client({"api_key": "your-api-token"})
response = client.get_sync("/health")
print(response)
client = Client({
"api_key": "your-api-token", # Required
"base_url": "https://api.nvisy.com", # Optional
"timeout": 30.0, # Optional: 1.0-300.0 seconds
"max_retries": 3, # Optional: 0-5 attempts
"user_agent": "MyApp/1.0.0", # Optional
})
client = Client.from_environment()
client = (
Client.builder()
.with_api_key("your-api-token")
.with_timeout(60.0)
.build()
)