Skip to content

Eclipsium/emphasoftTestWork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing work for Emphasoft

Used libraries

Server preparation

  1. First, you need install requirements in file req.txt

    pip install -r req.txt

  2. Next, you need start FastApi server:

    python main.py

    or

    uvicorn main:app

  3. Server running on http://127.0.0.1:8000 by default.

Creating task

To start the task, you need to send a GET request to http://localhost:8000/search with 2 params:

  1. query - required (String)
  2. task_type - optional (String). download | json, default json. If task_type isn't valid, starting default task

Example request: requests.get("http://localhost:8000/search?query=Form 11-C&task_type=download")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages