restAPY
A python module for building Rest APIs
Example
import restAPY
api = restAPY.API(80, “0.0.0.0”)
api.set_path(“/”, {“celsius”:5, “fahrenheit”:41})
api.run()
Done! Start the python file and you've got a working rest API.
Installation
Inside the terminal:
pip install restAPY
Inside your project:
import restAPY
Dependencies
Python 3.6 (or higher) with the following modules:
- socket
- threading
- json
- ssl
All of these are part of the default python install and therefore don't need to be installed separately.
Documentation
https://restapy.readthedocs.io/
Contributors
Niklas Ziermann
Copyright & License
© Niklas Ziermann
MIT License