OmnivoreQL: Omnivore API client for Python
This is a Python client for the Omnivore API.
How to use
To use omnivoreql in your Python project, you can follow these steps:
Install the omnivoreql package using pip:
pip install omnivoreql
Import the package into your project and Create a new instance of the client:
from omnivoreql import OmnivoreQL
omnivoreql_client = OmnivoreQL("your_api_token_here")
Use the methods of the OmnivoreQL class to interact with the Omnivore API.
profile = omnivoreql_client.get_profile()
saved_page = omnivoreql_client.save_url("https://www.google.com")
saved_page_with_label = omnivoreql_client.save_url("https://www.google.com", ["label1", "label2"])
articles = omnivoreql_client.get_articles()
username = profile['me']['profile']['username']
slug = articles['search']['edges'][0]['node']['slug']
articles = omnivoreql_client.get_article(username, slug)
subscriptions = omnivoreql_client.get_subscriptions()
labels = omnivoreql_client.get_labels()
from omnivoreql import CreateLabelInput
omnivoreql_client.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 omnivoreql 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omnivoreql-0.3.4.tar.gz | 21.3 kB | Without provenance | Details for omnivoreql-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omnivoreql-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for omnivoreql-0.3.4-py3-none-any.whl |
Total release size: 45.2 kB
Release files / omnivoreql-0.3.4.tar.gz
| Download URL | omnivoreql-0.3.4.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4e152bbb05f1cad0c8671dd106e3bb7a7445637d201f36a8c102921d4854c98
|
|
BLAKE2b-256 checksum How to use checksums |
49b76f3900c10634182c07a9ced71bfa59a6026cfcc07a3b727c93d1c37768df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / omnivoreql-0.3.4-py3-none-any.whl
| Download URL | omnivoreql-0.3.4-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2c6b19cdbdaeaf70047c92baba681561abd2b5c3e150f8634b3ff12d87a574b
|
|
BLAKE2b-256 checksum How to use checksums |
bc78a8a730c3344cdcb11df97468fb01f1d27f9167cc3d96e9776680c9bb5448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for omnivoreql 0.3.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.