コード例 #1
0
 def __init__(self):
     self.keys = [4, 5, 6, 8]
     self.steam = steam.Steam()
     self.es_matches = elasticsearch.Connector(index="respect-v-matches")
     self.es_users = elasticsearch.Connector(index="respect-v-users")
     self.es_rank = elasticsearch.Connector(index="respect-v-leaderboard")
     self.es_prev_rank = elasticsearch.Connector(
         index="respect-v-leaderboard-prev")
コード例 #2
0
 def __init__(self):
     self.users = elasticsearch.Connector(index="users")
     self.matches = elasticsearch.Connector(index="matches")
     self.links, self.nodes = [], []
コード例 #3
0
 def __init__(self):
     self.user_api = InternalUserAPI()
     self.es = elasticsearch.Connector(index="respect-v-leaderboard")
     self.prev_es = elasticsearch.Connector(index="respect-v-leaderboard-prev")
     self.user_es = elasticsearch.Connector(index="respect-v-users")
コード例 #4
0
 def __init__(self):
     self.steam = steam.Steam()
     self.es_user_button = elasticsearch.Connector(
         index="respect-v-btn-user-count")
     self.es_matches = elasticsearch.Connector(index="respect-v-matches")
     self.es_users = elasticsearch.Connector(index="respect-v-users")
コード例 #5
0
 def __init__(self):
     self.update_api = InternalUpdateAPI()
     self.es = elasticsearch.Connector(index="respect-v-users")
     self.update_user = elasticsearch.Connector(
         index="respect-v-user-update")
コード例 #6
0
 def __init__(self):
     self.steam = Steam()
     self.user_es = elasticsearch.Connector(index="respect-v-users")
     self.match_es = elasticsearch.Connector(index="respect-v-matches")
コード例 #7
0
 def __init__(self):
     self.es = elasticsearch.Connector(index="respect-v-songs")