predictive-punter / punters_client

Python client library for www.punters.com.au
MIT License
6 stars 3 forks source link

Check Scraper Version Compatibility #24

Closed justjasongreen closed 8 years ago

justjasongreen commented 8 years ago

Add an 'is_compatible_with' method to the Scraper class that takes a dict as an argument and returns True if the dict's 'scraper_version' value is compatible with the scraper instance's version (that is, if both versions have the same major number).