Rest API for plane tracker

43 views
Skip to first unread message

Caleb Bryson

unread,
Oct 8, 2018, 12:31:28 PM10/8/18
to Django users
Hey guys I am trying to figure out how to create a api using the django rest frame work to display a airplane flight tracker on a website. I am not really sure how to do it as from what i have seen as examples the api's have been used form simple data like names, height, id number, etc. I am looking to use the the code from https://aviation-edge.com/ but am stuck on how to put it into the existing code that i have. Do i just create a model and views .py to display it on the site or is there another process for this. Thanks in advance for the help.

Derek

unread,
Oct 12, 2018, 2:19:18 AM10/12/18
to Django users
It looks like they supply an API. So all you should have to do is create views to process calls to & results from that API.  You only need DRF if you are storing data locally via your own models.
Reply all
Reply to author
Forward
0 new messages