Skip to content

emre/PharmacyOnDuty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PharmacyOnDuty

Pharmacy on duty api for Istanbul.

Installation

$ git clone git@github.com:emre/PharmacyOnDuty.git
$ (sudo) pip install -e .

This will install the api into your (virtual) environment as editable. If you make any changes in the codebase, you don't need to re-install the package.

Running the fetcher

$ fetch_pharmacy_data

Running the server

$ python server.py

see the district list at: http://localhost:5000/api/v1/istanbul/

Note: For production usage, use gunicorn or uwsgi.

Endpoints

Available Districts

GET http://pharmacy.emre.sh/api/v1/istanbul/

Pharmacies (On duty) at spesific district

GET http://pharmacy.emre.sh/api/v1/istanbul/sisli

About

Pharmacy *on duty* api for Istanbul.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages