break

#Set up a list for us to dump all the journeys
commute_journeys = []

#COLLECTING ALL THE DATA:

for date_set in dates_list:

    #Get the data from the Moves API.
    #Date converted into the way Moves wants it.
    from_date = date_set[0].strftime('%Y%m%d')
    to_date = date_set[1].strftime('%Y%m%d')

    #Here we're calling the moves library.
    data = m.get_storyline(access_token, from_date, to_date, 'true')

    #Now that we have the data, let's pick out what we want
    for day in range(len(data)):
        segments = data[day]['segments']
        if segments != None:

            counter = 0

            for segment in segments:

                #We're only interested in journeys that start at a place
                if segment['type'] == 'place':

                    #See if the location is one of the ones in the list
                    #then name it as that.