I need a clean, well-documented connection to the Mitel API that pulls three metrics—call duration, number of calls, and caller ID information—on demand. My end goal is to feed these figures into a web dashboard, which I’ll be building in PHP, so please structure the output as easily consumable JSON or a lightweight REST endpoint I can drop straight into the interface. You just have to start the connection, I will then make all the scripts/pages to show the stats I need, you just help to get the train going, so to speak. I myself will do all the heavy lifting. I just need help to get started. Here’s the flow I’m picturing: • Your code authenticates with Mitel, respects any rate limits, and retrieves the chosen statistics in near-real time. • Results are returned in a single object grouped by extension and time period (today, yesterday, last 7 days). • Configuration items such as credentials, polling interval, and time filters sit in one neatly-commented settings file. Deliverables 1. PHP scripts (or a small PHP package) that handle auth, data retrieval, and JSON formatting. 2. A brief README showing required Mitel permissions and how to run or cron the script. 3. Example output for verification. Acceptance Criteria – Accurate values for duration, call count, and caller ID when compared to Mitel’s own reports. – Script runs without fatal errors on PHP 8.x, cURL enabled. – Clear separation of credentials from code. If you have prior experience with Mitel or telephony APIs, please mention it; otherwise, outline how you’ll get up to speed. I’m ready to test as soon as you send the first working pull.