2.0.4 • Published 6 years ago

@financial-times/n-3play-media v2.0.4

Weekly downloads
15
License
ISC
Repository
-
Last release
6 years ago

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));
2.0.4

6 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

9 years ago