Skip to content

Instantly share code, notes, and snippets.

@philipithomas
Last active August 29, 2015 14:25
Show Gist options
  • Save philipithomas/d6ffeb19293096bcd8bb to your computer and use it in GitHub Desktop.
Save philipithomas/d6ffeb19293096bcd8bb to your computer and use it in GitHub Desktop.
@api.route('/blog', methods=['GET'])
def blog_xml():
return requests.get("https://engineering.opendns.com/?format=json&data=blog&post_count=1").text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment