
Ruth
At least once in a month. As json is data, I don't update so often. On the contrary json at my page is updatedjoemorris wrote:how often is your db_catalog.json updated on github?
Very tricky method. I use LibriVox API & archive.org API.joemorris wrote:How is it generated?
Then I reconstruct the database.URL_HEAD='https://librivox.org/api/feed/audiobooks/?id='
URL_TAIL='&extended=1&format=json'
for id in {9010..9035}
do
url=$URL_HEAD$id$URL_TAIL
curl -k $url > "ex_"$id".json"
done
Right. It's a bash script.joemorris wrote:That looks like it's a bash script, right?
Here's the data & scripts.joemorris wrote: Is the source code for the "Then I reconstruct the database" part available?
Thank you for this useful information. I cloned it on my Ubuntu 14.04 64 bit.joemorris wrote:Also, I noticed Hugh posted the librivox site source code to github in January.
https://github.com/LibriVox/librivox-public
As I have a Maria DB available, I created a database using these sqls.joemorris wrote:So it would theoretically possible for a volunteer developer to set up a separate development instance of the librivox site/API and then suggest changes to the API code (or other LibriVox site code, for that matter).
Now I'm ready to accept data.mysql -uroot -ppassword
> create schema librivox_catalog_new;
> use librivox_catalog_new;
> source librivox_catalog_new.sql;
> source ../sql/2012-11-19-section_cols.sql;
> source ../sql/2012-12-11-authors_cleanup.sql;
Well this might be the case but I been told to post here hoping others that have used the API that might be able to help, it was not aimed at the staff but others that used the API, like using the offset in the right way, and the cashe function I thinking about creating I like there idea on this.bart wrote:Hello Lue,
The API isn't up to scratch I'm afraid.
While developing the new system we ran out of money, so we couldn't make the API the way we really wanted it to be.
Please check this page: https://librivox.org/api/info
That's what we have now, nothing more. And there is no indication on when we can actually work on the system again.
So if you want to work with this API, please go ahead. We do not have the capacity to help you any further.
Sorry for that.
Bart
Yes I understand this, shame you can't accept support form another dev as I am sure there are many dev's what would love to help with creating a API for this service and the API does not even have connect to the main system the site is running off it just needs just need access to the DB, but I guess there are reasons why you can't take on outside help.annise wrote:I sent him over Bart , it's the trouble with doing things by PM . I felt he was most likely to get an answer from someone who actually uses the API
As an aside - "staff" is not the right word to use here - there are no staff - we are all volunteers. It's just that some of us have access to more parts of the data base . But the Admins are not able to change the way things work behind the database.
Anne
For my own project this would be great but for the API plugin I am creating sadly I can't do that I know yours is using a copy/clone of the database but for the point in the plugin its native to LibriVox's API I can do two calls to LibriVox and offer a Page Count mode well Next Page its a pain in but its doable.ekzemplaro wrote:Hello luelusten san,
I feel my catalog will give you some suggestion.
http://ekzemplaro.org/librivox/catalog/
As of now 8991 books are listed.
If you fillter 'completed', 8362 books are listed.
Then if you filter 'English', 7181 books are listed.
Then if you filter 'Children's fiction', 417 books are listed.
Then if you filter 'Andersen' as author, 4 books are listed.
This page doesn't use LibriVox API.
Once you download the page, you can disconnect from Internet and you can continue searching.
Cheers,
Masa