Skip to content

Instantly share code, notes, and snippets.

@jmcmellen
Created September 6, 2012 15:25
Show Gist options
  • Save jmcmellen/3657339 to your computer and use it in GitHub Desktop.
Save jmcmellen/3657339 to your computer and use it in GitHub Desktop.
Get open NOTAMS for locations
import requests
r = requests.post("https://pilotweb.nas.faa.gov/PilotWeb/notamRetrievalByICAOAction.do?method=displayByICAOs", params={"formatType":"DOMESTIC", "retrieveLocId":"eos\n3dw\nbbg", "reportType":"REPORT", "openItems":"", "actionType":"notamRetrievalByICAOs" })
print r.content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment