incenar / sdk
Official PHP client for the InceNar API.
v0.2.0
2026-11-30 09:25 UTC
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Official client libraries for the InceNar API. Each client has no runtime dependencies, retries failed requests with backoff, handles rate limits, paginates for you and verifies webhook signatures.
| Language | Package | Install | Folder |
|---|---|---|---|
| JavaScript / TypeScript | @incenar/sdk |
npm install @incenar/sdk |
js |
| Python | incenar |
pip install incenar |
python |
| PHP | incenar/sdk |
composer require incenar/sdk |
php |
| Ruby | incenar |
gem install incenar |
ruby |
Create an API key in the developer portal, then pass it to the client. Each folder has its own README with usage and the full method list.
import { InceNar } from '@incenar/sdk'; const api = new InceNar({ apiKey: process.env.INCENAR_KEY }); for await (const book of api.books.iterate({ category: 'fiction' })) { console.log(book.title); }
Requirements
| Language | Minimum |
|---|---|
| JavaScript | Node.js 18, Deno, Bun or a modern browser |
| Python | 3.9 |
| PHP | 8.1 with cURL and JSON |
| Ruby | 3.0 |
Development
Run the tests of one client from its folder.
| Client | Command |
|---|---|
js |
npm test |
python |
python -m unittest discover -s tests |
php |
php tests/run.php |
ruby |
ruby test/test_sdk.rb |
Releases are described in PUBLISHING.md.
Support
Questions and bug reports: open an issue in this repository. Security reports: use the contact form at https://incenar.com/contact.
License
MIT. See LICENSE.