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

This version of the MoonBoard app is now obsolete, please download the new MoonBoard app from the store. error #6

Open
ngmy opened this issue Oct 24, 2023 · 5 comments

Comments

@ngmy
Copy link

ngmy commented Oct 24, 2023

Thanks for creating such useful software!

Since the recent release of the new official MoonBoard app, fetch_problems.py has stopped working.

The following is the error displayed:

$ python3 fetch_problems.py
Traceback (most recent call last):
  File "fetch_problems.py", line 58, in <module>
    json_data = requestProblemsJson(0, z, holdset, angle)
  File "fetch_problems.py", line 14, in requestProblemsJson
    'authorization': f'BEARER {getAccessToken()}',
  File "/home/nagamiya/tmp/MoonBoard/get_accesstoken.py", line 15, in getAccessToken
    'refresh_token': getRefreshToken(),
  File "/home/nagamiya/tmp/MoonBoard/get_accesstoken.py", line 39, in getRefreshToken
    return(r.json()['refresh_token'])
KeyError: 'refresh_token'

I wrote a print statement to get_accesstoken.py and the MoonBoard server returned the following response:

{'error': 'Obsolete', 'error_description': 'This version of the MoonBoard app is now obsolete, please download the new MoonBoard app from the store.'}
diff --git a/get_accesstoken.py b/get_accesstoken.py
index 27cfd11..ed7b06f 100644
--- a/get_accesstoken.py
+++ b/get_accesstoken.py
@@ -36,4 +36,5 @@ def getRefreshToken():
         'client_id': 'com.moonclimbing.mb'
     }
     r = requests.get(URL, headers=headers, data=data)
+    print(r.json())
     return(r.json()['refresh_token'])

Are there any plans to release a new version of the software that will resolve this issue?

@JuliaSchoepp
Copy link

The same has happened to me. If anyone could share an old snapshot of the problems, I'd be interested in that as well, as I only want to play around with the data a litte. Thanks in advance

@musoke
Copy link
Contributor

musoke commented Oct 27, 2023

problems_2023_01_30.zip

@rawtaz
Copy link

rawtaz commented Jan 6, 2024

It's truly amazing how the Moon folks go to lengths with making the information, that their paying users produce for them to make the Moonboard ecosystem such a contentful one, inaccessible.

Their Android app doesn't seem to work without Google Play services either, so not only do they make it difficult to access the data without their app.

Such a shame, would be nice if they were more transparent and opened up usage 👎

@gordoste
Copy link

gordoste commented Aug 30, 2024

@musoke Massive thanks for sharing that file. I have a DIY LED system and was using the 2016 hold setup. I am looking at moving to a new hold setup but was thinking I would need to manually enter the problems one by one!

@jere357
Copy link

jere357 commented Dec 1, 2024

thx for this, i was trying to emulate the moonboard app in order to scrape this data, but i couldnt even get the app to open in the emulator -.-

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

6 participants