Skip to main content

Farm LOL matches

Project description

Python match farm

Use python to scrape matches from the Riot APIs

Sample usage

Setup:

from src.ingestor import Ingestor
from src.config import Config

API_KEY="<Riot API Key here>"

userConfig= Config(API_KEY)


test = Ingestor(userConfig)

print(test.REGION_NA1)

Download fixed size

from src import ingestor
from src.config import Config
from src.download_Controller import Download_Controller
from src.local_download import Local_Download

configUser = Config("<Riot API Key here>")

downloadType = Local_Download()

ingestorEngine = ingestor.Ingestor(configUser)

downloader = Download_Controller(downloadType, ingestorEngine)

downloader.downloadFixed('Kascadian', 50)

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

matchFarm-0.1.8.tar.gz (17.8 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