Phonebook API Usage Request

RESOLVED FIXED

Status

Data Compliance
General
--
major
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mathjazz, Assigned: williamr)

Tracking

Details

(URL)

(Reporter)

Description

5 years ago
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.
(Reporter)

Updated

5 years ago
(Assignee)

Comment 1

5 years ago
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?
(Reporter)

Comment 2

5 years ago
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.
(Reporter)

Comment 3

5 years ago
Any updates?
(Assignee)

Comment 4

5 years ago
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
Flags: needinfo?(booboobenny+bugzilla)

Comment 5

5 years ago
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.
Flags: needinfo?(booboobenny+bugzilla)
(Reporter)

Comment 6

5 years ago
Indeed, Pontoon is an official Mozilla site. It will be moved to mozilla.org and the TabZilla will be added soon.
(Assignee)

Comment 7

5 years ago
Approved!

Matjaž, I will email you the API keys within the next couple days once I resolve an access issue on my end.
(Assignee)

Comment 8

5 years ago
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: 5 years ago
Resolution: --- → FIXED
(Reporter)

Comment 9

5 years ago
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.