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
def types(self): if not hasattr(self, '_types'): data = pkgutil.get_data('dropbot', 'data/types.json') self._types = base_loads(data) return self._types