Online ORF News Wrapper
Project description
ORF-News
Online ORF News Wrapper
Instructions
Install:
pip install orf-news
Information:
news() takes one required and one optional argument
news([HEADLINE], [LIMIT])
HEADLINE = str
LIMIT = int
Run Program:
# import orfnews and asyncio
import asyncio
from orf_news import orfnews
# make def
async def bread():
output = await orfnews.news("ausland", 2)
print(output)
# run def
asyncio.run(bread())
OUTPUT:
# with 2 posts
["post1"], "post2"]
# without posts limitation
["post1"], "post2", ....., "postn"]
Ride the space skyway home to 80s Miami
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
orf_news-1.1.2.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file orf_news-1.1.2.tar.gz
.
File metadata
- Download URL: orf_news-1.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c5efa653461201eee344ccbce71e61107e5b927a6aab4922f1004c8e68e293 |
|
MD5 | 7684c381d7c2410a25ef46574f99318a |
|
BLAKE2b-256 | 20fbf734c7eb9a925d92180398b631fa79fbf457ac2e44aa3c93ac67a442c7e9 |
File details
Details for the file orf_news-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: orf_news-1.1.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d826325503b58b7f3b94c74b2a6a4f8d23fbdfa7000973256769f50b67abcd3a |
|
MD5 | 8463e70b68080921c0a1b0875cc4c207 |
|
BLAKE2b-256 | 3792341f45c62878b508f05c13fd4bcdad608da978ac45ea1dc29357e4e41e05 |