使用Aviationstack实时航班跟踪API进行航班跟踪

aviationstack提供了一套API,用于追踪飞行数据,适用于构建航班预订或跟踪系统。免费试用,高效易用,由apilayer开发。获取API密钥后,通过基础端点进行请求,如查询实时航班、历史飞行数据、航线和机场信息等。
摘要由CSDN通过智能技术生成

aviationstack is a suite of API used in tracking flight data. This is useful for individuals who are interested in building a flight booking or tracking system.

Aviationstack是用于跟踪飞行数据的一套API。 这对于有兴趣建立机票预定或跟踪系统的个人很有用。

特征 ( Features )

  • It’s free to get started, so you can evaluate if this is suitable for your needs.

    它是免费的入门指南,因此您可以评估它是否适合您的需求。
  • Very efficient and easy to use API.

    非常有效且易于使用的API。
  • Built by apilayer, so you know you’re in safe hands.

    apilayer构建 ,因此您可以安全使用。

使用航空堆栈 ( Using aviationstack )

After creating a free account over at their website, make sure to get your API key as this is needed to make requests to the API.

在其网站上创建免费帐户后,请确保获取您的API密钥,因为这是向API发出请求所必需的。

The base endpoint for all requests is:

所有请求的基本端点是:

https://api.aviationstack.com/v1/?access_key=MY_KEY

Note: you should replace MY\KEY with the API key you get from the site._

注意:您应该将MY \ KEY替换为从网站获得的API密钥。_

Every future request has an endpoint associated with that endpoint.

每个将来的请求都有一个与该端点关联的端点。

  • /flights lists all realtime flight.

    /flights列出所有实时航班。
  • /historical lists historical flight data.

    /historical列出历史飞行数据。
  • /routes is useful for listing the routes an airline will take.

    /routes对于列出航空公司将采用的航线很有用。
  • /airports is used to get data about airports, etc.

    /airports用于获取有关机场等的数据。

You can find more info on their documentation.

您可以在他们的文档中找到更多信息。

翻译自: https://scotch.io/tutorials/flight-tracking-with-aviationstack-real-time-flight-tracking-api

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值