def get_pull_requests(app, repo_config):
response = get_api_response(app, repo_config, "<STR_LIT>")<EOL>if not response.ok:<EOL><INDENT>raise Exception("<STR_LIT>".format(response.status_code))<EOL><DEDENT>return (item for item in response.json)<EOL>
Last 30 pull requests from a repository.

    :param app: Flask app
    :param repo_config: dict with ``github_repo`` key

    :returns: id for a pull request