servicepytan.summary module

Summary functions for ServiceTitan data analysis and reporting.

servicepytan.summary.get_booked_jobs_by_agent(start_date, end_date, conn=None)[source]

Get jobs booked by agent within a date range.

Retrieves jobs created within the specified date range and employee data to analyze job booking performance by agent. This function is currently incomplete and needs implementation to return meaningful results.

Parameters:
  • start_date – Start date for the query (string or datetime object)

  • end_date – End date for the query (string or datetime object)

  • conn – Dictionary containing the credential configuration

Returns:

Function is currently incomplete and needs implementation

Return type:

None

Note

This function is a placeholder and requires completion to provide meaningful job booking analysis by agent.

Examples

>>> # Function needs implementation
>>> result = get_booked_jobs_by_agent("2024-01-01", "2024-01-31", conn)