Also includes the filesize (if available), the amount of words in the file and the estimated time to completion in seconds (eta). Returns the file status, which is: waiting, the file is waiting to be converted, complete the file is complete and can be downloaded, or error the file could not be converted. hash - The hash of the file of which to check status.Returns the file status, the file hash and the amount of words in the text, which is also the credit cost. title - The title for this file (as displayed in your account window) Default Value: first few words of text.EngFemale1 and EngMale1 a US female and US male voice. result - success on success, otherwise error, with an appropriate error code.Please contact us to enable API access on your existing account.Ĭurrently only returns the amount of word credits your account contains. The file was not done converting or you specified an invalid hash.Ĭheck the file status to get an estimated time to completion. Specify the correct hash, or attempt a new conversion. The hash you provided was invalid or was not associated with your account. Modify your text and remove invalid characters (only ISO 8859-1 is currently supported) Your text appeared invalid or contained invalid characters Reduce the amount of words sent to be converted. Occurs when you exceed the allowed maximum words allowed per conversion. You didn't specify an action or used and invalid action. Sign in to your account and purchase more word credits. Your account does not have enough credits for the conversion. Try posting your text again, or modify it. You specified an invalid username or password. Example Response: result=success&credits=13343433 Error Codesīelow is a list of possible error codes and a description for each event. Please refer to each individual action for more information. ResponseĮvery response will include a 'result' variable containing either success or error. uname - The account email address or usernameĮxample Request: request must be sent to the URL below via the POST method.RequestĮvery call to the API must contain a username (the email address), a password and an action. Valid login credentials must be provided for every request.Īn action must be specified with every request. Please contact us to enable API access on your existing account. Any calls with a standard account will result in a failure. You must have an API enabled account in order to utilize this API. Some example code is available for VB.NET, C#, PHP, ActionScript3 (AS3) and HTML implementations. The API's implementation is simple as it uses basic form encoded data (REST) as a communication medium. The iSpeech API allows developers to add text to speech capabilities into any web enabled application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |