View Source ExPipedrive.Users (ex_pipedrive v0.2.0)

API v1 shim for Pipedrive users.

All functions in this module explicitly route to /api/v1/users. A v2 Users resource can replace this shim without changing callers.

Summary

Functions

Finds users by name (or email) through GET /api/v1/users/find.

Fetches a user by id through GET /api/v1/users/:id.

Lists users through GET /api/v1/users.

Fetches the current (authenticated) user through GET /api/v1/users/me.

Functions

Link to this function

find_users_by_name(client, term, opts \\ [])

View Source

Finds users by name (or email) through GET /api/v1/users/find.

Fetches a user by id through GET /api/v1/users/:id.

Link to this function

list(client, opts \\ [])

View Source

Lists users through GET /api/v1/users.

Supports the same :start / :limit offset pagination options as ExPipedrive.Notes.list/2.

Fetches the current (authenticated) user through GET /api/v1/users/me.