def get_last_page(response):
    """
    Returns the last page of response

    :param response: response from requests
    :return: last page of response (String)
    """
    result = response.links['last']['url']
    final = result.split("&page=")
    result = int(final[1])
    return result