For the complete documentation index, see llms.txt. This page is also available as Markdown.

Exercise: Getting profile information

Setup:

  1. Complete Prerequisites

Part 1: Getting all profiles from a list

1. Create a list of profiles to query

First, create a list of profiles to query. This could be a custom list, all authors of the submissions, all members of a group, such as reviewers, etc. This should be a list of profile IDs.

Some useful examples from the documentation:

Check your work: Print the list of profiles. You should see a list of profile IDs in the format ['~First_Last1', ...]

2. Get all profiles from that list

Review the example here to get profiles from a list. This will return a list of profile objects. The relevant code is:

profiles = openreview.tools.get_profiles(client_v2,profile_id_list,as_dict=True)

Check your work: The result should be a dictionary with the query profile ID and the OpenReview Profile Object.

3. Parse the profiles

Review the example here to understand how profile information is stored, and one example of how to flatten and tabulate the data.

Profiles don't include email addresses. To get the preferred email of each user in your venue, pass your venue's preferred emails invitation:

The preferred email is then in profile.content['preferredEmail'].

Check your work: Use Python to get the profile ID property, the preferred email, and the current institutional affiliation. Then print the profile information and check that the data you extracted is correct.

Was this helpful?