์ฌ์ฅ๋์ฉ QR์ฒดํฌ์ธ, ์ ์์ถ์
๋ช
๋ถ๋ฅผ ์ํ ํ์ด์ฌ API Wrapper
QR์ฒดํฌ์ธ๋ ํ ์ ์์ด์!
QR์ฒดํฌ์ธ API๋ฅผ ์ด์ฉํ ํ ์๊ฐ ๊ธฐ์ค ์๋์ ์์ธก ์ค๋ฒ๋ ์ด
| ํ์ฌ์๊ฐ ๊ธฐ์ค ์๋์ / ์ง๋ ๋ฐ์ดํฐ ๊ธฐ์ค ์์ธก ์๋์ |
 |
QR์ฒดํฌ์ธ API๋ฅผ ์ด์ฉํ ํน์ ๊ฐ๊ณ์ ์๋ ์ ํต๊ณ
| ์์ผ๋ณ ์๋์ |
 |
| ์๊ฐ๋๋ณ ์๋์ |
 |
Legal Disclaimer
์๋น์ค์ ๋ฌด๋ฆฌ๊ฐ ๊ฐ์ ๋๋ก ์์ฒญํ์ง ๋ง์ธ์.
Do not send request over a short span.
๋น์์
์ ์ฉ๋๋ง ์ฌ์ฉ ๊ฐ๋ฅ. ์ค์ง ๊ต์ก์ ๋ชฉ์ ์ผ๋ก๋ง ์ฌ์ฉํ ์ ์์ผ๋ฉฐ, ์ ์์ถ์
๋ช
๋ถ(KIPass)๋ ์ง๋ณ๊ด๋ฆฌ์ฒญ์ ์์ฐ์
๋๋ค. ์
์์ ๊ณต๊ฒฉ์ ์ด์ฉํ ์ ์ฒ๋ฒ ๋ฐ์์ ์์ต๋๋ค. ์ฌ์ฉ์ ๋ฐ๋ฅธ ์ฑ
์์ ์ฌ์ฉ์๊ฐ ์ง๋๋ค.
Non Commercial Only. Only use for educational purposes, KIPass is asset of MOHW. User takes responsibility for usage.
Install
Using
Import
Login
> kipass = KIPass(username="USERNAME", password="PASSWORD")
Security Considerations
์์ด๋, ๋น๋ฐ๋ฒํธ๋ ํ๊ฒฝ๋ณ์๋ฅผ ์ด์ฉํด ์ ์ฅํ๋๊ฒ์ด ๋ณด์์ ์ข์ต๋๋ค.
> import os
> kipass = KIPass(username=os.environ.get("KI_PASS_ID"), password=os.environ.get("KI_PASS_PASSWORD"))ํน์ ๋ ์ง์ ๊ณ ๊ฐ์ ๋ถ๋ฌ์ค๊ธฐ
> kipass.get_customer_count_on_day(date="20220107")
CustomerCountOnDay()
2์ฃผ๊ฐ ๊ธฐ๊ฐ์ ๊ณ ๊ฐ์ ๋ถ๋ฌ์ค๊ธฐ
> kipass.get_customer_count_on_two_week(start_date="20211219", end_date="20220102")
CustomerCountOnTwoWeek[]
QR์ฝ๋ ์ธ์ฆํ๊ธฐ
> kipass.verify_qr(parsed_qr_code="....")
VerifyQR
Examples
Graphing
Overlay
Objects
User
> kipass.user.[parameter]
- boss_name
- is_enabled
- address_detail
- is_transferred
- is_async
- version
- is_boss
- biz_no_count
- authed_phone_number
- phone_number
- business_register_number
- username
- os_type
- business_name
- new_terms_yn
- name
- str_use_yn
- process_type
- business_id
- address
- uuid
- business_type
CustomerCountOnDay
- total_customer_count
- vaccinated_customer_count
- fully_vaccinated_customer_count
- dates
- time
CustomerCountOnTwoWeek
- total_customer_count
- vaccinated_customer_count
- fully_vaccinated_customer_count
- dates
VerifyQR
- voice
- msg
- vaccine_type
- vaccine_code
- background_color
- success