Hello.
I have my android app on GitHub and I use crowdin/github-action@v2 to download translations and push sources.
So, is there a way to export/download members for the project with cli/API?
So I can show members directly in the app.
Thank you
Hello @lc98
You can refer to this API user section:
https://support.crowdin.com/developer/api/v2/#tag/Users/operation/api.projects.members.getMany
Also, if you need this for some reporting purposes, this report allows would include translators login and ID
Hi @lc98
You can also try out this action
3 Likes
Hello guys, thank you for answering so fast!
I took my time to check both solutions, and I ended up using @Olena solution, adding this actions and downloading the json too, so I can directly show translators in-app.
For anyone instested, here is the code:
- name: Generate Crowdin Contributors table
id: "contributors"
uses: andrii-bodnar/action-crowdin-contributors@v2
with:
contributors_per_line: 6
max_contributors: 50
image_size: 32
min_words_contributed: 1
files: ./docs/translators.md
crowdin_project_link: 'https://crowdin.com/project/iconify'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Save contributors
run:
printf '%s\n' '${{ steps.contributors.outputs.json_report }}' > ./app/src/main/assets/Misc/contributors.json
1 Like
Great to hear it worked for you! If anything else would be needed - we’re here 24/7
1 Like