Code Monkey home page Code Monkey logo

phillips66aviation-fbos-kml-map's Introduction

screenshot

What is this?

I needed a KML file of all the FBO's that accept a Phillips 66 Aviation Credit Card for the $1/gal Angel Flight/Compassion Flight rebate. This KML file can be imported into ForeFlight to make it easy to plan for fuel stops.

The fine people at Phillips Aviation never replied to my emails, so... I decided to just pull the data from their website.

This Python 3.x script requires you to install requests and simplekml packages.

Sample output

AL - 20
AK - no airports found
AZ - 14
AR - 19
CA - 34
CO - 24
CT - 3
DE - 7
DC - no airports found
FL - 27
GA - 39
HI - no airports found
ID - 12
IL - 30
IN - 24
IA - 23
KS - 25
KY - 7
LA - 5
ME - 9
MD - 10
MA - 9
MI - 14
MN - 9
MS - 7
MO - 36
MT - 25
NE - 12
NV - 7
NH - 5
NJ - 11
NM - 20
NY - 16
NC - 27
ND - 2
OH - 39
OK - 31
OR - 16
PA - 38
RI - no airports found
SC - 11
SD - 9
TN - 6
TX - 29
UT - 9
VT - 7
VA - 16
WA - 14
WV - 9
WI - 17
WY - 9
-----
Writing KML: Phillips66_FBOs.kml
-----
Total Airports: 774
Total FBOs: 754
Total not accepting CCs: 28

phillips66aviation-fbos-kml-map's People

Contributors

dsilvers avatar

Watchers

James Cloos avatar  avatar

phillips66aviation-fbos-kml-map's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.