Skip to content

Sefaria's Text API  #1343

@edamboritz

Description

@edamboritz

Hello Sefaria Developer Community!

We are planning on refactoring one of our main API endpoints - the Text API.
While doing so, we are interested in making its use more straightforward and also more flexible.

Currently the API always returns two versions of a requested text reference, A "Hebrew" and an "English".

In recent years, Sefaria's data has branched out to include texts that have non Hebrew source versions (Judeo-Arabic, Aramaic and even English) and also translations of texts into multiple non-English languages (German, Spanish, etc). We have used the current API to try and still provide that data, but this is no longer sufficient.

So we are looking to improve the way the API allows developers to interact with various languages more directly and give them more control of just what they need the text API to return.

For starters, we are looking to get rid of the forced duality of text version in the response. The user will be able to request a single version, or two specific languages, or more.

Beyond that we are interested in hearing what users of this API would find useful.
Is it the ability to get all versions of a given language?
All translations of a certain text?
Asking for a language with a fallback to a default language?
Any other suggestions or things you'd want to make use of?

Let us know in the comments!

  • The Sefaria Team

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions