Skip to content

Fix README examples and document pass template pair endpoints#13

Merged
abunsen merged 2 commits intomainfrom
fix-py-readme-examples
Apr 16, 2026
Merged

Fix README examples and document pass template pair endpoints#13
abunsen merged 2 commits intomainfrom
fix-py-readme-examples

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 16, 2026

  • provision(): swap unsupported tag_id for card_number/site_code so the Apple DESFire example actually works against the API.
  • create_template(): use_case "employee_badge" isn't a valid enum value; replace with "corporate_id".
  • Add Pass Template Pairs section with create_pass_template_pair and list_pass_template_pairs examples — these endpoints exist in the SDK and feature matrix but were undocumented.

abunsen and others added 2 commits April 16, 2026 17:04
- provision(): swap unsupported tag_id for card_number/site_code so the
  Apple DESFire example actually works against the API.
- create_template(): use_case "employee_badge" isn't a valid enum
  value; replace with "corporate_id".
- Add Pass Template Pairs section with create_pass_template_pair and
  list_pass_template_pairs examples — these endpoints exist in the SDK
  and feature matrix but were undocumented.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Match the API path (/v1/console/card-template-pairs) and surrounding docs
which already use "card template" terminology. Code identifiers
(create_pass_template_pair, list_pass_template_pairs) are unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@abunsen abunsen merged commit afaf9d9 into main Apr 16, 2026
5 checks passed
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