Java API to get flights information