{"_id":"@ayinke/otito-js","name":"@ayinke/otito-js","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ayinke/otito-js","version":"0.1.0","description":"Otito JS SDK client generated by OpenAPI Generator","license":"Unlicense","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build","test":"mocha --require @babel/register --recursive"},"browser":{"fs":false},"dependencies":{"@babel/cli":"^7.0.0","superagent":"^5.3.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.0.0","@babel/plugin-proposal-do-expressions":"^7.0.0","@babel/plugin-proposal-export-default-from":"^7.0.0","@babel/plugin-proposal-export-namespace-from":"^7.0.0","@babel/plugin-proposal-function-bind":"^7.0.0","@babel/plugin-proposal-function-sent":"^7.0.0","@babel/plugin-proposal-json-strings":"^7.0.0","@babel/plugin-proposal-logical-assignment-operators":"^7.0.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.0.0","@babel/plugin-proposal-numeric-separator":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.0.0","@babel/plugin-proposal-pipeline-operator":"^7.0.0","@babel/plugin-proposal-throw-expressions":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-import-meta":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","expect.js":"^0.3.1","mocha":"^8.0.1","sinon":"^7.2.0"},"directories":{"doc":"docs"},"repository":{"type":"git","url":"git+https://github.com/ayinke-llc/otito-js.git"},"keywords":["otito","api","logs"],"author":"","bugs":{"url":"https://github.com/ayinke-llc/otito-js/issues"},"homepage":"https://github.com/ayinke-llc/otito-js#readme","gitHead":"1b8f209acfd4ae5c2b2b8bc6ab84cc3a9cc6a2f7","_id":"@ayinke/otito-js@0.1.0","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-zuGmYJO0ri5BV/cKXuOJ70t6j/4eCP5f0JL5cRQ+LWXIWLzJKMoJ0LyPNMv8yBqMpzy5OUkRmQUAXtgVFiXLMA==","shasum":"df851f06ba0bccfb5e20bad205165e92e8fda114","tarball":"https://registry.npmjs.org/@ayinke/otito-js/-/otito-js-0.1.0.tgz","fileCount":19,"unpackedSize":191981,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA+WyQjwwkTe4JlqzXaD8RFA6WhyO8G7qfYqvBna4mGAIhANF9seejOXxXIjpsbmNl6y63U1BoG4IPMCM86R3PguMc"}]},"_npmUser":{"name":"adelowo","email":"adelowomailbox@gmail.com"},"maintainers":[{"name":"adelowo","email":"adelowomailbox@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/otito-js_0.1.0_1685988989016_0.13951471155208162"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-05T18:16:28.924Z","0.1.0":"2023-06-05T18:16:29.169Z","modified":"2023-06-05T18:16:29.354Z"},"maintainers":[{"name":"adelowo","email":"adelowomailbox@gmail.com"}],"description":"Otito JS SDK client generated by OpenAPI Generator","homepage":"https://github.com/ayinke-llc/otito-js#readme","keywords":["otito","api","logs"],"repository":{"type":"git","url":"git+https://github.com/ayinke-llc/otito-js.git"},"bugs":{"url":"https://github.com/ayinke-llc/otito-js/issues"},"license":"Unlicense","readme":"# Otito-JS\n\nThis SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nThen install it via:\n\n```shell\nnpm install @ayinke/otito-js --save\nyarn add @ayinke/otito-js\n```\n\nFinally, you need to build the module:\n\n```shell\nnpm run build\n```\n\n## Getting Started\n\nPlease follow the installation instructions and run the following JS code:\n\n```javascript\nvar OtitoApiDocumentation = require('@ayinke/otito-js');\n\nvar defaultClient = OtitoApiDocumentation.ApiClient.instance;\n\nvar ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];\nApiKeyAuth.apiKey = \"sk_YOUR_API_KEY\"\nApiKeyAuth.apiKeyPrefix['Authorization'] = \"Bearer\"\n\nvar api = new OtitoApiDocumentation.ApplicationApi()\nvar message = new OtitoApiDocumentation.ServerCreateApplicationRequest(\"name of app\");\nvar callback = function(error, data, response) {\n  if (error) {\n    console.error(error);\n  } else {\n    console.log('API called successfully. Returned data: ' + data);\n  }\n};\napi.applicationsPost(message, callback);\n\n```\n\n","readmeFilename":"README.md"}