LibriVox API Discussion Thread

Comments about LibriVox? Suggestions to improve things? News?
ej400
Posts: 2876
Joined: September 24th, 2014, 10:26 am
Location: Minnesota

Post by ej400 » November 20th, 2019, 12:56 pm

dalewking wrote:
November 19th, 2019, 4:13 pm
Why does the API return un-finished books? Is there a way to filter them out?
I'm sure pretty it's because it's letting you know the book is in progress. I'm not sure there's a way to filter them out though.
Last edited by ej400 on December 18th, 2019, 8:53 pm, edited 1 time in total.

annise
LibriVox Admin Team
Posts: 34120
Joined: April 3rd, 2008, 3:55 am
Location: Melbourne,Australia

Post by annise » November 20th, 2019, 5:46 pm

I assume it's because it's based on projects, not completed projects. We know it's not perfect, and it isn't that we don't care about listeners, we just ran out of money to improve the API
It is, however, possible to use it for apps etc. Many outsiders do.
But LV is successful because we concentrate on releasing audiobooks of books that are public domain and making them available on Archive and in our catalogue. And whether 1 person listens to a particular book or a million does not make 1 book succesful and the other a failure

And any frills that are possible with our existing software can be done by anyone who wants to do them. But whether they do or don't do is up to them , we have still done our prime directive

Anne

danielius
Posts: 3
Joined: November 15th, 2019, 2:42 am

Post by danielius » November 21st, 2019, 12:44 pm

dalewking wrote:
November 19th, 2019, 4:13 pm
Why does the API return un-finished books? Is there a way to filter them out?
Somebody in this post earlier mentioned to check for "url_iarchive" (in the http request with extended=1 query) tag if its null/empty that means the book isnt finished as its not uploaded to archives

danielius
Posts: 3
Joined: November 15th, 2019, 2:42 am

Post by danielius » November 21st, 2019, 12:46 pm

If a book has both for example, english and spanish translations will those translations be included in the sections part of the json or be 2 different books with unique ids ?

m8b1
LibriVox Admin Team
Posts: 12962
Joined: March 28th, 2009, 1:08 pm
Location: The Bluegrass State
Contact:

Post by m8b1 » November 21st, 2019, 1:08 pm

danielius wrote:
November 21st, 2019, 12:46 pm
If a book has both for example, english and spanish translations will those translations be included in the sections part of the json or be 2 different books with unique ids ?
It would be two different books with unique ids. There are multiple versions of the same book in the same language, and they each have unique ids. For example search the catalog for: Anne of Green Gables, Pride and Prejudice, etc.

serenskye
Posts: 2
Joined: February 28th, 2020, 12:17 am

Post by serenskye » February 28th, 2020, 11:24 am

Hi, I just started trying to use the API for a language learning app. I have some questions.

How is it possible to search by genre - every time I try this I get a database error response.

Is it possible to filter the results by language?

Thanks for any help. It's a great website and API :)

serenskye
Posts: 2
Joined: February 28th, 2020, 12:17 am

Post by serenskye » February 28th, 2020, 11:28 am

danielius wrote:
November 19th, 2019, 1:11 pm
Hey im an Android developer working on an app. How come https://librivox.org/rss/12349 redirects you to forums ? Got an error trying to download everything into my own database since I seem to be getting errors when trying to access the API https://librivox.org/api/feed/audiobooks?genre=66 I use the rss links to get the tracks download url's
Did you get the genres working? Also did you get the full download working. Interested myself - fellow android. :mrgreen:

TriciaG
LibriVox Admin Team
Posts: 49895
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » April 12th, 2020, 10:11 am

Via Twitter, for the record:
There should be a language declaration in RSS feeds, it is there but commented out ..
<!--<language>project element=lang.code</language>-->
We're MARCHing to the finish line! Join our project cleanup month initiative. Details HERE

CRoma1994
Posts: 2
Joined: July 23rd, 2020, 2:55 pm

Post by CRoma1994 » July 24th, 2020, 4:04 pm

Hi there! Another developer here, working for a web app, could someone explain to me which are the API endpoints to query by author, title and genre? The docs are a bit confusing, thanks in advance.

williamjones
Posts: 1334
Joined: April 26th, 2016, 7:47 pm

Post by williamjones » February 17th, 2021, 12:49 pm

I am polishing an MS Access program to create a database of all the data of all the books whose data is deliverable by the Librivox.org API.

One reason for doing this is to be able to create a list (table) of all the LV books which have been cataloged but whose Internet Archive book entry does not have a Librivox link the the External Links section. The idea being to tie the Librivox catalog offerings together with the Gutenberg offerings and with the Internet Archive offerings.

I have found a bunch of data errors in the XML that the API returns to me. Missing pieces of data, incorrect Closing mark up tokens (e.g., <author>...</authors>, and miscellaneous pieces of data thrown in amongst valid data (e.g., <https://librivoxhttps://librivox.org/a-night-on-thetown.....)

My program code is getting to being 1/2 regular procedural code and 1/2 handling bad data. I would like to clean up these segments of bad data. I can send documentation of these instanced of bad or ill-formed XML to someone IF there is someone who has the rights to repair the LV database's data rather than just extract it. I would be willing to make the necessary corrections myself, but if I were the database manager I wouldn't let an unknown outsider insider inside the walls surrounding the data. But, if someone with the authority to give me the authority to fix the data, I'd do it, just so that stuff could be done.
. . . . . . . . . . . . . . . . . . .
Hope is patience with the lamp lit.
-- Tertullian

knotyouraveragejo
LibriVox Admin Team
Posts: 17428
Joined: November 18th, 2006, 4:37 pm

Post by knotyouraveragejo » February 17th, 2021, 8:55 pm

Can you post an example of data that needs to be fixed? No promises. It depends on where in the database the corrections need to be made whether or not I can be of any help. If it's related to the API which was never properly completed, then that is beyond my capabilities. :)
Jo
My Librivox Solos
Books are the carriers of civilization. Without books, history is silent, literature dumb, science crippled, thought and speculation at a standstill. - Barbara Tuchman

Post Reply