Example #1
0
 public async Task <Dictionary <long, Station[]> > GetConquerableStationsBySystemId()
 {
     return(await ApiCache.GetCurrentData("conquerableStations/v1", GetConquerableStationsBySystemIdSync, s => s.GroupBy(x => x.SolarSystemId).ToDictionary(x => x.Key, y => y.Select(a => new Station {
         Name = a.StationName
     }).ToArray())).ConfigureAwait(false));
 }
 public async Task <IDictionary <long, Alliance> > GetAlliancesByAllianceId()
 {
     return(await ApiCache.GetCurrentData("allianceInfo/v1", GetAlliancesSync, x => x));
 }
Example #3
0
 public async Task <IDictionary <long, int> > GetJumpsBySystemId()
 {
     return(await ApiCache.GetCurrentData("jumpsBySystem/v1", GetJumpsBySystemIdInternal, x => x));
 }
Example #4
0
        // /map/Kills.xml.aspx

        public async Task <IDictionary <long, KillsBySystem> > GetKillsBySystemId()
        {
            return(await ApiCache.GetCurrentData("killsBySystem/v1", GetKillsBySystem, x => x));
        }
 //TODO theoretisch status von alten updaten, wenn neue daten da sind
 public async Task <IDictionary <long, FactionWarfareOccupancy> > GetFactionWarfareOccupancyBySystemId()
 {
     return(await ApiCache.GetCurrentData("factionWarfare/v1", GetFactionWarefeStatsSync, x => x));
 }
Example #6
0
 public async Task <IDictionary <long, SovEntry> > GetSovereignityBySystemId()
 {
     return(await ApiCache.GetCurrentData("sovereignity/v1", GetSovereignitySync, x => x));
 }