Skip to main content

Omnivore API Client for Python

Project description

OmnivoreQL: Omnivore API client for Python

This is a Python client for the Omnivore API.

GitHub stars Github Sponsor

Tests PyPI version

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


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)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page