diff --git a/README.md b/README.md index 98367fcd..3e2ed288 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,28 @@ Example Response: } ``` + ### GET `/api/clock/:slackId` Depreciated. Responds with unix timestamp of the expected end time of the current session for the user. + +### GET `https://hackclub.com/api/arcade/shop/` +Get all items from the shop with stock if applicable + +Example Response: +```json +[ + { + "name": "USB-C Charger", + "smallName": "(30W)", + "description": "Small, uses the latest GaN technology, & charges fast - pretty sweet!", + "hours": 6, + "imageURL": "https://cloud-lit9nkas9-hack-club-bot.vercel.app/051t9lfjeuml._ac_sl1500_.png", + "stock": 47 + } + // etc +] +``` + +