Skip to content

Add Teams API support#105

Open
slunak wants to merge 3 commits intomasterfrom
add-teams-api
Open

Add Teams API support#105
slunak wants to merge 3 commits intomasterfrom
add-teams-api

Conversation

@slunak
Copy link
Copy Markdown
Owner

@slunak slunak commented Apr 12, 2026

Introduce Teams API support: add Team, User and Device model classes, TeamsClient, and response handlers (RetrieveTeamResponse, AddUserToTeamResponse, RemoveUserFromTeamResponse). Update README with usage and add an example (examples/TeamsExample.php). Include comprehensive unit tests for API models, client and responses. Team tokens are validated and TeamsClient builds appropriate API URLs and POST fields for retrieving teams and adding/removing users.

Introduce Teams API support: add Team, User and Device model classes, TeamsClient, and response handlers (RetrieveTeamResponse, AddUserToTeamResponse, RemoveUserFromTeamResponse). Update README with usage and add an example (examples/TeamsExample.php). Include comprehensive unit tests for API models, client and responses. Team tokens are validated and TeamsClient builds appropriate API URLs and POST fields for retrieving teams and adding/removing users.
@slunak
Copy link
Copy Markdown
Owner Author

slunak commented Apr 12, 2026

Closes #104

@slunak
Copy link
Copy Markdown
Owner Author

slunak commented Apr 12, 2026

Hey @jcs,

This PR adds support for the Teams API. I can release it as-is (untested), since I don’t currently have a Teams license. However, I wanted to check if it would be possible to get access to a license for a few days so I can properly test and verify that everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant