import requests


def get_info(sign, day):
    """This function makes the API call to get the result
    of the desired zodiac sign for the desired day."""

    base_url = "https://sameer-kumar-aztro-v1.p.rapidapi.com/"

    parameters = {"sign": sign, "day": day}

    headers = {'x-rapidapi-host': "sameer-kumar-aztro-v1.p.rapidapi.com",
               'x-rapidapi-key':
               "9b63804a3cmsh368b3af884ede93p1e0b5djsn7ebb3eb30986"}

    robj = requests.post(base_url, headers=headers, params=parameters)
    return_object = robj.json()
    if robj.status_code == 200:
        res = f'''We see that you are {sign.capitalize()}. Your horoscope for the date
 {return_object['current_date']} says that : '{return_object["description"]}'\n
 You are compatible with {return_object["compatibility"]}. Your lucky color,
 number and time are {return_object["color"]}, {return_object["lucky_number"]}
 and {return_object["lucky_time"]} respectively.\n
 You are expected to be in '{return_object["mood"]}' mood.'''

        return res
    else:
        return "Sorry! No result found."