Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A package for retrieving ivy league sports data

Project Description

Introduction

ivypy is a package to retrieve ivy league sports statistics via scraping. It provides a few method for doing so.

retrieve

retrieve is a method which allows a user to get dat as a list of dictionaries. retrieve has the following call pattern:

retrieve(sport, endpoint, gender=”m”, year=”current”)

where sport is the relevant sport, endpoint is the data you want, gender is the gender for the sport and year is either “current” for the current year or an integer for a previous year. For example to get the standings for men’s basketball in 2013:

>>> standings = retrieve("basketball", "standings", year=2013)
>>> for row in standings: print(row)
{'overall': u'27-5', 'ivy': u'13-1', 'team': 'Harvard'}
{'overall': u'19-14', 'ivy': u'9-5', 'team': 'Yale'}
{'overall': u'21-9', 'ivy': u'8-6', 'team': 'Princeton'}
{'overall': u'21-13', 'ivy': u'8-6', 'team': 'Columbia'}
{'overall': u'15-14', 'ivy': u'7-7', 'team': 'Brown'}
{'overall': u'12-16', 'ivy': u'5-9', 'team': 'Dartmouth'}
{'overall': u'8-20', 'ivy': u'5-9', 'team': 'Penn'}
{'overall': u'2-26', 'ivy': u'1-13', 'team': 'Cornell'}

Release History

This version
History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
ivypy-0.1.tar.gz
(2.9 kB) Copy SHA256 Hash SHA256
Source Feb 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting