add get_api_path() method
cache result whether there is a new version