Skip to content

jacob-f-lab/test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-server

필요사항

  • Python 3.8

실행방법

의존성 설지

$ pip install -r requirements.txt

서버 실행

$ python -m flask --app main run

API 사용법

API 주소

http://127.0.0.1:5000/<연>/<월>/<일> 로 접근시 JSON 양식으로 작성된 해당 일자의 판매 데이터를 받을 수 있다.

API 응답 양식

application/json:
  schema:
    type: array
    items:
      type: object
      properties:
        InvoiceNo:
          type: string
        StockCode:
          type: string
        Description:
          type: string
        Quantity:
          type: integer
        InvoiceDate:
          type: string
        UnitPrice:
          type: number
        CustomerID:
          type: number
        Country:
          type: number

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages