def make_url(data, credentials):
    """
    URL generator to get menu details from Foursquare.

    :param data: Information about the venue.
    :param credentials: Foursquare credentials.
    :return: Generated URL.
    """
    url = "https://api.foursquare.com/v2/venues/{}/menu?client_id={}&client_secret={}&v=20170109".format(
        data.fs_venue_id, credentials.foursquare_client_id, credentials.foursquare_client_secret)
    return url