json.php API - Get "works" Objects

Q

How to get "works" objects with Library Genesis API?

✍: FYIcenter.com

A

Here are some examples on how to get "works" objects with Library Genesis API.

Get the "works" object with a_id=1 in pretty JSON format. The first work published in 6 editions.

fyicenter$ curl 'https://libgen.lc/json.php?object=w&ids=1' | python -m json.tool

{
    "1": {
        "add_info": "",
        "commentary": "1",
        "date": "1985-05-00",
        "editable": "1",
        "editions": {
            "1": {
                "e_id": "1876497",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            },
            "2": {
                "e_id": "1876498",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "1",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            },
            "3": {
                "e_id": "1876499",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            },
            "4": {
                "e_id": "1992115",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            },
            "5": {
                "e_id": "2083308",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "15",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            },
            "6": {
                "e_id": "2128619",
                "e_num_to_sort": "0",
                "level": null,
                "pages": "",
                "time_added": "2020-10-09 12:32:38",
                "time_last_modified": "2020-10-09 12:32:38",
                "title": ""
            }
        },
        "language": "eng",
        "parent_w_id": null,
        "time_added": "2020-10-08 12:15:47",
        "time_last_modified": "2020-10-08 12:15:47",
        "title": "The Warrior Who Carried Life",
        "title_storylen": "",
        "visible": "",
        "work_type": "NOVEL"
    }
}

 

json.php API - Get "files" by IDs

json.php API - Get "authors" Objects

Library Genesis API

⇑⇑ LibGen (Library Genesis) - Frequently Asked Questions

2022-10-07, 448🔥, 0💬