Page 15 of 15

Re: LibriVox API Discussion Thread

Posted: November 20th, 2019, 12:56 pm
by ej400
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.

Re: LibriVox API Discussion Thread

Posted: November 20th, 2019, 5:46 pm
by annise
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

Re: LibriVox API Discussion Thread

Posted: November 21st, 2019, 12:44 pm
by danielius
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

Re: LibriVox API Discussion Thread

Posted: November 21st, 2019, 12:46 pm
by danielius
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 ?

Re: LibriVox API Discussion Thread

Posted: November 21st, 2019, 1:08 pm
by m8b1
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.

Re: LibriVox API Discussion Thread

Posted: February 28th, 2020, 11:24 am
by serenskye
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 :)

Re: LibriVox API Discussion Thread

Posted: February 28th, 2020, 11:28 am
by serenskye
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:

Re: LibriVox API Discussion Thread

Posted: April 12th, 2020, 10:11 am
by TriciaG
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>-->

Re: LibriVox API Discussion Thread

Posted: July 24th, 2020, 4:04 pm
by CRoma1994
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.