Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cas--
Created July 21, 2016 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cas--/f0a33566739be9075f3c851dbc94534e to your computer and use it in GitHub Desktop.
Save cas--/f0a33566739be9075f3c851dbc94534e to your computer and use it in GitHub Desktop.
List of ubuntu supported series from launchpad
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