File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -177,3 +177,27 @@ def get_bingo_event(self) -> dict:
177177        api_request  =  requests .get ("https://api.hypixel.net/resources/skyblock/bingo" ).content 
178178        bingo_data  =  parse (api_request )
179179        return  bingo_data 
180+     
181+     def  get_active_network_boosters (self ):
182+         """Returns a `dict` of all of the active network boosters.""" 
183+         api_request  =  requests .get (f"https://api.hypixel.net/boosters?key={ self .api_key }  ).content 
184+         boosters_data  =  parse (api_request )
185+         return  boosters_data 
186+ 
187+     def  get_current_player_counts (self ):
188+         """Returns a `dict` of the current player counts for all game modes.""" 
189+         api_request  =  requests .get (f"https://api.hypixel.net/counts?key={ self .api_key }  ).content 
190+         player_count_data  =  parse (api_request )
191+         return  player_count_data 
192+ 
193+     def  get_current_leaderboards (self ):
194+         """Returns a `dict` of the current Hypixel leaderboards.""" 
195+         api_request  =  requests .get (f"https://api.hypixel.net/leaderboards?key={ self .api_key }  ).content 
196+         leaderboards_data  =  parse (api_request )
197+         return  leaderboards_data 
198+ 
199+     def  get_punishment_statistics (self ):
200+         """Returns a `dict` of Hypixel's punishment statistics.""" 
201+         api_request  =  requests .get (f"https://api.hypixel.net/punishmentstats?key={ self .api_key }  ).content 
202+         punishment_stats_data  =  parse (api_request )
203+         return  punishment_stats_data 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments