speechkit-state

Check if the state of SpeechKit article has been processed


Keywords
speechkit, api, wrapper, AI, artificial, intelligence, audio, read, state
License
MIT
Install
npm install speechkit-state@0.0.1

Documentation

speechkit-state Build Status

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

License

MIT © Bu Kinoshita