Пример #1
0
 /// <summary>
 /// Queue a Geopulse for inclusion in the next multi request.
 /// </summary>
 /// <param name="point">Geopulse query parameter</param>
 public void QueueFetch(Geopulse point)
 {
     MultiQuery.AddQuery(UrlForGeopulse(), point.ToUrlQuery());
 }
Пример #2
0
 /// <summary>
 /// Queue a Geopulse for inclusion in the next multi request.
 /// </summary>
 /// <param name="point">Geopulse query parameter</param>
 public void QueueFetch(Geopulse point)
 {
     MultiQuery.AddQuery(UrlForGeopulse(), point.ToUrlQuery());
 }
Пример #3
0
 /// <summary>
 /// Run a Geopulse query against the Factual API.
 /// <para name="Example"> This example shows common usage: </para>
 /// <c>new Geopulse(new Point(34.06021, -118.41828)).Only("commercial_density")</c>
 /// </summary>
 /// <param name="geopulse">Geopulse query to run</param>
 /// <returns>the response of running query against Factual.</returns>
 public string Geopulse(Geopulse geopulse)
 {
     return RawQuery(UrlForGeopulse(), geopulse.ToUrlQuery());
 }
Пример #4
0
 /// <summary>
 /// Run a Geopulse query against the Factual API.
 /// <para name="Example"> This example shows common usage: </para>
 /// <c>new Geopulse(new Point(34.06021, -118.41828)).Only("commercial_density")</c>
 /// </summary>
 /// <param name="geopulse">Geopulse query to run</param>
 /// <returns>the response of running query against Factual.</returns>
 public string Geopulse(Geopulse geopulse)
 {
     return(RawQuery(UrlForGeopulse(), geopulse.ToUrlQuery()));
 }