mirror of
https://github.com/stake-house/poap-reddit-bot.git
synced 2026-01-09 14:07:58 -05:00
cbfa50572e795346b6d8f80ecbdae31f3cb59169
POAP Reddit Bot: Code distribution for POAP events
Setup
git clone https://github.com/badinvestment/poap-reddit-bot.git
cd poap-reddit-bot
Configure settings.yaml with reddit auth information
reddit:
auth:
username: <reddit_username>
password: <reddit_password>
client_id: <app_client_id>
client_secret: <app_secret>
user_agent: "POAPbot by /u/Bad_Investment https://github.com/badinvestment/poap-reddit-bot"
Docker
Coming soon
Python
To start the app server, run:
pip3 install -r requirements.txt # setup a virtual environment first, if desired
uvicorn app:app #optional flags: --host 0.0.0.0 --port 8000
This will start a webserver on your machine and by default expose the API at localhost:8000
To interact with the API, the OpenAPI (Swagger) interface is available at localhost:8000/docs
ReDoc is also available at localhost:8000/redoc
Description
Languages
Python
99.6%
Dockerfile
0.4%
