zoom

package
v0.0.0-...-e851d58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(accountID, clientID, clientSecret, baseURL string) *Client

func NewClientFull

func NewClientFull(accountID, clientID, clientSecret, baseURL, tokenBaseURL string) *Client

NewClientFull allows overriding both the API base URL and token URL (for tests).

func (*Client) FetchUsers

func (c *Client) FetchUsers() ([]User, error)

FetchUsers fetches all Zoom Phone users, normalising phone numbers to E.164.

func (*Client) GetAccessToken

func (c *Client) GetAccessToken() (string, error)

type PhoneNumber

type PhoneNumber struct {
	ID     string `json:"id"`
	Number string `json:"number"` // returned without "+", e.g. "14232058798"
}

type User

type User struct {
	ID               string        `json:"id"`
	Name             string        `json:"name"`
	Email            string        `json:"email"`
	Department       string        `json:"department"`
	PhoneNumbers     []PhoneNumber `json:"phone_numbers"`
	Status           string        `json:"status"`
	ActivationStatus string        `json:"activation_status"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL