Пример #1
0
        public static WeServer <T> Query <T>(string query, string category, float latitude, float longitude)
        {
            WeSemanticRequest request = new WeSemanticRequest(query, category, latitude, longitude);
            WeServer <T>      result  = WeUtil.PostToUri(url, request.WriteJson(), new WeServer <T>());

            return(result);
        }
Пример #2
0
        public static WeServer <T> Query <T>(string query, string category, string city, string region)
        {
            WeSemanticRequest request = new WeSemanticRequest(query, category, city)
            {
                Region = region
            };
            WeServer <T> result = WeUtil.PostToUri(url, request.WriteJson(), new WeServer <T>());

            return(result);
        }