I am working on a little project to process some big data from a game, that will enable me to view some advanced analytics, However, I have come up against a wall .... The following URL (Click Here) is an open API that returns a JSON result and I am trying to process this as my own data.
I have made a class that should process this data into my model, however, every time line 5 is called client.DownloadString
i receive an error 403, is there any way around this? I do not know the owner of the api.
public IActionResult Index(object sender, EventArgs e)
{
var model = new FresnoVm();
WebClient client = new WebClient();
string strPageCode = client.DownloadString("https://api.upx.world/bigdata/query?neighborhood=210&neighborhood=359&neighborhood=367&neighborhood=366&neighborhood=356&neighborhood=364&city=0&status=All&mintMin=0&mintMax=100000000&saleMin=0&saleMax=100000000&skip=0&fsa=All&sort=mint_price&ascOrDesc=1");
dynamic dobj = JsonConvert.DeserializeObject<dynamic>(strPageCode);
price = dobj["data"]["properties"]["sale_price_upx"].ToString();
model.test = price;
return View("~/Features/Fresno/Index.cshtml", model);
}