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

KyeDiscord-0.0.1.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file KyeDiscord-0.0.1.tar.gz.

File metadata

  • Download URL: KyeDiscord-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for KyeDiscord-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b71119d2f82353d9a10c7606f195f8c8af2ce311e27280835bcc6ed78c889b03
MD5 b4dc9652462015374237eb6fe667835f
BLAKE2b-256 b5d40ed606a3d80c590eb0a328d61c5b8b4794a04cf6dc95d9b1a45138772623

See more details on using hashes here.

Supported by

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