Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get additional challenge details get_adhoc_challenges #124

Open
aiivers opened this issue Feb 1, 2023 · 4 comments
Open

How to get additional challenge details get_adhoc_challenges #124

aiivers opened this issue Feb 1, 2023 · 4 comments

Comments

@aiivers
Copy link

aiivers commented Feb 1, 2023

I'm trying to use the get_adhoc_challenges endpoint, and the data provided is very limited (see below for response object).
What I'd like to do is find out who is in a challenge and what their step/mileage/count value is. As is, the response doesn't include any information about who is in the challenge. Is there a way to get this information?

{'socialChallengeStatusId': 4, 'socialChallengeActivityTypeId': 4, 'adHocChallengeName': 'Steps Challenge', 'adHocChallengeDesc': 'Steps Challenge', 'ownerUserProfileId': 100633339, 'uuid': '3A039C0C214E499298467FF690EADE2E', 'startDate': '2023-01-23T00:00:00.0', 'endDate': '2023-01-29T23:59:59.0', 'durationTypeId': 0, 'userRanking': 1, 'playerCount': None, 'inviteeCount': None, 'players': [], 'user':
None, 'alternateChallengeAwards': None, 'socialChallengeType': 2, 'isChallengeCommentDisabled': False}

@cyberjunky
Copy link
Owner

@aiivers can you see this information on the Garmin Connect website somewhere?

@aiivers
Copy link
Author

aiivers commented Nov 25, 2024

@cyberjunky Yes, if you go to the https://connect.garmin.com/modern/adhoc-challenge/{challenge ID} URL then it gives the information of who is in the challenge and how many steps each person has in a table.

@cyberjunky
Copy link
Owner

@aiivers nice, I will have a look

@cyberjunky
Copy link
Owner

@aiivers but the challenge ID is not something we request already right, i don't see it in your example json
I don't know how to create a adhoc challenge yet lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants