{"_id":"@andasan/spoonacular-api-clients","_rev":"6-b4ad07ad03290062880cbdc6f8ab178c","name":"@andasan/spoonacular-api-clients","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@andasan/spoonacular-api-clients","version":"0.0.1","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"whatwg-fetch":"^3.0.0","es6-promise":"^4.2.4","url-parse":"^1.4.3"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.1","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-5d+EqtVcmbiyNdosL88X0naSo9Big+Z9vI9mAyJjUT8C7ShCo6sl4Dl384kWrEFXcKTn9pZ8vJgFa/T1bh4+UQ==","shasum":"19be82a358ef8e8562da6fe571eb002632072d9a","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.1.tgz","fileCount":198,"unpackedSize":2001146,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8gpNz989N2ECvadqjP6PIYud+eEZDGPGtctR1mqSqtgIhALnrH+BRPtWbUJ/JefTM21lv5TJK8C7RBNtZMihm1dmc"}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.1_1713047440224_0.4270248026431134"},"_hasShrinkwrap":false},"0.0.2":{"name":"@andasan/spoonacular-api-clients","version":"0.0.2","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"es6-promise":"^4.2.4","url-parse":"^1.4.3","whatwg-fetch":"^3.0.0"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.2","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-Ogko0VL6x4mugwqY/uZ7JdXPwfW7I/9UbRR59q8yJKPxHUgrcOXrZndyoMQ0VcsSwkRX6GDQoUuvLsCmLzFGIg==","shasum":"f0c07d83939ba37401bdb678ae8ece59bea0bfce","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.2.tgz","fileCount":199,"unpackedSize":2004693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj08pvUc4jDgqVTq27zh2FqoM4JWVc49AYUxztzjag1AiEAisiDA1igoge7yTiidouIx4BPtHvM+pi+dSNsvQ46pec="}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.2_1713048212312_0.07526459772636818"},"_hasShrinkwrap":false},"0.0.3":{"name":"@andasan/spoonacular-api-clients","version":"0.0.3","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"es6-promise":"^4.2.4","url-parse":"^1.4.3","whatwg-fetch":"^3.0.0"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.3","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-gEpdTb9Si+WUIC0PM5m17fU3ZIXLl0oGOzO5AFta6E4qtXz3n5eigy0NBzAtGQIYpZdSTPQVP666M1mbHUyLWw==","shasum":"fa24cb12b7086a7d50c947706f9407a7f1936472","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.3.tgz","fileCount":551,"unpackedSize":2378667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjQxHonEWB96qp9gRh+elsR03uJjcgS2JIbN/ebTvHdAiAq+x89SXeL3LVLgdXdjDBc4uGsfAxWWZBlM+83KyoekA=="}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.3_1713048368879_0.5635266826914604"},"_hasShrinkwrap":false},"0.0.4":{"name":"@andasan/spoonacular-api-clients","version":"0.0.4","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"whatwg-fetch":"^3.0.0","es6-promise":"^4.2.4","url-parse":"^1.4.3"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.4","gitHead":"70a0ed1c92e661de0cc884d60c7f3e162a4dade8","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-eeFfpAGTSwDVBZKd+hwcd83MXBmFOPAClAr96tZp8qHDqpbMWwq2lcYVguQFSwy9AE/lApIfDC2j5DA+Y/NZtw==","shasum":"63aea5a7f3854ad271a734265a08662aca435dbb","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.4.tgz","fileCount":198,"unpackedSize":2000949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvjv0h1zomLjFaTeYEJPdeCWJqV1ro9GaBzl2+6pb2hwIhAJMcPXA6tDj0xWpDo7DNrG5XSRUEBBc7L1SjtFjDMKxs"}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.4_1713067538993_0.5304518003185232"},"_hasShrinkwrap":false},"0.0.5":{"name":"@andasan/spoonacular-api-clients","version":"0.0.5","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"whatwg-fetch":"^3.0.0","es6-promise":"^4.2.4","url-parse":"^1.4.3"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.5","gitHead":"70a0ed1c92e661de0cc884d60c7f3e162a4dade8","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-g0i9FlfYb5rcUkGZ5zfazdjlWwR8epdda3pHsPJLIEqO25owAgs+Xid2KQcVJJRNZUGq92z9/E9QROx/ofIbYA==","shasum":"916343718e8d1f12585a6e30e01223eaf9da8e77","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.5.tgz","fileCount":551,"unpackedSize":2378667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKW8B8lWkB/VJN361AgS/9LGXhkrpQuqdd3bAtFOYF3wIgEE++QZinzG2fIy5p67fpm94WxJF8oSDd5Yzj6dL7gNY="}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.5_1713067769017_0.764377673838853"},"_hasShrinkwrap":false},"0.0.6":{"name":"@andasan/spoonacular-api-clients","version":"0.0.6","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"whatwg-fetch":"^3.0.0","es6-promise":"^4.2.4","url-parse":"^1.4.3"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.6","gitHead":"70a0ed1c92e661de0cc884d60c7f3e162a4dade8","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-oDS8z0iuHAcQgSgqvHJwSPeMscKDipA7oopp0zLAsSKvS3j+xOkuCC72+TN2Napph76EuH+lnjKb8milZD34Rg==","shasum":"39d4a4229efbf8b63202b4e59cb680b1c797fbd7","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.6.tgz","fileCount":198,"unpackedSize":2000949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGAve5jYlzUiqd1RXFa9JfzUAqIV4YUFB+QP+BVg4qkAIgakBSqiF9GXdyztnM9CVZzWNnzUQY/CLz7p4BXJ1HwBo="}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.6_1713068469406_0.1712635277693706"},"_hasShrinkwrap":false},"0.0.7":{"name":"@andasan/spoonacular-api-clients","version":"0.0.7","description":"OpenAPI client for ","author":{"name":"OpenAPI-Generator Contributors"},"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"keywords":["fetch","typescript","openapi-client","openapi-generator"],"license":"Unlicense","main":"./dist/index.js","type":"commonjs","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.js"}},"typings":"./dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build"},"dependencies":{"whatwg-fetch":"^3.0.0","es6-promise":"^4.2.4","url-parse":"^1.4.3"},"devDependencies":{"typescript":"^4.0","@types/url-parse":"1.4.4"},"_id":"@andasan/spoonacular-api-clients@0.0.7","gitHead":"70a0ed1c92e661de0cc884d60c7f3e162a4dade8","bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","_nodeVersion":"21.7.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-qTMYquFLAOxqnJb7Y1uDF6Sj6efrPnWsyMXv/cti45GJhPNop6OsR50iWm7aH84F6MZJU3WYJzEXSKQ7OocYrQ==","shasum":"45417b97c1abce347d78ea6aa3ab8424ce02346c","tarball":"https://registry.npmjs.org/@andasan/spoonacular-api-clients/-/spoonacular-api-clients-0.0.7.tgz","fileCount":551,"unpackedSize":2378699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaoyQBRAkG4krp1s0dHQS7vY+T10JWFCJqQVrYfXlsUQIhAINmNawXyZds+9adSvOfWaPOUzYnXO/oeGYlKeLiQlZy"}]},"_npmUser":{"name":"andasan","email":"andasan@gmail.com"},"directories":{},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spoonacular-api-clients_0.0.7_1713069136974_0.8678497526673277"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-13T22:30:40.150Z","0.0.1":"2024-04-13T22:30:40.450Z","modified":"2024-04-14T04:32:17.404Z","0.0.2":"2024-04-13T22:43:32.542Z","0.0.3":"2024-04-13T22:46:09.089Z","0.0.4":"2024-04-14T04:05:39.222Z","0.0.5":"2024-04-14T04:09:29.271Z","0.0.6":"2024-04-14T04:21:09.667Z","0.0.7":"2024-04-14T04:32:17.194Z"},"maintainers":[{"name":"andasan","email":"andasan@gmail.com"}],"description":"OpenAPI client for ","homepage":"https://github.com/ddsky/spoonacular-api-clients/tree/master#readme","keywords":["fetch","typescript","openapi-client","openapi-generator"],"repository":{"type":"git","url":"git+https://github.com/ddsky/spoonacular-api-clients.git#master"},"author":{"name":"OpenAPI-Generator Contributors"},"bugs":{"url":"https://github.com/ddsky/spoonacular-api-clients/issues"},"license":"Unlicense","readme":"## @\n\nThis generator creates TypeScript/JavaScript client that utilizes fetch-api.\n\n### Building\n\nTo build and compile the typescript sources to javascript use:\n```\nnpm install\nnpm run build\n```\n\n### Publishing\n\nFirst build the package then run ```npm publish```\n\n### Consuming\n\nNavigate to the folder of your consuming project and run one of the following commands.\n\n_published:_\n\n```\nnpm install @ --save\n```\n\n_unPublished (not recommended):_\n\n```\nnpm install PATH_TO_GENERATED_PACKAGE --save\n```\n\n### Usage\n\nBelow code snippet shows exemplary usage of the configuration and the API based \non the typical `PetStore` example used for OpenAPI. \n\n```\nimport * as your_api from 'your_api_package'\n\n// Covers all auth methods included in your OpenAPI yaml definition\nconst authConfig: your_api.AuthMethodsConfiguration = {\n    \"api_key\": \"YOUR_API_KEY\"\n}\n\n// Implements a simple middleware to modify requests before (`pre`) they are sent\n// and after (`post`) they have been received \nclass Test implements your_api.Middleware {\n    pre(context: your_api.RequestContext): Promise<your_api.RequestContext> {\n        // Modify context here and return\n        return Promise.resolve(context);\n    }\n\n    post(context: your_api.ResponseContext): Promise<your_api.ResponseContext> {\n        return Promise.resolve(context);\n    }\n\n}\n\n// Create configuration parameter object\nconst configurationParameters = {\n    httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine\n    baseServer: your_api.servers[0], // First server is default\n    authMethods: authConfig, // No auth is default\n    promiseMiddleware: [new Test()],\n}\n\n// Convert to actual configuration\nconst config = your_api.createConfiguration(configurationParameters);\n\n// Use configuration with your_api\nconst api = new your_api.PetApi(config);\nyour_api.Pet p = new your_api.Pet();\np.name = \"My new pet\";\np.photoUrls = [];\np.tags = [];\np.status = \"available\";\nPromise<your_api.Pet> createdPet = api.addPet(p);\n\n```\n","readmeFilename":"README.md"}