def get_stream_credentials(username, password):
    """
    Uses the `/user/uuid` endpoint.
    takes a valid username and password as parameter.
    It will return all the necessary credentials to use the API
    and the upload endpoints.

    e.g. username="bej48snvvthy", password=""

    """
    endpoint = KICKFLIP_API_URL + '/user/uuid/'
    payload = {'username': username, 'password': password}

    response = kickflip_session.post(endpoint, payload)

    return response.json()