{"_id":"@definitelynotl/trendyol-api","_rev":"14-fd54ad51e43ca0aff8fbcb9a71f2c2d6","name":"@definitelynotl/trendyol-api","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.4":{"name":"@definitelynotl/trendyol-api","version":"0.1.4","keywords":[],"author":"","license":"ISC","_id":"@definitelynotl/trendyol-api@0.1.4","maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"homepage":"https://github.com/hberkaykuran/trendyol-api#readme","bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"dist":{"shasum":"26b63a1b6e76b7665f33e6fd841fbf061876cf6a","tarball":"https://registry.npmjs.org/@definitelynotl/trendyol-api/-/trendyol-api-0.1.4.tgz","fileCount":122,"integrity":"sha512-5oH43igfpd8Ar65MuUwTW9nC/pcsXTevArCOZ4seZIP98/eM5MiYBBy2HPZjf2n9+ZEsP4r2RlqURVwVJnwlGQ==","signatures":[{"sig":"MEUCIDkwON2j4T1WNacp/8bsWAnqlyaT6JDTsR2kuvx1xPDjAiEAv5wnpr6zwT4E/+3aU401DETAU7cQTUA1Qn8rLKVMbAQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200799},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d6b979ee6da65a637e754974d3806d5ecc9f2f33","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"definitelynotl","email":"berkaykuran54@gmail.com"},"deprecated":"interfaces are outdated","repository":{"url":"git+https://github.com/hberkaykuran/trendyol-api.git","type":"git"},"_npmVersion":"10.2.4","description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4"},"_npmOperationalInternal":{"tmp":"tmp/trendyol-api_0.1.4_1739720140456_0.24264868756140112","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@definitelynotl/trendyol-api","version":"0.1.5","keywords":[],"author":"","license":"ISC","_id":"@definitelynotl/trendyol-api@0.1.5","maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"homepage":"https://github.com/hberkaykuran/trendyol-api#readme","bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"dist":{"shasum":"2f92dac68a3ccb753d5b4ddd23af5f7aa6c0b662","tarball":"https://registry.npmjs.org/@definitelynotl/trendyol-api/-/trendyol-api-0.1.5.tgz","fileCount":122,"integrity":"sha512-hQlvwv+m9crNe1e9DQtro0fflY8eVBfbU3Yo8pvUMBjdlXa1/ZBxYeOWTdgUDNhqnylZSFXEf/ss6aSibDUJcw==","signatures":[{"sig":"MEUCIQCs//TNJnKVONWSjGokvPEMbYHBjH0Mocc2mtvPU96AFwIgZbcr8Nyn4INh0G7PZOz+HeTkJvPgRLtj4FPddN5K2Bw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201824},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b1a3cfcad2206173c03d9b09163ceb751f6d0e73","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"definitelynotl","email":"berkaykuran54@gmail.com"},"deprecated":"broken endpointsd","repository":{"url":"git+https://github.com/hberkaykuran/trendyol-api.git","type":"git"},"_npmVersion":"10.2.4","description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4"},"_npmOperationalInternal":{"tmp":"tmp/trendyol-api_0.1.5_1739908267442_0.32251267783066306","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@definitelynotl/trendyol-api","version":"0.1.6","keywords":[],"author":"","license":"ISC","_id":"@definitelynotl/trendyol-api@0.1.6","maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"homepage":"https://github.com/hberkaykuran/trendyol-api#readme","bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"dist":{"shasum":"3fae607973c86f19cecf0df7feda4e061a5e61ce","tarball":"https://registry.npmjs.org/@definitelynotl/trendyol-api/-/trendyol-api-0.1.6.tgz","fileCount":122,"integrity":"sha512-OZu/xghzL9nUPyF3Y4pXYrgxa5tlB76k+0tFMiLmT4T27RpVac56xTPsM8XiAyySj0Jnp3LW+k1SYnKaw/Nt3w==","signatures":[{"sig":"MEQCIC9MAEUSqhDPsiWRzs0os9++JzFFQ4KCQhQ+ULoA+SG7AiBwb0vwNBMQEE5qPvk/CNZgjpiKAyhoadTdN5pJ6i19yA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201641},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8ff68e266ba0ba4c7837a8a7a7789c3fab7559ae","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"definitelynotl","email":"berkaykuran54@gmail.com"},"repository":{"url":"git+https://github.com/hberkaykuran/trendyol-api.git","type":"git"},"_npmVersion":"10.2.4","description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4"},"_npmOperationalInternal":{"tmp":"tmp/trendyol-api_0.1.6_1739909941926_0.49760305356335466","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@definitelynotl/trendyol-api","version":"0.1.7","keywords":[],"author":"","license":"ISC","_id":"@definitelynotl/trendyol-api@0.1.7","maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"homepage":"https://github.com/hberkaykuran/trendyol-api#readme","bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"dist":{"shasum":"70ec5c908535437edeb726d158410c063350cb04","tarball":"https://registry.npmjs.org/@definitelynotl/trendyol-api/-/trendyol-api-0.1.7.tgz","fileCount":122,"integrity":"sha512-hPGVbIaiKyajXcf9ocLYzGlwmz3KTGAMQB3u6qajVLAk+cyN3+pmBrBa3vilq0EiAXs4dTE9RQKNvdSRZGEy1w==","signatures":[{"sig":"MEUCIGSUzMIPB97bINaTuZd0xqHwTIj1FN8BHH6XKbVznqKhAiEAxMoEOMR1jqOqp6w7T7vzHrINHvjwcFQ9vK/UP293l7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203338},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9834a17bd1648ddbbfee3170a3de725a51f2291e","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"definitelynotl","email":"berkaykuran54@gmail.com"},"repository":{"url":"git+https://github.com/hberkaykuran/trendyol-api.git","type":"git"},"_npmVersion":"10.2.4","description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.7.9"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4"},"_npmOperationalInternal":{"tmp":"tmp/trendyol-api_0.1.7_1740080963056_0.8203565431772444","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@definitelynotl/trendyol-api","version":"0.1.8","description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/hberkaykuran/trendyol-api.git"},"scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"axios":"^1.7.9"},"devDependencies":{"@types/jest":"^29.5.14","@types/node":"^22.13.4","jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.3"},"_id":"@definitelynotl/trendyol-api@0.1.8","gitHead":"9834a17bd1648ddbbfee3170a3de725a51f2291e","bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"homepage":"https://github.com/hberkaykuran/trendyol-api#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-tpfokJ3CaLRyYCICvO9vzexgIufX3/pFH6EE23yANGyV8Pk31ag1CC1qPHuMR584xiaXhW4NmLa24O8qvTwB2A==","shasum":"9c3c3b154720201e906cef457a95daf40b7abd7c","tarball":"https://registry.npmjs.org/@definitelynotl/trendyol-api/-/trendyol-api-0.1.8.tgz","fileCount":122,"unpackedSize":203344,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCcen7U3oqsHHF31wxlKb8OVOxbFM5Tpa6Vu65qXoFzSQIga7RESqP6GoI4DDplEF+94p6U4qZnXvkaPh1l1fkbIpQ="}]},"_npmUser":{"name":"definitelynotl","email":"berkaykuran54@gmail.com"},"directories":{},"maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trendyol-api_0.1.8_1740081454071_0.7947991643816223"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-14T13:50:56.500Z","modified":"2025-02-20T19:57:34.750Z","0.1.0":"2025-02-14T13:50:56.820Z","0.1.1":"2025-02-15T03:02:58.771Z","0.1.2":"2025-02-15T03:07:22.303Z","0.1.3":"2025-02-16T15:32:19.501Z","0.1.4":"2025-02-16T15:35:40.659Z","0.1.5":"2025-02-18T19:51:07.659Z","0.1.6":"2025-02-18T20:19:02.119Z","0.1.7":"2025-02-20T19:49:23.274Z","0.1.8":"2025-02-20T19:57:34.271Z"},"bugs":{"url":"https://github.com/hberkaykuran/trendyol-api/issues"},"license":"ISC","homepage":"https://github.com/hberkaykuran/trendyol-api#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/hberkaykuran/trendyol-api.git"},"description":"A **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.","maintainers":[{"name":"definitelynotl","email":"berkaykuran54@gmail.com"}],"readme":"# Trendyol API Client (TypeScript)\r\n\r\nA **framework-agnostic**, **fully typed**, and **customizable** TypeScript API client for **Trendyol Integration API**.\r\n\r\n> **⚠️ Disclaimer:** This package is under **active development** and is **nowhere near production-ready**. Use at your own risk, and thoroughly test before relying on it in a production environment.\r\n\r\n## 🚀 Features\r\n- 📌 **Supports Products, Orders, and Finance**\r\n- 🔄 **Customizable HTTP client (Axios, Fetch, etc.)**\r\n- ✅ **Strict TypeScript types for safe API interactions**\r\n- 🔧 **Works in Node.js, Next.js, Express, NestJS, Deno, etc.**\r\n\r\n## 📦 Installation\r\n```sh\r\nnpm install trendyol-api\r\n```\r\n\r\n## 🛠️ Usage\r\n\r\nSimply initialize a `TrendyolClient` and use its API modules via the exposed properties. For example:\r\n\r\n### 1️⃣ Initialize the Client\r\n```typescript\r\nimport { TrendyolClient } from \"trendyol-api\";\r\n\r\nconst client = new TrendyolClient({\r\n  sellerId: 123456,\r\n  apiKey: \"your-api-key\",\r\n  apiSecret: \"your-api-secret\",\r\n});\r\n```\r\n\r\n### 2️⃣ Fetch Products\r\n```typescript\r\nasync function fetchProducts() {\r\n  const products = await client.products.getProducts();\r\n  console.log(products);\r\n}\r\n\r\nfetchProducts();\r\n```\r\n\r\n### 3️⃣ Fetch Orders\r\n```typescript\r\nasync function fetchOrders() {\r\n  const orders = await client.orders.getShipmentPackages({\r\n    startDate: \"2024-01-01\",\r\n    endDate: \"2024-01-14\",\r\n    status: \"Created\"\r\n  });\r\n  console.log(orders);\r\n}\r\n\r\nfetchOrders();\r\n```\r\n\r\n### 4️⃣ Use Finance API\r\n```typescript\r\nasync function fetchSettlements() {\r\n  const settlements = await client.finance.getSettlements(\"2024-01-01\", \"2024-01-15\");\r\n  console.log(settlements);\r\n}\r\n\r\nfetchSettlements();\r\n```\r\n\r\n## ✅ Testing\r\nRun tests with:\r\n\r\n```sh\r\nnpm test\r\n```\r\n\r\n## 📜 License\r\nMIT\r\n\r\n## Repository & Contributions\r\n\r\nThis project is open source. You can find the repository at:  \r\nhttps://github.com/hberkaykuran/trendyol-api\r\n\r\nContributions are welcome! Please fork the repository, create a new branch for your changes, and submit a pull request. For major changes, open an issue first to discuss your proposed improvements.\r\n","readmeFilename":"README.md"}