Download data/tests/test_history.py from introvoyz045/elevenlabs-python: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/datasets/introvoyz045/elevenlabs-python/resolve/main/data/tests/test_history.py
- Command line
-
hf download hf://datasets/introvoyz045/elevenlabs-python/data/tests/test_history.py
-
curl -L -o test_history.py https://huggingface.co/datasets/introvoyz045/elevenlabs-python/resolve/main/data/tests/test_history.py
238 Bytes
| from elevenlabs import GetSpeechHistoryResponse, ElevenLabs | |
| def test_history(): | |
| client = ElevenLabs() | |
| page_size = 5 | |
| history = client.history.list(page_size=page_size) | |
| assert isinstance(history, GetSpeechHistoryResponse) | |