Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page