json.php API - Get "files" by ID Range

Q

How to get "files" objects with Library Genesis API, json.php, for a given file object ID range?

✍: FYIcenter.com

A

If you want to get all file objects in a given ID range, you can call the Library Genesis API, json.php, with object=f, id_start={id} and id_end={id} parameters.

For example, the following call returns all "files" objects with IDs in the range of 10001 and 10010.

fyicenter$ curl 'https://libgen.lc/json.php?object=f&id_start=10001&id_end=10010' | python -m json.tool

{
    "10001": {
        "archive_dop_files_flag": "N",
        "archive_files_count": "9",
        "archive_files_pic_count": "9",
        "bookmarked": "",
        "broken": "N",
        "c2c": "",
        "cleaned": "",
        "color": "",
        "comics_id": "1159591",
        ...
    "10002": {
        "archive_dop_files_flag": "N",
        "archive_files_count": "9",
        "archive_files_pic_count": "9",
        "bookmarked": "",
        "broken": "N",
        "c2c": "",
        "cleaned": "",
        "color": "",
        "comics_id": "1159594",
        ...
    "10003": {
        "archive_dop_files_flag": "N",
        "archive_files_count": "10",
        "archive_files_pic_count": "10",
        "bookmarked": "",
        "broken": "N",
        "c2c": "",
        "cleaned": "",
        "color": "",
        "comics_id": "1159598",
    ...

 

json.php API - Get "files" by Modification Date Range

json.php API - Get "files" by IDs

Library Genesis API

⇑⇑ LibGen (Library Genesis) - Frequently Asked Questions

2023-08-25, 321🔥, 0💬