A simple toolkit to integrate with Naver Works Bot API — so you don’t have to suffer through the official documentation.
- Easy bot message sending (channel & user)
- Automatic access token management
- Simple FastAPI server to handle webhook events
- Clone the repository
git clone https://github.com/hanacardData/NaverWorksKit.git
cd NaverWorksKit- Create a .env file in the project root and fill in your credentials:
WORKS_CLIENT_ID=your_client_id
WORKS_CLIENT_SECRET=your_client_secret
SERVICE_ACCOUNT=your_service_account
PRIVATE_KEY_PATH=./secret/private.pem
BOT_ID=your_bot_id
- Install dependencies
pip install -r requirements.txt- Run the FastAPI server with Uvicorn
uvicorn bot.main:app --reload --host 0.0.0.0 --port 8001 # dev
uvicorn bot.main:app --host 0.0.0.0 --port 8001 --workers 4 # production