faa飞行api的python包装器。
faa的Python项目详细描述
联邦航空管理局api的python包装器。
用法
>>> from faa import FAA>>> # Find all current delays in the US. ... FAA().delays() {'lots': {'and': {'lots': 'of delay data'}}}>>> # Search for the status of a specific airport. ... FAA().status('SFO') {'data': {'specific to': 'SFO'}}>>> # Get back a list of all ground delays. ... FAA().ground_delays() [{'ground': 'delay'}, {'ground': 'delay'}, ...]>>> # Get back a list of all ground stops. ... FAA().ground_stops() [{'ground': 'stop'}, {'ground': 'stop'}, ...]>>> # Get back a list of all arrival and depature delays. ... FAA().delay_list() [{'arrival': 'delay'}, {'departure': 'delay'}, ...]
版权所有
版权所有(c)2011美国实验室规范。
有关详细信息,请参见许可证。