Esempio n. 1
0
 def stations(self):
     if not hasattr(self, '_stations'):
         data = pkgutil.get_data('dropbot', 'data/stations.json')
         self._stations = base_loads(data)
         logging.debug('Getting ConquerableStationList')
         for x in self.get_eveapi().eve.ConquerableStationList().outposts:
             self._stations[unicode(x.stationID)] = x.solarSystemID
     return self._stations
Esempio n. 2
0
 def stations(self):
     if not hasattr(self, '_stations'):
         data = pkgutil.get_data('dropbot', 'data/stations.json')
         self._stations = base_loads(data)
         logging.debug('Getting ConquerableStationList')
         for x in self.get_eveapi().eve.ConquerableStationList().outposts:
             self._stations[unicode(x.stationID)] = x.solarSystemID
     return self._stations
Esempio n. 3
0
 def types(self):
     if not hasattr(self, '_types'):
         data = pkgutil.get_data('dropbot', 'data/types.json')
         self._types = base_loads(data)
     return self._types
Esempio n. 4
0
 def types(self):
     if not hasattr(self, '_types'):
         data = pkgutil.get_data('dropbot', 'data/types.json')
         self._types = base_loads(data)
     return self._types