vidnavigator-apilisted
Install: claude install-skill vidnavigator/skills
# Build with the VidNavigator API
One API for what is said in online videos and for social-video data. Use the official SDK when the project is in Python or JavaScript/TypeScript; call the HTTP API otherwise.
- Base URL: `https://api.vidnavigator.com/v1`
- Authentication: the header `X-API-Key: <key>`. Keys are created at https://vidnavigator.com/studio/api.
- Read the key from the environment variable `VIDNAVIGATOR_API_KEY`. Never write a key into source code or commit one.
- Documentation: https://docs.vidnavigator.com. Every page is also served as Markdown by adding `.md` to its address, and https://docs.vidnavigator.com/llms.txt lists them all. Read the page of an endpoint before writing code against it: it is the reference for parameters and response fields.
## Install
```bash
pip install vidnavigator # Python 3.8+; add the extra for asyncio: pip install "vidnavigator[async]"
npm install vidnavigator # JavaScript and TypeScript
```
```python
from vidnavigator import VidNavigatorClient
client = VidNavigatorClient() # reads VIDNAVIGATOR_API_KEY
```
```ts
import { VidNavigatorClient } from 'vidnavigator';
const vn = new VidNavigatorClient({ apiKey: process.env.VIDNAVIGATOR_API_KEY! });
```
## Which call
| Need | Python | JavaScript | HTTP |
|---|---|---|---|
| Captions of a video (YouTube, TikTok, X, Facebook, Vimeo, Dailymotion, Loom, Snapchat) | `client.get_transcript(video_url=...)` | `vn.getTranscript({ video_url })` | `POST /transcript` |