speechkit-state
v0.0.2
Published
Check if the state of SpeechKit article has been processed
Downloads
27
Maintainers
Readme
speechkit-state
Check if the state of SpeechKit article has been processed
Install
$ yarn add speechkit-state
Usage
const speechkitState = require('speechkit-state')
await speechkitState(<token>, <newsSiteId>, <articleId>)
// => true
API
speechkitState(token, newsSiteId, articleId, [options])
Returns a promise
token
Type: string
Description: Your SpeechKit token
Required
newsSiteId
Type: string
Description: The id of your site you want to fetch all articles for. This can also be your news_sites external id
Required
articleId
Type: string
Description: The id of the article you want to request.
options
Type: object
pooling
Type: boolean
Default: false
It will pool the API until it the article is processed
Related
- speechkit — AI-read audio for your news posts
- speechkit-js — JavaScript client for interacting with the SpeechKit API
License
MIT © Bu Kinoshita