Omnivore API Client for Python
Project description
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()
result = omnivoreql_client.save_url("https://www.google.com")
articles = omnivoreql_client.get_articles()
username = profile['me']['profile']['username']
slug = articles['search']['edges'][0]['node']['slug']
articles = omnivoreql_client.get_article(username, slug)
labels = omnivoreql_client.get_labels()
subscriptions = omnivoreql_client.get_subscriptions()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
omnivoreql-0.2.2-py3-none-any.whl
(15.4 kB
view hashes)
Close
Hashes for omnivoreql-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986fd9da9b725eea2f64781ae90b59f2f7cd4d6dfa63db6f7cfc5c0aedc3448f |
|
MD5 | 52700a8d9a927e42a2478b9d7b9658ed |
|
BLAKE2b-256 | 671242ebc525f042e36dfbd1d498088d7d5e727eae2fdf6f43ba3d78e8d8c5b3 |