Package for scraping data from clubelo.com
Project description
Scrapelo
This simple package provides functions for obtaining ELO scores for clubs available on clubelo.com.
If You wonder how does the ELO system work, You can read about it here.
Features
Get the current ELO scores of clubs for a given competition.
import scrapelo
scrapelo.get_competition_elo('Champions League')
The same effect can be achieved by using the competition code instead of the competition name. You can find out the full list of codes here.
import scrapelo
scrapelo.get_competition_elo('UCL')
For the country competitions the argument ought to be the country's name in English or the country's code.
import scrapelo
# two lines below will give You the same output
scrapelo.get_competition_elo('Spain')
scrapelo.get_competition_elo('ESP')
Get the current ELO of a single club.
import scrapelo
# Function takes only club name as an argument
scrapelo.get_club_elo('Barcelona')
Legal Scraping
The data is scraped legally, as the robots.txt file on the website allows for it.
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
scrapelo-0.0.5.tar.gz
(3.5 kB
view hashes)