/*
         * ----------------------------------------------------
         * distance between 2 zip codes
         * ----------------------------------------------------
         */

        public double distance(string zip1, string zip2)
        {
            Web2String.ServiceClient client = new Web2String.ServiceClient();
            string code1 = client.GetWebContent("https://api.zip-codes.com/ZipCodesAPI.svc/1.0/QuickGetZipCodeDetails/" + zip1 + "?key=7BCM9XC85J68W7HIFO79");
            string code2 = client.GetWebContent("https://api.zip-codes.com/ZipCodesAPI.svc/1.0/QuickGetZipCodeDetails/" + zip2 + "?key=7BCM9XC85J68W7HIFO79");

            double lat1 = infoLat(code1);
            double lon1 = infoLon(code1);
            double lat2 = infoLat(code2);
            double lon2 = infoLon(code2
                                  );

            double dis = calculation(lat1, lon1, lat2, lon2);

            return(dis);
        }
        /*
         * -----------------------------------------------------------------------
         * return names of restaurants around a specific longtitude and latitude
         * -----------------------------------------------------------------------
         */

        public string[] aroundYou(double lat, double lon)
        {
            string Key  = "f4500873cfbb1db93f2741592f4ed5e1";
            double Long = lon;
            double Lati = lat;

            Web2String.ServiceClient client = new Web2String.ServiceClient();
            string text = client.GetWebContent("https://developers.zomato.com/api/v2.1/geocode?lat=" + Lati + "&lon=" + Long + "&apikey=" + Key);
            int    ind  = size(text);

            string[] names = info(text);
            return(names);
        }