jamalex / jamalex/notion-py

Search Users (based on name)

Open
#162 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
470
PR merge metrics
No merged PRs in 30d

Description

Hi,
Is there some way we can search users by name (in workspace) in Person field.

Explanation:
If we have just a name of person and we have a search-bar appearing in the notion-ui. Someway we can add search user functionality in the API. (Search-user-by-name)

something like
```
def get_user_by_name(user_name):
...
return possible_matched_users(User_Obj or User_Id/s)
```

![image](https://user-images.githubusercontent.com/17980345/86620741-d33c6780-bff7-11ea-99fd-eae86597fee7.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Person field and the proposed get_user_by_name(user_name) entry point, then inspect how the Python client represents User_Obj and User_Id. Done means the API can search workspace users by name and return the possible matching users or identifiers, with behavior for unmatched or ambiguous names defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.