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], [COUNT])
TASK = str
PRECISION = 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.0.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file orf_news-1.1.0.tar.gz
.
File metadata
- Download URL: orf_news-1.1.0.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 | 9ee032fac0b8d86eae25f25b76ecbe3e6e362472b45cfede26b712104a2016a9 |
|
MD5 | 2ae7ea3958f371dc5ef45064d3dc2dd1 |
|
BLAKE2b-256 | 93f8512351697340bc1655a3535123602591ae3251260b3b416b742d14f986e0 |
File details
Details for the file orf_news-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: orf_news-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 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 | bbb67263c11ce09d016d825fa379d0825896882c5dcd47dc63ac243bee8f81bb |
|
MD5 | 2da6340e78ff333cb1548c4603488178 |
|
BLAKE2b-256 | 63e148ab8b0d6cf4f576f5222aef5857cb959a1b438ada5be8ff5c201027c7b2 |