mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
36 lines
798 B
Markdown
36 lines
798 B
Markdown
[youtubei.js](../README.md) / IEndpoint
|
|
|
|
# Interface: IEndpoint\<T\>
|
|
|
|
Defined in: [src/parser/types/CommandEndpoints.ts:1](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/parser/types/CommandEndpoints.ts#L1)
|
|
|
|
## Type Parameters
|
|
|
|
### T
|
|
|
|
`T` = `any`
|
|
|
|
## Methods
|
|
|
|
### buildRequest()
|
|
|
|
> **buildRequest**(): `T`
|
|
|
|
Defined in: [src/parser/types/CommandEndpoints.ts:3](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/parser/types/CommandEndpoints.ts#L3)
|
|
|
|
#### Returns
|
|
|
|
`T`
|
|
|
|
***
|
|
|
|
### getApiPath()
|
|
|
|
> **getApiPath**(): `string`
|
|
|
|
Defined in: [src/parser/types/CommandEndpoints.ts:2](https://github.com/LuanRT/YouTube.js/blob/853a36307b5d644ada14dcb1216c2c22c2ae7b73/src/parser/types/CommandEndpoints.ts#L2)
|
|
|
|
#### Returns
|
|
|
|
`string`
|