Created
July 21, 2016 20:49
-
-
Save cas--/f0a33566739be9075f3c851dbc94534e to your computer and use it in GitHub Desktop.
List of ubuntu supported series from launchpad
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 json | |
import urllib | |
series = json.load(urllib.urlopen('https://api.launchpad.net/1.0/ubuntu/series')) | |
print [entry['name'] for entry in series['entries'] if entry['supported']] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment