OmnivoreAPI: Omnivore API client for Python
Forked from OmnivoreAPI
This is a Python client for the Omnivore API.
How to use
To use omnivore_api in your Python project, you can follow these steps:
Install the omnivore_api package using pip:
pip install omnivore_api
Import the package into your project and Create a new instance of the client:
from omnivore_api import OmnivoreAPI
omnivore = OmnivoreAPI("your_api_token_here", "your_api_url_here")
Use the methods of the OmnivoreAPI class to interact with the Omnivore API.
profile = omnivore.get_profile()
saved_page = omnivore.save_url("https://www.google.com")
saved_page_with_label = omnivore.save_url("https://www.google.com", ["label1", "label2"])
articles = omnivore.get_articles()
username = profile['me']['profile']['username']
slug = articles['search']['edges'][0]['node']['slug']
articles = omnivore.get_article(username, slug)
subscriptions = omnivore.get_subscriptions()
labels = omnivore.get_labels()
from omnivore_api import CreateLabelInput
omnivore.create_label(CreateLabelInput("label1", "#00ff00", "This is label description"))
Documentation
- Main Omnivore graphql schema is in: schema.graphql
- To contribute to this project: CONTRIBUTING.md
- To more know about Release process: RELEASE.md, PYPI.md
Support
If you find this project useful, you can support it by becoming a sponsor. Your contribution will help maintain the project and keep it up to date.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Star History
Check out our growth in the community:
Metadata
Release files for omnivore-api 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omnivore_api-0.4.0.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omnivore_api-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.1 kB
Release files / omnivore_api-0.4.0.tar.gz
| Download URL | omnivore_api-0.4.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b5bb0f19352c22b9f12b05c1d42eb7c0170f2a365d19de14cb32367e53d988d
|
|
BLAKE2b-256 checksum How to use checksums |
f0ceca069bb14209a0e2dca73dd94c1a415d9512569b67182f447f366302a2dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 22, 2025.
Transparency logRelease files / omnivore_api-0.4.0-py3-none-any.whl
| Download URL | omnivore_api-0.4.0-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c949052a1dd87d87842e03ee362008a030ad9b08c99e6002eb2b14944c8a510f
|
|
BLAKE2b-256 checksum How to use checksums |
72c17b340e9e4c8b87e0caac5e49d8cb5a478b89cf07355a33c44e9851e962ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 22, 2025.
Transparency log