Skip to content

Commit a1641da

Browse files
committed
Documentation
1 parent 1b210b0 commit a1641da

File tree

6 files changed

+32
-0
lines changed

6 files changed

+32
-0
lines changed

doc/ChallengeAdded.json renamed to doc/Old JSONs (pre 2025-26 season)/ChallengeAdded.json

File renamed without changes.

doc/ChallengeConsumptionUpdatedValuesReceived.json renamed to doc/Old JSONs (pre 2025-26 season)/ChallengeConsumptionUpdatedValuesReceived.json

File renamed without changes.

doc/ChallengeDetailsInitialValuesReceived.json renamed to doc/Old JSONs (pre 2025-26 season)/ChallengeDetailsInitialValuesReceived.json

File renamed without changes.

doc/ChallengeListInitialValuesReceived.json renamed to doc/Old JSONs (pre 2025-26 season)/ChallengeListInitialValuesReceived.json

File renamed without changes.

doc/ChallengeListUpdatedValuesReceived.json renamed to doc/Old JSONs (pre 2025-26 season)/ChallengeListUpdatedValuesReceived.json

File renamed without changes.

doc/Readme.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Using get_tokens.py
2+
This python script will let you use it to log in to your Hilo account.
3+
4+
From there, you will be asked to copy the full HA redirect(callback) URL and go back to your python script and press enter.
5+
6+
Negotiation will take place and you will receive three distinct tokens:
7+
- Your access token
8+
- Your devicehub token
9+
- Your challengehub token
10+
11+
Take care not to share your tokens as they are not encrypted and contain personally identifiable information.
12+
13+
1. Run get_tokens.py, you will be provided with a link. Either click it or copy it in your favourite browser.
14+
<img width="1393" height="186" alt="image" src="https://github.com/user-attachments/assets/0b9559b1-1d9a-41ae-b4bf-185a5a5c588b" />
15+
16+
2. Login using your Hilo Credentials
17+
18+
<img width="631" height="569" alt="image" src="https://github.com/user-attachments/assets/ad7c79a7-2402-44e8-9a0b-962406b89527" />
19+
20+
3. Once you get to this page, select the URL and copy it to clipboard
21+
<img width="694" height="274" alt="image" src="https://github.com/user-attachments/assets/85989069-31a3-418d-b305-1f2378432d84" />
22+
<img width="567" height="46" alt="image" src="https://github.com/user-attachments/assets/1d979626-6d93-46cb-aae0-50ef061a0d61" />
23+
24+
4. Go back to get_tokens.py and press enter, you'll get all 3 tokens:
25+
26+
27+
28+
29+
# Using Postman to send payloads to devicehub or challengehub
30+
## Prerequisite: you need to have your tokens on hand, they are relatively short lived so once you have them, get to connecting!
31+
32+

0 commit comments

Comments
 (0)