Dweet.io API Compliant REST Web Server written in Python/Flask/MongoDB
Status: working but pending some refactoring
- Python 3.6
- pip install pipenv
- MongoDB Server running on localhost
This python project uses pipenv so after cloning the repo you will need to install dependencies.
git clone https://github.com/joncutrer/pydweetserver.git
cd pydweetserver
pipenv install
By default the REST API webserver starts on port 5000
pipenv run python pydweetserver/app.py
Open http://localhost:5000/ to insure its runnning
http://localhost:5000/dweet/for/mything?foo=bar&temp=40&humidity=30
http://localhost:5000/get/latest/dweet/for/mything
There is a simple UI that will let you see you dweeted things
The project aims to be API compatible with dweet.io, See: https://dweet.io/play/