juga
52fff7dacc
Update docstrings accordingly
2 years ago
juga
969b3ac8d3
Replace var name by more descriptive name
2 years ago
juga
1c17cb00c4
Replace fetch_identity function names
to better show what they do
2 years ago
juga
531b242ebd
Replace args names to make them clearer
- remove the article
- separate words by undersore
- add adjetive
2 years ago
juga
0ca33a1dec
Store URL paths in the class
so that there's no need to build the whole URL every time.
Also:
- stop converting back and forth dictionaries and json strings
- rename response to r
- return tuples when there's an error to know the error
- use inline if
2 years ago
juga
48204d83be
Rename module
2 years ago
juga
000a2de569
Pythonize method names
and set comment as docstring.
2 years ago
juga
852138b8b6
Rename gnunetconnector to gnunetrest
2 years ago
juga
e8c15e55de
Reformat code with black
2 years ago
nkls
ddfe1329ee
Convert nkls' gnunet-docker repo to pygnunetrest
ie. the python code and docker that is only for the GNUnet REST API and
not the docker for building a GNUnet docker image.
Squasing all nkls' commits and appling juga's MR:
https://gitlab.com/nkls_pep/gnunet-docker/-/merge_requests/1
2 years ago