import requests


def getSunriseSunsetDataLatLong(latitude: str, longitude: str, daysFromNow: int = 0):
    """Fetches data from sunrise-sunset API.
    
    Args:
        latitude: Latitude in degrees.

        longitude: Longitude in degrees.

        daysFromNow: Specify fetching data for a date N days in the future. 

    Returns:
        Tuple containing sunrise and sunset in ISO format.
    """
    # Send request to API for lat and long unformatted, daysFromNow days into the future
    r = requests.get("https://api.sunrise-sunset.org/json", params={'lat': latitude, 'lng': longitude, 'formatted': 0, 'date': f"{daysFromNow} days"})
    
    # Extract sunrise and sunset from result
    utc_sunrise = r.json()['results']['sunrise']
    utc_sunset = r.json()['results']['sunset']

    return (utc_sunrise, utc_sunset)