2.0.4 • Published 5 years ago

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

Weekly downloads
15
License
ISC
Repository
-
Last release
5 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

5 years ago

2.0.3

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago