jcolombo/ninety-api-php ? reverse-engineered prompt
Reverse engineered prompt
Build me a PHP 8.1 SDK for the Ninety.io public API, so I can talk to my Ninety account from code without dealing with raw HTTP everywhere.
I want to connect with a personal access token, list the teams I can see, and then work with the main Ninety things like issues, to dos, rocks, milestones, KPIs, users, scores, notes, and teams. Make it feel easy to use, with typed objects, simple create read update delete methods, and a fluent way to filter, search, sort, and page through results. It should also handle the little API quirks for me, like different paging styles in different endpoints, and only send changed fields when updating.
Please add sensible defaults for rate limiting and optional caching, plus a clean way to get to the raw API when needed. Include a few examples and tests so it is obvious how to use it, and make sure sensitive token settings can come from an environment variable or config file, not hardcoded.
Are you gonna build this?
make sure you review the code using coderabbit