kademlia/docs/querying.rst

13 lines
302 B
ReStructuredText
Raw Normal View History

Querying the DHT
==================
If you just want to query the network, you can use the example query script. For instance::
2018-01-02 20:17:36 +01:00
$ python examples/get.py 1.2.3.4 8468 SpecialKey
The query script is simple:
2018-01-02 20:17:36 +01:00
.. literalinclude:: ../examples/get.py
Check out the examples folder for other examples.