Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
```