A TypeScript-first wrapper for the Idosell 3 REST API (e-commerce platform), providing chainable methods, intuitive property-to-endpoint mapping, and helper functions for request formatting. Current stable version is 0.4.38, with active development. Key differentiators: translates awkward gateway names to readable REST verbs, supports method chaining for parameters, and includes built-in pagination helpers. Requires Shop URL, API key, and optional API version (default v7). Ideal for Node.js environments interacting with Idosell stores.
npm install idosellNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize the client, fetch paginated categories, and create a discount rebate code using method chaining.
Pin to exact version in package.json (e.g., "idosell": "0.4.38") and test upgrades.
Use await or .then() when calling .exec().
Pass the desired API version as third argument to idosell() (e.g., 'v7').
Use snake_case as shown in examples (e.g., result_page, result_limit).
Refer to the converter tool or documentation for property-to-endpoint mapping.
Check changelog before upgrading; lock version in package.json.
Install via npm: npm install idosell. Ensure tsconfig.json includes 'node_modules' in 'paths' or 'types'.
Use default import: import idosell from 'idosell';
Correct method name: getProductsCategories (plural 'Products').
Ensure SHOP_URL, API_KEY, and API_VERSION are provided and valid.
No dependency data recorded yet.