fetchrss-api: Python Client Library for FetchRSS API
Installation
From Python Package Index:
pip install fetchrss-api
Directly from the Git repository on GitHub:
pip install git+https://github.com/Impacto-jor/fetchrss-api.git
or
git clone https://github.com/Impacto-jor/fetchrss-api.git
cd fetchrss-api
python setup.py install
Tested on Python 3.7.0 (you may run using 3.6 by installing the dataclasses
package).
Usage
Learn by example:
from fetchrss import FetchRSS
# Instantiate the object
api = FetchRSS(access_token="<super secret>")
# Create a new feed using URL only
feed = api.feed_create(url="https://some-url/")
print(f"Feed created: {feed}")
# Create a new feed using all parameters
feed = api.feed_create(
url="https://some-url/",
news_selector="<news selector>",
title_selector="<title selector>",
content_selector="<content selector>",
pic_selector="[optional picture selector]",
date_selector="[optional date selector]",
author_selector="[optional author selector]",
link_selector="[optional link selector]",
pic_src_param="[optional picture source parameter]",
date_format_param="[optional date format parameter]",
)
print(f"Feed created: {feed}")
# List all available feeds
for feed in api.feeds():
print(feed)
# Get RSS entries for a specific feed
for entry in api.rss(feed):
print(entry)
Metadata
Release files for fetchrss-api 0.1.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 |
|---|---|---|---|---|
| fetchrss-api-0.1.4.tar.gz | 3.6 kB | Without provenance | Details for fetchrss-api-0.1.4.tar.gz |
Release files / fetchrss-api-0.1.4.tar.gz
| Download URL | fetchrss-api-0.1.4.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f847abfac4fb7305c7eadf69e7916b965cb46cdf86d1f408da1208cb463b7ab
|
|
BLAKE2b-256 checksum How to use checksums |
bf81e7a2c34d518fba9960472000cee9c382935c5905b8dc44b39c949a7c2348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Security for fetchrss-api 0.1.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.