Last active
August 29, 2015 14:08
-
-
Save davidjb/bbb91f978459042e1426 to your computer and use it in GitHub Desktop.
This obtains and processes all latest browser versions from CanIUse JSON raw data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
caniuse = requests.get('https://github.com/Fyrd/caniuse/raw/master/fulldata-json/data-2.0.json') | |
data = caniuse.json() | |
# We could do a lot more than print here, but this is just an uber quick demo | |
for agent in data['agents']: | |
print(data['agents'][agent]['browser'] + ': ' + data['agents'][agent]['current_version']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment