Exemple #1
0
 private LastModified lastModified(string Realm)
 {
     AcessoWEB aweb = new AcessoWEB();
     string jlastModified;
     jlastModified = aweb.RecuperaJSON(sd.host + sd.AHData + Realm);
     return ConverteJsontoLastModified(jlastModified);
 }
        private Item RetornaItemBlizzard(string codigo)
        {
            try
            {
                AcessoWEB aweb = new AcessoWEB();
                string jItem;

                jItem = aweb.RecuperaJSON(sd.host + sd.item + codigo);

                return ConverteJsontoItem(jItem);
            }
            catch (Exception ex)
            {
                throw new Exception(String.Format("Erro na rotina RetornaItemBlizzard. {0} codigo: {1} {0}", Environment.NewLine, codigo), ex);
            }
        }
Exemple #3
0
 private string RetornaJsonAuction(LastModified l)
 {
     AcessoWEB aweb = new AcessoWEB();
      return aweb.RecuperaJSON(l.url);
 }