Library Genesis has an API, but the only documentation is a forum thread in Russian. So this is an English-language guide to using the LibGen API.

Poems
- Category: Books
Poems.one API
Poems.one API allows users to access poems of the day, random poems in the collection, search for poems based on author, tag, or keyword, and access a private collection of poems.
Benefits of using Poems.one API:
- Easy and fast access to a wide variety of poems.
- Ability to search for poems by author, tag or keyword.
- Access to a private poem collection for users with authenticated access.
- Availability of poems of the day and random poems for daily inspiration.
- User-friendly and easy-to-use API documentation.
Example API code sample in JavaScript:
var request = new XMLHttpRequest();
request.open('GET', 'https://poems.one/api/poem/', true);
request.onload = function() {
// Begin accessing JSON data here
var data = JSON.parse(this.response);
if (request.status >= 200 && request.status < 400) {
data.forEach(poem => {
console.log(poem.title);
});
} else {
console.log('error');
}
}
request.send();
Poems.one API - Benefits
- Easy access to a wide variety of poems.
- Ability to search for poems by author, tag or keyword.
- Access to a private poem collection for authenticated users.
- Availability of poems of the day and random poems for daily inspiration.
- User-friendly and easy-to-use API documentation.
Poems.one API - Example Code
JavaScript code sample to access the Poems.one API:
var request = new XMLHttpRequest();
request.open('GET', 'https://poems.one/api/poem/', true);
request.onload = function() {
// Begin accessing JSON data here
var data = JSON.parse(this.response);
if (request.status >= 200 && request.status < 400) {
data.forEach(poem => {
console.log(poem.title);
});
} else {
console.log('error');
}
}
request.send();