Skip to content

Instantly share code, notes, and snippets.

@srkirkland
Created July 15, 2015 05:47
Show Gist options
  • Save srkirkland/9f8fac4414e22212df1d to your computer and use it in GitHub Desktop.
Save srkirkland/9f8fac4414e22212df1d to your computer and use it in GitHub Desktop.
factual data return
public class FactualPlaceResponseContainer
{
public string Status { get; set; }
public FactualPlaceResponse Response { get; set; }
}
public class FactualPlaceResponse
{
[JsonProperty("included_rows")]
public int IncludedRows { get; set; }
public FactualPlace[] Data { get; set; }
}
public class FactualPlace
{
public string Address { get; set; }
[JsonProperty("category_ids")]
public int[] CategoryIds { get; set; }
public string[][] Category_Labels { get; set; }
public string Country { get; set; }
public string Factual_Id { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public string Name { get; set; }
public string[] Neighborhood { get; set; }
public string PostCode { get; set; }
public string Region { get; set; }
public string Tel { get; set; }
public string Website { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment