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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: Grenadevisuals-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 Grenadevisuals-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3bf317be7f7ecb36878b177ab2f3ebd6fc98c1c08e0ea1673808fb2800857c1f
MD5 af9ded1e768ab4473f23a63d839b4c0c
BLAKE2b-256 d18faaf2ee34dcd32da1d29d638aedf21694d15b29f0b8ef1c2f2aa058bc1ded

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