{"_id":"@automater/rest-js-sdk","_rev":"2-184ee349112b0f4eda6ca9cb86e1f08b","name":"@automater/rest-js-sdk","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@automater/rest-js-sdk","version":"1.0.0","description":"JS SDK for Automater RESTful API","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","dependencies":{"axios":"^0.19.2","qs":"^6.9.4","validator":"^13.5.2"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/automater-pl/rest-js-sdk.git"},"keywords":["automater","rest","sdk"],"bugs":{"url":"https://github.com/automater-pl/rest-js-sdk/issues"},"homepage":"https://github.com/automater-pl/rest-js-sdk#readme","gitHead":"6651a7d1301e199c29a813e272749d0ee469a4f9","_id":"@automater/rest-js-sdk@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-UvZhdVPKtnlag/ch0P4pScdZTFEmJbpdceTrH3x2wlSD2CmohzWd02ZpWQ0s90eyLFe+LNYO8UATvpAO747WAQ==","shasum":"f2f95b5abc2d8562b149b9867f28ffa8bb6f7253","tarball":"https://registry.npmjs.org/@automater/rest-js-sdk/-/rest-js-sdk-1.0.0.tgz","fileCount":23,"unpackedSize":21528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzGsbCRA9TVsSAnZWagAAl5wQAKKgUyh2l1C3xcAZdSox\n4Yc7cA9tms5P//sTIxL6729AUJ6wiJAyTWqmy9iYRW9MIUJesqx7EU8Uoz3b\nrG7uHOMR/X8uUEGUJSbYh6S0fHoy0FW4Br1mr/cuUyH9POJrbQGh8BDDylOY\nFrQtkprUjYXPGzVaGsfSQvP4EHIcFt6YcwK60yNBhGACelSDuYJ9ocaUZE++\nMY/EvqFX6NgJ59kA3oU/OioOvugoVKQCqmTJvl41ux2qdCYNXm1d3q9wOheJ\nVdTSG330N3QoElB8pnqpz0pqMoIHvgps7WVoigR4drWt+06clU/cSgaMfux8\nVseu0MhfRKutFsrvpCsmMNHxhgoK1dIpgXeDg0FE6NRr+wUSo2QWAIKOOQPR\nIjnCHOvhBf8PTJSytPsrymNihynXf88hHA6tiBSO5w+YRs9EmGGEViC1QisI\nh3pDPUDOBlzTriWmsSmL5YlzafjUeTSlJjFhYNlDxwmpbqo3JJkyPhZpmn37\n9oYdpsNT4GmLRMchrTWGXbHhswSkGZbWNO4vmiIhH3hYmhA8JseTPe2A36+j\n0Yoq7D7YC48wAxS+Hn3cY0qO4mrSqx0yuLAlFQEPLP5PK1zu7GAD2J/70qWf\nk90Cyp4hdcVpNYJVHdZUE0FHdXLHc+33aaKUWQd4ng+/APC2FJR13h7+/jrA\novkK\r\n=oQ1N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbPuqm5gKc8vzsbtX2KuNkpWMMEMEA0xovMy79xUJVTwIgY9xv7kN8sFy8Neyf8kIh+UPFxeWVljs1tloQYG6D2jc="}]},"_npmUser":{"name":"jkb32","email":"kontakt@automater.pl"},"directories":{},"maintainers":[{"name":"jkb32","email":"kontakt@automater.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rest-js-sdk_1.0.0_1635852732835_0.675597667412027"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T11:32:12.778Z","1.0.0":"2021-11-02T11:32:13.018Z","modified":"2022-04-04T16:38:21.012Z"},"maintainers":[{"name":"jkb32","email":"kontakt@automater.pl"}],"description":"JS SDK for Automater RESTful API","homepage":"https://github.com/automater-pl/rest-js-sdk#readme","keywords":["automater","rest","sdk"],"repository":{"type":"git","url":"git+https://github.com/automater-pl/rest-js-sdk.git"},"bugs":{"url":"https://github.com/automater-pl/rest-js-sdk/issues"},"license":"MIT","readme":"# JS SDK for Automater RESTful API\nThis repository contains Automater's JS SDK and samples for REST API.\n\n### Prerequisites\nFirst you need API key and API secret - you can generate it by login to Automater, next going to \"Settings / settings\" tab and select \"API\" from left-side menu.\n\n### Installing\n\nUsing npm:\n\n```bash\n$ npm install @automater/rest-js-sdk\n```\n\nUsing yarn:\n\n```bash\n$ yarn add @automater/rest-js-sdk\n```\n\n### Examples\n1. [List products from Automater account](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/products/list.js)\n2. [Create new transaction](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/transactions/create.js)\n3. [Post payment for transaction](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/transactions/payment.js)\n4. [Get product details](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/products/detail.js)\n5. [List databases from Automater account](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/databases/list.js)\n6. [Get database details](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/databases/detail.js)\n7. [Create new database](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/databases/create.js)\n8. [Add codes to database](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/codes/add.js)\n9. [Add file to database](https://github.com/automater-pl/rest-js-sdk/blob/master/examples/codes/upload.js)","readmeFilename":"README.md"}