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'}, ...]

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
当您有许多具有不同密钥值的位置时,java Enterprise是加密环境变量的正确方法   java如何使用视图保持器模式制作自定义适配器?   java如何迭代Camel体中的嵌套列表?   序列化用base 64进行Java序列化   java打开文件的最佳方式(并确保选择了文件)   java marvin图像色差插件错误   java如何在eclipse中添加属性文件文件夹   比较java。util。日历日期到java。util。日期   java无法在下一个类(活动)中获取哈希表   java如何将这段代码转换为循环?   java查找通过REST失败   java getIntent返回null   在Java中,如何通过外部集合从内部集合检索数据?   java单点登录以保护REST API和内部基于web的系统