piped-api/README.md

22 lines
312 B
Markdown
Raw Normal View History

2023-08-03 21:00:47 +03:00
# Piped API
This is the API wrapper for Piped in Node.js (Typescript).
## Installation
```bash
npm i piped-api
```
## Usage
```typescript
import { PipedApi } from "piped-api";
const api = new PipedApi("https://ytapi.dc09.ru");
let trending = await api.trending("US");
console.log(trending[0].title);
```