def get_paths(self, user_ids=None, startup_ids=None, direction=None):
if user_ids is None and startup_ids is None and direction is None:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>if isinstance(user_ids, list):<EOL><INDENT>user_ids = '<STR_LIT:U+002C>'.join(list(map(lambda k: str(k), user_ids)))<EOL><DEDENT>if isinstance(startup_ids, list):<EOL><INDENT>startup_ids = '<STR_LIT:U+002C>'.join(list(map(lambda k: str(k), startup_ids)))<EOL><DEDENT>paths_url = _PATHS.format(c_api=_C_API_BEGINNING,<EOL>api=_API_VERSION,<EOL>at=self.access_token)<EOL>if not user_ids is None:<EOL><INDENT>paths_url += '<STR_LIT:&>' + _USER_IDS_SUFFIX.format(user_ids=user_ids)<EOL><DEDENT>if not startup_ids is None:<EOL><INDENT>paths_url += '<STR_LIT:&>' + _STARTUP_IDS_SUFFIX.format(<EOL>startup_ids=startup_ids)<EOL><DEDENT>if not direction is None:<EOL><INDENT>paths_url += '<STR_LIT:&>' + _DIRECTION_SUFFIX.format(direction=direction)<EOL><DEDENT>return _get_request(paths_url)<EOL>
user_ids: paths between you and these users
startup_ids: paths between you and these startups
direction: 'following' or 'followed'