https://github.com/mcbabo/orfnews
Online ORF News Wrapper
https://github.com/mcbabo/orfnews
api austria pip python wrapper
Last synced: about 2 months ago
JSON representation
Online ORF News Wrapper
- Host: GitHub
- URL: https://github.com/mcbabo/orfnews
- Owner: mcbabo
- License: mit
- Created: 2021-11-06T23:02:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-07T12:43:24.000Z (over 3 years ago)
- Last Synced: 2025-02-12T06:43:48.391Z (3 months ago)
- Topics: api, austria, pip, python, wrapper
- Language: Python
- Homepage: https://news.orf.at
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ORF-News #
Online ORF News Wrapper
[My Discord](https://discordapp.com/users/731128007388823592/ "Moritz⚜#6969")
## Instructions ##
### Install: ###
```py
pip install orf-news
```### Information: ###
```py
news() takes one required and one optional argument
news([HEADLINE], [LIMIT])
HEADLINE = str
LIMIT = int
```### Run Program: ###
```py
# 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: ###
```py
# with 2 posts
["post1", "post2"]
# without n posts limitation
["post1", "post2", ....., "postn"]
```## Ride the space skyway home to 80s Miami ##