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 19:17:36 +00:00
$ python examples/get.py 1.2.3.4 8468 SpecialKey
The query script is simple:
2018-01-02 19:17:36 +00:00
.. literalinclude:: ../examples/get.py
Check out the examples folder for other examples.