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
2023-08-03 21:01:39 +03:00
import { PipedAPI } from "piped-api";
2023-08-03 21:00:47 +03:00
const api = new PipedApi("https://ytapi.dc09.ru");
let trending = await api.trending("US");
console.log(trending[0].title);
```