Online booking system for flights integrated with APIs