Connecting my Custom App to an outsource API

Hello there,

i am new to ERPNext, but basically what i am doing is building my custom app ( ticketing system) on ERPNext, i dont know if it’s possible but i will be using the application to book flights, hotels, get flights results, etc… BASICALLY, a travel agency application.

My question is… would it be possible to integrate my frappe app with an external REST API like sabre, flyDubai, etc… to get results, book tickets, search through my custom Form… and is there a way for real-time interaction with the API “for example when searching for a hotel. Typing “Ho…” would show me the suggestions such as"Holiday Inn…”

sorry for the long post but hopefully someone can help me out with this.

Thank you,