Skip to content

mcbabo/orfnews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORF-News

Online ORF News Wrapper

My Discord

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 n posts limitation
["post1", "post2", ....., "postn"]

Ride the space skyway home to 80s Miami

Releases

No releases published

Packages

No packages published

Languages