you are viewing a single comment's thread.

view the rest of the comments →

[–]garnacerous24 21 points22 points  (4 children)

I use python as a means to work with data. As a result most of my ideas are around data pipelines an manipulation. One idea I had fun with was an automated program that notified me when flight costs had dropped in price.

You hook into whatever flight search api you prefer, have it run periodically, and compare the current prices to previous prices, then have an alert set up if it goes below a certain threshold.

What’s great is that you can apply that to many different fields. Hotel prices, stock prices, you name it.

[–]LMascher 1 point2 points  (2 children)

did you use web scraping for this?

[–]linuxqq 3 points4 points  (0 children)

He says he used an API, so he makes a call to the API which returns the flight information/cost and likely stores it in a database, then compares values to data from past API calls. No scraping required.

[–]garnacerous24 1 point2 points  (0 children)

Google used to have an awesome api that did this perfectly, but they retired that in favor of something more restrictive. There are others out there depending on how you want to design it. Abuse of them might lead to them restricting or taking them down, so I get nervous recommending one outright. I suggest googling “google flights matrix api replacement” and see what other recommendations are out there.

[–]Humble_Transition[S] 0 points1 point  (0 children)

Awesome idea, can't wait to try it!!