cdpehs-api

Query CDP Environmental Health Services portal data via HTML parsing and ASP.NET PageMethod calls.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/NCLGISA/trellis-catalog --skill cdpehs-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdpehs-api
Source: https://github.com/NCLGISA/trellis-catalog/tree/main/bridges/cdpehs/skills/cdpehs-api
Command: npx skills add https://github.com/NCLGISA/trellis-catalog --skill cdpehs-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the retrieval of critical environmental health data, eliminating the need for manual portal navigation and data collection.

Core Features & Use Cases

  • Establishment & Inspection Data: Query details on establishments, their inspection history, and associated permits.
  • Permitting & Compliance: Access information on On-Site Water (OSW) permits, applications, and contractor details.
  • Document Management: List, download, and export attachments and grid data related to various record types.
  • Use Case: A compliance officer needs to quickly gather all inspection records for food service establishments in a specific territory for the last quarter. This Skill can automate that data pull.

Quick Start

Use the cdpehs-api skill to list all establishments in territory '001'.

Frequently Asked Questions about cdpehs-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve environmental health inspection data programmatically?

You can retrieve environmental health inspection data programmatically by using session-based authentication and ASP.NET PageMethod calls to query establishments, inspection history, and associated permits from the portal.

Can I automate On-Site Water permit and complaint data extraction from the CDP portal?

Yes, you can automate On-Site Water permit, complaint, and reporting data extraction by parsing HTML responses and executing PageMethod calls instead of navigating the portal manually.

How do I download attachments and export grid data for environmental health records?

You can list, download, and export attachments and grid data for environmental health records by issuing programmatic queries against the portal and parsing the returned HTML data structures.

Does this data retrieval approach require session-based authentication for ASP.NET portals?

Yes, this data retrieval approach requires session-based authentication to establish a connection with the ASP.NET portal before executing PageMethod calls to extract compliance and inspection data.

What is the best way to pull food service establishment inspection records for a specific territory?

The best way to pull food service establishment inspection records for a specific territory is to automate the data pull using programmatic queries that filter by territory and record type, eliminating manual portal navigation.

What are the limitations of using HTML parsing for environmental health compliance data retrieval?

When using HTML parsing for environmental health compliance data retrieval, you are limited by the portal's HTML structure and ASP.NET PageMethod availability, meaning changes to the portal layout may require script updates.