Skip to content

[SDK: Python] Add Offices, Organizations, OTAs, OTIDVs, Subawards, NAICS, and Assistance endpoints#11

Closed
vdavez wants to merge 1 commit intomainfrom
issue-1274/webhooks
Closed

[SDK: Python] Add Offices, Organizations, OTAs, OTIDVs, Subawards, NAICS, and Assistance endpoints#11
vdavez wants to merge 1 commit intomainfrom
issue-1274/webhooks

Conversation

@vdavez
Copy link
Contributor

@vdavez vdavez commented Feb 12, 2026

Summary

  • Adds support for 7 new API endpoints: Offices, Organizations, OTAs, OTIDVs, Subawards, NAICS, and Assistance
  • Includes integration tests with VCR cassettes, production smoke tests, and updated documentation

New API Endpoints

  • Offices: list_offices(), get_office() - Office hierarchy data
  • Organizations: list_organizations(), get_organization() - Organization structure with response shaping
  • OTAs: list_otas(), get_ota() - Other Transaction Agreements
  • OTIDVs: list_otidvs(), get_otidv() - Other Transaction IDVs
  • Subawards: list_subawards() - Subaward data with response shaping
  • NAICS: list_naics() - NAICS code lookup
  • Assistance: list_assistance() - Federal assistance awards

Other Changes

  • Added search parameter to list_agencies()
  • New model schemas: Organization, OTA, OTIDV, Subaward
  • Default shape configurations for all new endpoints
  • Explicit schemas for response shaping
  • New check_filter_shape_conformance.py script for validating filter/shape support

Test plan

  • Integration tests with VCR cassettes for all new endpoints
  • Production smoke tests for new functionality
  • Manual verification against live API

Made with Cursor

…S, and Assistance endpoints

New API endpoints:
- list_offices(), get_office() - Office hierarchy data
- list_organizations(), get_organization() - Organization structure with shaping
- list_otas(), get_ota() - Other Transaction Agreements
- list_otidvs(), get_otidv() - Other Transaction IDVs
- list_subawards() - Subaward data with shaping
- list_naics() - NAICS code lookup
- list_assistance() - Federal assistance awards

Also includes:
- New model schemas (Organization, OTA, OTIDV, Subaward)
- Default shape configurations for new endpoints
- Explicit schemas for response shaping
- Integration tests with VCR cassettes
- Production smoke tests for new endpoints
- Updated API documentation and developer guides
- New filter/shape conformance checking script
- Search parameter support for list_agencies()

Co-authored-by: Cursor <cursoragent@cursor.com>
@vdavez vdavez closed this Feb 12, 2026
@vdavez vdavez deleted the issue-1274/webhooks branch February 12, 2026 04:08
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