Skip to content

Commit

Permalink
Add penne id to example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kinnay committed Dec 2, 2024
1 parent d8910b2 commit 4068c31
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion examples/switch/animalcrossing.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
ELICENSE_ID = "..." # 32 hex digits
NA_ID = 0x0123456789abcdef # 16 hex digits

PENNE_ID = "..."

CODE = "ABCDE" # Dodo code


Expand Down Expand Up @@ -88,7 +90,7 @@ async def main():
app_token = response["application_auth_token"]

# Request an anonymous access token for baas
response = await baas_client.authenticate(device_token_baas)
response = await baas_client.authenticate(device_token_baas, PENNE_ID)
access_token = response["accessToken"]

# Log in on the baas server
Expand Down
4 changes: 3 additions & 1 deletion examples/switch/smm2_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
ELICENSE_ID = "..." # 32 hex digits
NA_ID = 0x0123456789abcdef # 16 hex digits

PENNE_ID = "..."

COURSE_ID = "2J53K2Y9G"


Expand Down Expand Up @@ -125,7 +127,7 @@ async def main():
app_token = response["application_auth_token"]

# Request an anonymous access token for baas
response = await baas_client.authenticate(device_token_baas)
response = await baas_client.authenticate(device_token_baas, PENNE_ID)
access_token = response["accessToken"]

# Log in on the baas server
Expand Down
4 changes: 3 additions & 1 deletion examples/switch/smm2_ninji.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
ELICENSE_ID = "..." # 32 hex digits
NA_ID = 0x0123456789abcdef # 16 hex digits

PENNE_ID = "..."


TITLE_ID = 0x01009B90006DC000
TITLE_VERSION = 0x70000
Expand Down Expand Up @@ -89,7 +91,7 @@ async def main():
app_token = response["application_auth_token"]

# Request an anonymous access token for baas
response = await baas_client.authenticate(device_token_baas)
response = await baas_client.authenticate(device_token_baas, PENNE_ID)
access_token = response["accessToken"]

# Log in on the baas server
Expand Down

0 comments on commit 4068c31

Please sign in to comment.