Skip to content

mhajder/dobrysennik-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dobrysennik-api

Unofficial wrapper for DobrySennik.pl website that returns data in json format.

Requirements

  • python >=3.6

Installation

Install using pip:

pip install -r requirements.txt

Usage

I use uvicorn to run the application, but you can use any other ASGI server.

Below are some examples of the commands I use.

Production

uvicorn main:app --env-file ".env" --host 127.0.0.1 --port 8000 --workers 2 --no-access-log --proxy-headers

Development

uvicorn main:app --reload --env-file ".env"