//  Added in a location string to the parameters
        public List<Event> getPremierLeagueFixtures(string days, string location, string travelmode)
        {
            DatabaseCaller databaseCaller = new DatabaseCaller();
            DistanceMatrix distanceMatrix = new DistanceMatrix();
            Eventsorter eventSorter = new Eventsorter();

            // need to get the api results for the given days
            List<Event> events = this.GetEvents(days);

            // Maybe make a method like this too alter names of teams to less formal ones
            //events = standardizeEvents(events);

            // add in the stadium information from the database
            events = databaseCaller.populateStadiumInformation(events);

            // looking up the distance from current location to the stadiums
            events = distanceMatrix.distancefromLocation(events, location, travelmode); // Added in the events to the parameters

            events = eventSorter.SortByTravelTime(events);

            // returns the events
            return events;
        }
        public List <Event> getPremierLeagueFixtures(string days, string location, string travelmode) //  Added in a location string to the parameters
        {
            DatabaseCaller databaseCaller = new DatabaseCaller();
            DistanceMatrix distanceMatrix = new DistanceMatrix();
            Eventsorter    eventSorter    = new Eventsorter();

            // need to get the api results for the given days
            List <Event> events = this.GetEvents(days);


            // Maybe make a method like this too alter names of teams to less formal ones
            //events = standardizeEvents(events);

            // add in the stadium information from the database
            events = databaseCaller.populateStadiumInformation(events);

            // looking up the distance from current location to the stadiums
            events = distanceMatrix.distancefromLocation(events, location, travelmode); // Added in the events to the parameters

            events = eventSorter.SortByTravelTime(events);

            // returns the events
            return(events);
        }