import 'package:piped_api/api.dart';
All URIs are relative to https://pipedapi.kavin.rocks
Method | HTTP request | Description |
---|---|---|
comments | GET /comments/{videoId} | Gets Comments |
commentsNextPage | GET /nextpage/comments/{videoId} | Gets more comments |
streamInfo | GET /streams/{videoId} | Gets Video Information |
CommentsPage comments(videoId)
Gets Comments
Gets the comments for a video.
import 'package:piped_api/api.dart';
final api = PipedApi().getVideoApi();
final String videoId = dQw4w9WgXcQ; // String | The video ID of the YouTube video you want to get comments from.
try {
final response = api.comments(videoId);
print(response);
} catch on DioError (e) {
print('Exception when calling VideoApi->comments: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
videoId | String | The video ID of the YouTube video you want to get comments from. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CommentsPage commentsNextPage(videoId, nextpage)
Gets more comments
Gets more comments.
import 'package:piped_api/api.dart';
final api = PipedApi().getVideoApi();
final String videoId = dQw4w9WgXcQ; // String | The video ID of the YouTube video you want to get more comments from.
final String nextpage = nextpage_example; // String | The next page token to get more comments from.
try {
final response = api.commentsNextPage(videoId, nextpage);
print(response);
} catch on DioError (e) {
print('Exception when calling VideoApi->commentsNextPage: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
videoId | String | The video ID of the YouTube video you want to get more comments from. | |
nextpage | String | The next page token to get more comments from. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VideoInfo streamInfo(videoId)
Gets Video Information
Gets all available Stream information about a video.
import 'package:piped_api/api.dart';
final api = PipedApi().getVideoApi();
final String videoId = dQw4w9WgXcQ; // String | The video ID of the YouTube video you want to get information about.
try {
final response = api.streamInfo(videoId);
print(response);
} catch on DioError (e) {
print('Exception when calling VideoApi->streamInfo: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
videoId | String | The video ID of the YouTube video you want to get information about. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]