internetarchive / internetarchive/openlibrary

Create LibriVox import API method

Open
#8,105 6 comments 0 reactions 0 assignees View on GitHub
Lead: @cdrini Module: Import Priority: 3 Theme: Trusted Book Providers Type: Feature Request Type: Subtask of Epic
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

- Create a method that given a LibriVox ID (eg 5094), fetches all information from Librivox ( https://librivox.org/5094 ) in a format suitable for the import endpoint (schema: https://github.com/internetarchive/openlibrary-client/blob/master/olclient/schemata/import.schema.json )
- `GET /import/librivox?id={librivox_id}` should run/output the result of the function
- `POST /import/librivox?id={librivox_id}` should run the import

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing import endpoint and the import.schema.json linked in the issue, then inspect the LibriVox response for ID 5094. Implement the LibriVox lookup and conversion so GET /import/librivox?id={librivox_id} returns the import-shaped result and POST performs the import.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.