Python async library for pulling news off of https://www.epicgames.com/fortnite/en-US/news
Project description
FortniteNewsGrabber
An async python library for grabbing the news from this site.
Installation
pip install FortniteNewsGrabber
Basic Usage:
import FortniteNewsGrabber
import asyncio
async def main():
a = await FortniteNewsGrabber.getAllNews()
print(a[0].image)
asyncio.run(main())
This will print a url to the image of the first news element:
https://cdn2.unrealengine.com/13br-megadrop-blogthumb-576x576-730037014.jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Grenadevisuals-0.0.1.tar.gz
(1.7 kB
view hashes)