@financial-times/n-3play-media

2.0.4 • Public • Published

A client library for http://3playmedia.com, a transcription service.

Usage

npm install
export THREEPLAYMEDIA_API_SECRET=...
export THREEPLAYMEDIA_API_KEY=...
node src/main

Warning

Using this API costs the FT.com money - please understand the consequences of using the code.

const source = 'https://next-video.ft.com/s3/5b8951dc-94f5-4c5a-9579-3c65ee483666/480x270.mp4';
const config = { 
	uuid: '5b8951dc-94f5-4c5a-9579-3c65ee483666',
	callback_url: 'http://example.com/webhooks/..'
	turnaround_level: 'rush' 
}
	
new ThreePlayMedia().create_transcription(source, config)
  	.then(data => console.log(data))
 	.catch(err => console.error(err));

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/n-3play-media

Weekly Downloads

2

Version

2.0.4

License

ISC

Unpacked Size

150 kB

Total Files

22

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson