Authorizations
Body
multipart/form-data
CSV file containing pronunciation overrides
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.pronunciations.pronunciations_upload_csv(request={
"file": {
"file_name": "example.file",
"content": open("example.file", "rb"),
},
})
# Handle response
print(res)
{
"revision": 123,
"hash": "<string>",
"entries": 123,
"uploaded_at": "2023-11-07T05:31:56Z",
"uploaded_by": "<string>"
}
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.pronunciations.pronunciations_upload_csv(request={
"file": {
"file_name": "example.file",
"content": open("example.file", "rb"),
},
})
# Handle response
print(res)
{
"revision": 123,
"hash": "<string>",
"entries": 123,
"uploaded_at": "2023-11-07T05:31:56Z",
"uploaded_by": "<string>"
}
CSV file containing pronunciation overrides