wger
wger copied to clipboard
Language filtering for "exerciseinfo" isn't working
Language filtering for "exerciseinfo" isn't working
Hi i'm trying to play around with this API and from what I can tell, you should be able to filter by language using the ?language= query like so https://wger.de/api/v2/exerciseinfo/?language=2. However this doesn't seem to be working, specifically for the exerciseinfo endpoint.
Currently, it just spits out all different languages, not just English like I'm after.
Any ideas?
mhh, you are right
We need to manually add the filter method to ExerciseInfoViewset that we added to ExerciseViewSet
mhh, you are right
We need to manually add the filter method to
ExerciseInfoViewsetthat we added toExerciseViewSet
Is there anything I can do in the meantime? Or do I just need to wait for it to be fixed? I'm just looking to pull all the different exercises with the information about them (with pics if available etc) in English.
besides filtering on your side, not much :)
And FYI, we're very close to releasing an updated version of the exercise db where a lot of the exercises have been cleaned up and (some) will even have videos
Ahh that's cool! I look forward to it! In the meantime, I'll just filter manually since I'm just using this for practice. Thank you!
Any update on this guys? Still not working as intent