2021-05-16 16:50:30 -07:00
2021-05-06 19:17:37 +00:00
2021-05-16 16:49:11 -07:00
2021-05-16 16:39:41 -07:00
2021-05-04 05:59:54 +00:00
2021-05-06 03:00:30 +00:00
2021-05-03 10:48:46 -07:00
2021-05-05 20:17:56 +00:00
2021-05-06 19:17:04 +00:00
2021-05-16 16:39:41 -07:00
2021-05-04 05:59:54 +00:00

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
No description provided
Readme Apache-2.0 210 KiB
Languages
Python 99.6%
Dockerfile 0.4%