private async Task <PSNItem> GetPSNItem(string ContentID, string Region, string age) { PSNItem item = new PSNItem(); NetworkResponse response = await GetResponse(ContentID, Region, age); if (response.ResponseCode == "OK") { string body = response.Body; item = PSNItem.FromJson(body); return(item); } else { return(null); } }
public static string ToJson(this PSNItem self) => JsonConvert.SerializeObject(self, Converter.Settings);