Trying to figure out how to build the booking page from a flight response #49
Replies: 1 comment
-
Hey there, @ethanitovitch! I'm here to help you with any bugs, questions, or collaboration you need. Let's figure this out together! To build a booking page from a flight response, you need to extract and format the necessary flight details from the response data. The key components you should focus on include:
These fields are extracted and formatted in the Additionally, the flight response uses Protocol Buffers (protobuf) to store flight details, which helps in efficiently handling the data [3][2]. You can use this structured data to render the booking page by creating HTML templates or using a front-end framework to display the information in a user-friendly format. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So after I search for a flight I see the responses. Trying to figure out how to build the booking page. Here's an example url:
https://www.google.com/travel/flights/booking?tfs=CBwQAhpMEgoyMDI1LTA0LTA4Ih8KA0VXUhIKMjAyNS0wNC0wOBoDTEFYKgJOSzIDNjI2ag0IAxIJL20vMDJfMjg2cg4IAxIKL20vMDMwcWIzdEABSAFwAYIBCwj___________8BmAEC&tfu=CmxDalJJVEd4VFYxTkRlRXR1VjBsQlFWVlNTWGRDUnkwdExTMHRMUzB0ZG5kaVkyOHpOVUZCUVVGQlIyWnNkbFozUzJWaGVrdEJFZ1ZPU3pZeU5ob0xDTkNVQVJBQ0dnTkRRVVE0SEhEelp3PT0SAggAIgMSATA
I've forked the repo and will send a pull request if I can figure it out but for anyone interested, lets colab!
Beta Was this translation helpful? Give feedback.
All reactions