v1.0.24+24

- tags lul
This commit is contained in:
2025-06-04 12:35:09 +02:00
parent 189f9a6efd
commit 28c4a17c43
4 changed files with 190 additions and 66 deletions

View File

@ -8,12 +8,14 @@ Future<List<MediaItem>> fetchMedia({
String? type,
int? mode,
bool? random,
String? tag,
}) async {
final Uri url = Uri.parse('https://api.f0ck.me/items/get').replace(
queryParameters: {
'type': type ?? 'image',
'mode': (mode ?? 0).toString(),
'random': (random! ? 1 : 0).toString(),
if (tag != null) 'tag': tag,
if (older != null) 'older': older,
},
);