To simplify interaction with the ZeroEntropy API, we’ve provided a Python and Typescript client library that wraps the API endpoints. This client makes it easier to integrate ZeroEntropy’s retrieval capabilities into your Python or NodeJS application.

Client Code

This is the code for our Python and Typescript client, which you can use to interact with the ZeroEntropy API.
Simply copy this code and save it in e.g. zeroentropy.py / zeroentropy.ts so that your other code can use it.

  • For Python, you will need to pip install httpx typing_extensions
  • For Typescript, you will need to npm i axios