infinipy/core.py
def postStats(self,shards:int=0,servers:int=0):
        """
        Post stats to IBL's API

        :param shards: Shard Count
        :param servers: Server Count 

        Sample Usage:
        
        .. code-block:: py
            from infinipy import SyncAPISession

            cs = SyncAPISession("API_TOKEN")
            cs.postStats(servers=12)
        """
            
        data = {
            'servers':servers,
            'shards':shards
        }
        resp = self._post('bots/stats',jsondata=data)
        self.session['UPDATE_RESPONSE'] = resp

        Post stats to IBL's API

        :param shards: Shard Count
        :param servers: Server Count 

        Sample Usage:
        
        .. code-block:: py
            from infinipy import SyncAPISession

            cs = SyncAPISession("API_TOKEN")
            cs.postStats(servers=12)
        
Post stats to IBL's API
Post stats to IBL ' s API
def postStats(self,shards:int=0,servers:int=0):
        data = {
            'servers':servers,
            'shards':shards
        }
        resp = self._post('bots/stats',jsondata=data)
        self.session['UPDATE_RESPONSE'] = resp
def postStats ( self , shards : int = 0 , servers : int = 0 ) : data = { 'servers' : servers , 'shards' : shards } resp = self . _post ( 'bots/stats' , jsondata = data ) self . session [ 'UPDATE_RESPONSE' ] = resp
Post stats to IBL's API
Post stats to IBL ' s API
"""
        Post stats to IBL's API

        :param shards: Shard Count
        :param servers: Server Count 

        Sample Usage:
        
        .. code-block:: py
            from infinipy import SyncAPISession

            cs = SyncAPISession("API_TOKEN")
            cs.postStats(servers=12)
        """
self
shards
int
None
servers
int
Server Count
Sample Usage.

code-block:: py
from infinipy import SyncAPISession

cs = SyncAPISession("API_TOKEN")
cs.postStats(servers=12)
Server Count Sample Usage . code - block :: py from infinipy import SyncAPISession cs = SyncAPISession ( " API_TOKEN " ) cs . postStats ( servers = 12 )