1%
Logo akcji 1%

Czy wiesz, że możesz pomóc nam rozwijać Wolne Lektury, przekazując 1% swojego podatku? To bardzo proste - wystarczy, że w zeznaniu podatkowym podasz nasz numer KRS 0000070056.

Dowiedz się więcej

x

5536 free readings you have right to

Language

API

WolneLektury.pl API resides under https://wolnelektury.pl/api/. You can use it to access information about books, their fragments and their metadata.

Default data serialization format is JSON, but you can also use XML by appending ?format=xml query parameter to each URL.

The URLs in WolneLektury.pl API are:

Each element of those lists contains a link (in a "href") attibute which points to individual resource's details, i.e.: /api/books/studnia-i-wahadlo/ or /api/authors/edgar-allan-poe/.

You can combine authors, epochs, genres and kinds to find only books matching those criteria. For instance: /api/authors/adam-mickiewicz/kinds/liryka/books/.

If you only want top-level books and not all the children, you can use /parent_books/, as in: /api/authors/adam-mickiewicz/kinds/liryka/parent_books/.

The same way, using also books and themes, you can search for a list of fragments: /api/authors/william-shakespeare/themes/zabawa/fragments/. Again, each entry has a "href" attribute which links to the fragment's details, i.e.: .

Close

* Loading