Poems

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:

  1. Easy and fast access to a wide variety of poems.
  2. Ability to search for poems by author, tag or keyword.
  3. Access to a private poem collection for users with authenticated access.
  4. Availability of poems of the day and random poems for daily inspiration.
  5. 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

  1. Easy access to a wide variety of poems.
  2. Ability to search for poems by author, tag or keyword.
  3. Access to a private poem collection for authenticated users.
  4. Availability of poems of the day and random poems for daily inspiration.
  5. 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();

Similar APIs of Books

LibGen
LibGen

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.

Penguin Publishing
Penguin Publishing

Books, book covers, and related data

Bhagavad Gita
Bhagavad Gita

The Bhagavad Gita API allows a web or mobile developer to use the Bhagavad Gita text in their web or mobile application(s).

Google Books
Google Books

Google Books is our effort to make book content more discoverable on the Web