I'd like to use Mozillians API to get a list of people in the l10n group. I need that list to give these people privileges for saving translations in a website localization tool Pontoon.
Thanks Matjaž for the request. I would like to understand more about your use case here. If I understand correctly, you want to retrieve a list of names and email addresses for all Mozillians in the l10n group. Is there any other data you need? Do you want to look up other groups, such as a specific l10n locale group? Also, will Pontoon use the Mozillians API directly? Or do you plan use the API in a separate script?
Hey William! Your understanding is correct. I don't need any other data, except for the is_vouched status. I only need Mozillians that have been vouched for. And yes, Pontoon will use the Mozillians API directly from Django.
Matjaž, sorry I missed your earlier comment. Ben, would 'Community site' API access work Matjaž's needs based on comment 1 and comment 2? Or does it require 'Mozilla site' API access?
Assignee: nobody → williamr
He will need mozilla site access. If pontoon is an official mozilla site (me thinks it is) then we should be ok. Community apps can only look up vouched status for single email addresses. Mozilla apps can return multiple users based on queries.
Indeed, Pontoon is an official Mozilla site. It will be moved to mozilla.org and the TabZilla will be added soon.
Approved! Matjaž, I will email you the API keys within the next couple days once I resolve an access issue on my end.
Matjaž, thanks for your patience. I have created your API key and you can view it on your mozillians.org Settings page: https://mozillians.org/en-US/user/edit#services To help you get started, you can find the API documented here: https://wiki.mozilla.org/Mozillians/API-Specification/List_Users/ Please use the same API key for all instances of Pontoon (such as dev, stage and production).
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Thank you very much, I've just tried it and it works very well. :-)
You need to log in before you can comment on or make changes to this bug.