Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nytimes/video-captions-api
Agnostic API to generate captions for media assets across different transcription services.
https://github.com/nytimes/video-captions-api
Last synced: 3 months ago
JSON representation
Agnostic API to generate captions for media assets across different transcription services.
- Host: GitHub
- URL: https://github.com/nytimes/video-captions-api
- Owner: nytimes
- License: apache-2.0
- Created: 2017-05-08T15:43:17.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-04-22T19:35:13.000Z (over 2 years ago)
- Last Synced: 2024-06-19T00:28:10.987Z (5 months ago)
- Language: Go
- Homepage:
- Size: 3.87 MB
- Stars: 61
- Watchers: 21
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# video-captions-api
[![Build Status](https://cloud.drone.io/api/badges/nytimes/video-captions-api/status.svg?ref=refs/heads/main)](https://cloud.drone.io/nytimes/video-captions-api)
[![codecov](https://codecov.io/gh/nytimes/video-captions-api/branch/main/graph/badge.svg)](https://codecov.io/gh/nytimes/video-captions-api)
[![Go Report Card](https://goreportcard.com/badge/github.com/nytimes/video-captions-api)](https://goreportcard.com/report/github.com/nytimes/video-captions-api)Agnostic API to generate captions for media assets across different cloud services.
## Development
GCP credentials are required to access Google Datastore.
```
$ gcloud auth application-default login
```Environment variables required:
```
THREE_PLAY_API_KEY
THREE_PLAY_API_SECRET
```Note that `THREE_PLAY_API_KEY` should take the form of `captions:,transcript:`.
Run:
```
$ make dev
```Test:
```
$ make test
```Go to http://localhost:8000
## Docker image
A pre-built image is available on Docker Hub: https://hub.docker.com/r/nytimes/video-captions-api
## Documentation
For more info check the [docs](https://github.com/nytimes/video-captions-api/wiki/Endpoints)