Blizzard Api Wrapper for C#

AuctionLocator.cs 564B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. using Newtonsoft.Json;
  3. namespace BlizzSharp.Data
  4. {
  5. // {"files":[{"url":"http://auction-api-eu.worldofwarcraft.com/auction-data/1488d9d770f41c6da8a4dcaed7138eab/auctions.json","lastModified":1534800577000}]}
  6. public class AuctionLocatorList
  7. {
  8. [JsonProperty("files")]
  9. public AuctionLocator[] Locators;
  10. }
  11. public class AuctionLocator
  12. {
  13. [JsonProperty("url")]
  14. public string Url {get;set;}
  15. [JsonProperty("lastModified")]
  16. public long Timestamp {get;set;}
  17. }
  18. }