def get_basic_track_info(track):
    """
    Given a track object, return a dictionary of track name, artist name,
    album name, track uri, and track id.
    """
    # Remember that artist and album artist have different entries in the
    # spotify track object.

    name = track["name"]
    artist = track['artists'][0]['name']
    album = track['album']['name']
    uri = track["uri"]
    track_id = track['id']

    output = {"name": name, "artist": artist, "album": album, "uri": uri,
              "id": track_id}

    return output