Skip to content

🎈Facebook, Twitter and Telegram bot for Italian blood weather

Notifications You must be signed in to change notification settings

mozamoy/meteosangue

 
 

Repository files navigation


Quickstart

pip install -r requirements.txt

Test

Enter your virtual env and install requirements

$ pip install -r requirements-test.txt

Launch

$ python manage.py test

Docker

Build image

$ docker-compose build

and run

$ docker-compose up

Our API

/api/bloodgroups : gives you all bloodgroups in database

[

    {
        "status": "S",
        "status_expanded": "Stabile",
        "groupid": "A+",
        "id": 1
    },
    {
        "status": "S",
        "status_expanded": "Stabile",
        "groupid": "AB+",
        "id": 2
    },

]

If you want retrieve a specific blood group (example AB+) you can use /api/bloodgroups/AB+ or /api/bloodgroups/2

/api/bloodgroups/:ID

  • ID : Integer or Groupid

License

Released under MIT License by @astagi

About

🎈Facebook, Twitter and Telegram bot for Italian blood weather

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 66.4%
  • HTML 30.9%
  • Dockerfile 1.7%
  • Shell 1.0%