I said "travelling TO", and most of the time you do not need to know anything apart from the name of the city... and then I presume you have a smartphone as well. Come on.
What did you do once you arrived in Budapest? Did you do your research or did you get scammed by the taxi mafia as well?