import 'package:piped_api/api.dart';
All URIs are relative to https://pipedapi.kavin.rocks
Method | HTTP request | Description |
---|---|---|
search | GET /search | Searches for videos, channels, and playlists. |
searchNextPage | GET /nextpage/search | Gets more search results |
SearchPage search(q, filter)
Searches for videos, channels, and playlists.
Searches for videos, channels, and playlists.
import 'package:piped_api/api.dart';
final api = PipedApi().getSearchApi();
final String q = Techlore; // String | The search query string.
final SearchFilter filter = ; // SearchFilter | The filter parameter specifies a filter query that restricts the results to items that match the filter.
try {
final response = api.search(q, filter);
print(response);
} catch on DioError (e) {
print('Exception when calling SearchApi->search: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
q | String | The search query string. | |
filter | SearchFilter | The filter parameter specifies a filter query that restricts the results to items that match the filter. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchPage searchNextPage(nextpage, q, filter)
Gets more search results
Gets more search results.
import 'package:piped_api/api.dart';
final api = PipedApi().getSearchApi();
final String nextpage = nextpage_example; // String | The next page token to get more search results from.
final String q = Techlore; // String | The search query string.
final SearchFilter filter = ; // SearchFilter | The filter parameter specifies a filter query that restricts the results to items that match the filter.
try {
final response = api.searchNextPage(nextpage, q, filter);
print(response);
} catch on DioError (e) {
print('Exception when calling SearchApi->searchNextPage: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
nextpage | String | The next page token to get more search results from. | |
q | String | The search query string. | |
filter | SearchFilter | The filter parameter specifies a filter query that restricts the results to items that match the filter. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]