pygnunetrest/pygnunetrest
juga 206e7eba0c Pass request data dict as json arg, not data arg
`requests.post` data argument is used to send that in the **body** request,
not as json header.
The json argument can be a dictionary and doesn't need to be converted to
string.
2020-11-23 12:45:34 +00:00
..
README.md Convert nkls' gnunet-docker repo to pygnunetrest 2020-11-23 12:40:42 +00:00
__init__.py Convert nkls' gnunet-docker repo to pygnunetrest 2020-11-23 12:40:42 +00:00
gnunetrest.py Pass request data dict as json arg, not data arg 2020-11-23 12:45:34 +00:00

README.md

This is some python code to use GNUnet via the REST API.

Note: You need to have a running GNUnet installation on your machine with REST API for it to work. Or in the network, it is a REST API.

gnunet.py: The file to import. example.py Running examples for all functions with many comments. just run "python3 example.py", no worries ;)