PoemAPI


PoemAPI is a REST API that serves uniformly and well formatted poems. It can be used without any API token, membership, registration or payment. It supports a filters that can be applied to get just the right poem you need based on poem name. The usage is very simple and similar to other RESTful APIs and requires only basic knowledge of HTTP requests and JSON.

Getting Started:


There are 4 main things in API: Endpoints, Path, Parameter and Authentication. PoemAPI doesn't require any authentication to use it.

ENDPOINT: An endpoint is an access point to send the HTTP requests to and get your response.

Endpoint: https://dpsapi.onrender.com/

PATH: This will give all the poems present.

Path: https://dpsapi.onrender.com/poems

allpoemexample

PARAMETERThis will give give you poem based on poem name you give. Make sure that poem name are written as it would appear in Wikipedia. For example in this the poem name we entered is "All the world's a stage".

Parameter: https://dpsapi.onrender.com/poems/All the world's a stage

poemexample

Post Here


If you like to contribute your favourite poem and see others using it please click the button below and post your poem, make sure that poem name are written as it would appear in Wikipedia.