• Gets the Spotify API credentials

    Retrieves the currently stored Spotify client ID and secret as an object. Used by API modules that need to authenticate requests to the Spotify Web API.

    Returns { clientId: string; clientSecret: string }

    Object containing clientId and clientSecret properties

    // Get credentials for API requests
    const { clientId, clientSecret } = getCredentials();
    if (!clientId || !clientSecret) {
    console.error('Missing Spotify API credentials');
    }
    export function getCredentials(): { clientId: string; clientSecret: string } {
    return { clientId, clientSecret };
    }