code: def ping(self, peer, *peers, **kwargs):
          
          #PY2: No support for kw-only parameters after glob parameters
          if "count" in kwargs:
              kwargs.setdefault("opts", {"count": kwargs["count"]})
              del kwargs["count"]
  
          args = (peer,) + peers
          return self._client.request('/ping', args, decoder='json', **kwargs)
docs: Provides round-trip latency information for the routing system.
  
          Finds nodes via the routing system, sends pings, waits for pongs,
          and prints out round-trip latency information.
  
          .. code-block:: python
  
              >>> c.ping("QmTzQ1JRkWErjk39mryYw2WVaphAZNAREyMchXzYQ7c15n")
              [{'Success': True,  'Time': 0,
                'Text': 'Looking up peer QmTzQ1JRkWErjk39mryYw2WVaphAZN … c15n'},
               {'Success': False, 'Time': 0,
                'Text': 'Peer lookup error: routing: not found'}]
  
          Parameters
          ----------
          peer : str
              ID of peer to be pinged
          count : int
              Number of ping messages to send (Default: ``10``)
  
          Returns
          -------
              list : Progress reports from the ping