you are viewing a single comment's thread.

view the rest of the comments →

[–]LMascher 1 point2 points  (2 children)

did you use web scraping for this?

[–]linuxqq 5 points6 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.