Skip to content

Commit 2da487f

Browse files
Release 1.0.2
1 parent d7852b4 commit 2da487f

5 files changed

Lines changed: 74 additions & 44 deletions

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,23 @@
33
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Frespeecher%2Frespeecher-python)
44
[![pypi](https://img.shields.io/pypi/v/respeecher)](https://pypi.python.org/pypi/respeecher)
55

6-
The Respeecher Python library provides convenient access to the Respeecher API from Python.
6+
The Respeecher Python library provides convenient access to the Respeecher APIs from Python.
7+
8+
## Table of Contents
9+
10+
- [Installation](#installation)
11+
- [Reference](#reference)
12+
- [Usage](#usage)
13+
- [Async Client](#async-client)
14+
- [Exception Handling](#exception-handling)
15+
- [Streaming](#streaming)
16+
- [Websockets](#websockets)
17+
- [Advanced](#advanced)
18+
- [Access Raw Response Data](#access-raw-response-data)
19+
- [Retries](#retries)
20+
- [Timeouts](#timeouts)
21+
- [Custom Client](#custom-client)
22+
- [Contributing](#contributing)
723

824
## Installation
925

poetry.lock

Lines changed: 50 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "respeecher"
33

44
[tool.poetry]
55
name = "respeecher"
6-
version = "1.0.1"
6+
version = "1.0.2"
77
description = "Respeecher API SDK"
88
readme = "README.md"
99
authors = []

src/respeecher/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def __init__(
2323

2424
def get_headers(self) -> typing.Dict[str, str]:
2525
headers: typing.Dict[str, str] = {
26-
"User-Agent": "respeecher/1.0.1",
26+
"User-Agent": "respeecher/1.0.2",
2727
"X-Fern-Language": "Python",
2828
"X-Fern-SDK-Name": "respeecher",
29-
"X-Fern-SDK-Version": "1.0.1",
29+
"X-Fern-SDK-Version": "1.0.2",
3030
**(self.get_custom_headers() or {}),
3131
}
3232
headers["X-API-Key"] = self.api_key

src/respeecher/environment.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
class RespeecherEnvironment:
77
PUBLIC_EN_RT: RespeecherEnvironment
8+
PUBLIC_UA_RT: RespeecherEnvironment
89

910
def __init__(self, *, base: str, ws: str):
1011
self.base = base
@@ -14,3 +15,6 @@ def __init__(self, *, base: str, ws: str):
1415
RespeecherEnvironment.PUBLIC_EN_RT = RespeecherEnvironment(
1516
base="https://api.respeecher.com/v1/public/tts/en-rt", ws="wss://api.respeecher.com/v1/public/tts/en-rt"
1617
)
18+
RespeecherEnvironment.PUBLIC_UA_RT = RespeecherEnvironment(
19+
base="https://api.respeecher.com/v1/public/tts/ua-rt", ws="wss://api.respeecher.com/v1/public/tts/ua-rt"
20+
)

0 commit comments

Comments
 (0)