{"_id":"e-api-emotion","_rev":"1-21e81e75d40e993da778470e55a1e2bb","name":"e-api-emotion","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"e-api-emotion","version":"1.0.0","description":"Browser and node module for making API requests against [eAPI_Emotion](https://mocksvc.mulesoft.com/mocks/1b4c387d-a536-4bc0-85d1-f533971b8314).","main":"index.js","files":["index.js"],"repository":{"type":"git","url":"git://github.com/mulesoft/raml-javascript-generator.git"},"keywords":["raml-api"],"author":{"name":"MuleSoft, Inc."},"license":"Apache 2.0","bugs":{"url":"https://github.com/mulesoft/raml-javascript-generator/issues"},"homepage":"https://github.com/mulesoft/raml-javascript-generator","dependencies":{"popsicle":"^0.5.6"},"gitHead":"de609763553359e7746365ff5cce899295d12acd","_id":"e-api-emotion@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"dardrai","email":"david.meier@students.fhnw.ch"},"dist":{"integrity":"sha512-ineu6VwMZ+bIiL5RwiL+Wt/QRR6l8NHqnc4U6ZV7ZKrR7ua3Ex6t9vX+aPoGoJWSSX+fccf0tE918aKJq38FAQ==","shasum":"25127d51407e663a79ec10877955f0d45aecd8e7","tarball":"https://registry.npmjs.org/e-api-emotion/-/e-api-emotion-1.0.0.tgz","fileCount":3,"unpackedSize":10748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3v+PCRA9TVsSAnZWagAAx9oP/1uLioujRIY4+IfiOyYK\nv99laU2CC/wR0PSTj3PsxZouyGsPosQ4cKYYaoLO5P+DPDc0aucFph/lujm1\ntq2Cb2rTNqahrk5TTgSWRCHIiMAaouM4FeYV4NH0+ycPylz6gtkatn69LpDz\nFHlTFjg3YdRU3iOZVUYaer406CLaspSkov8au+ecvaBFuHP0lZwMmiEQToU7\ni4bVFPG/xPIc6T/cWaps4/0sL7UJZRRJd+lnqrd2KQi46LAKrUgquAqid1RD\ns8hvR+XJBwLG4gbP1HbKclk+fSm68o23QP8d+NPLubuFzArrdF4sx/1sCtl4\n32cGfZouspTt7Ve7xN3rk2CyDk+QTWkWeFwv1PmSSTy3p8BVOSg+T0JFShA1\nXHRdwtc7nTvuoT6TauySn8sNC71q99qEHwz6heCb2IHGRCZNq10zaOBak5Rw\nkGcBOl0BU99iBdnqfDkTrinuSe+83Of0M6OqUxgul9yNajfdCCphUiTHvRFq\ngoZMHHpsEue/bYBXRVB0nTN7rrOpH2I3JviRYhXK786NHVak2miPK8XZDcaQ\nnJDXCdWFhBMdhL6ZNxE5lCJ3hIi2+kkptyKpJ/WEp2A4pKNRpw5xsR/83dFw\nqUO07iGWUymzHtPuu6CJD+o77ww06cUg9/QE9D3phpd89rOcuc0K0T7PbyFM\nu4CZ\r\n=b7Ov\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKij7mai6edKNQUW9j89uDrg+H5OqmSCm7DRIzMt9s9AIgFfRVSSn9Sm6fMyrV7LryxU73uRQkPdwzwILns8W6vqA="}]},"maintainers":[{"name":"dardrai","email":"david.meier@students.fhnw.ch"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/e-api-emotion_1.0.0_1524563853829_0.9456996032725871"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-24T09:57:33.828Z","1.0.0":"2018-04-24T09:57:34.063Z","modified":"2022-04-30T18:00:12.940Z"},"maintainers":[{"name":"dardrai","email":"david.meier@students.fhnw.ch"}],"description":"Browser and node module for making API requests against [eAPI_Emotion](https://mocksvc.mulesoft.com/mocks/1b4c387d-a536-4bc0-85d1-f533971b8314).","homepage":"https://github.com/mulesoft/raml-javascript-generator","keywords":["raml-api"],"repository":{"type":"git","url":"git://github.com/mulesoft/raml-javascript-generator.git"},"author":{"name":"MuleSoft, Inc."},"bugs":{"url":"https://github.com/mulesoft/raml-javascript-generator/issues"},"license":"Apache 2.0","readme":"# eAPI_Emotion\n\nBrowser and node module for making API requests against [eAPI_Emotion](https://mocksvc.mulesoft.com/mocks/1b4c387d-a536-4bc0-85d1-f533971b8314).\n\n**Please note: This module uses [Popsicle](https://github.com/blakeembrey/popsicle) to make API requests. Promises must be supported or polyfilled on all target environments.**\n\n## Installation\n\n```\nnpm install e-api-emotion --save\nbower install e-api-emotion --save\n```\n\n## Usage\n\n### Node\n\n```javascript\nvar EApiEmotion = require('e-api-emotion');\n\nvar client = new EApiEmotion();\n```\n\n### Browsers\n\n```html\n<script src=\"e-api-emotion/index.js\"></script>\n\n<script>\n  var client = new EApiEmotion();\n</script>\n```\n\n### Options\n\nYou can set options when you initialize a client or at any time with the `options` property. You may also override options for a single request by passing an object as the second argument of any request method. For example:\n\n```javascript\nvar client = new EApiEmotion({ ... });\n\nclient.options = { ... };\n\nclient.resource('/').get(null, {\n  baseUri: 'http://example.com',\n  headers: {\n    'Content-Type': 'application/json'\n  }\n});\n```\n\n#### Base URI\n\nYou can override the base URI by setting the `baseUri` property, or initializing a client with a base URI. For example:\n\n```javascript\nnew EApiEmotion({\n  baseUri: 'https://example.com'\n});\n```\n\n#### Base URI Parameters\n\nIf the base URI has parameters inline, you can set them by updating the `baseUriParameters` property. For example:\n\n```javascript\nclient.options.baseUriParameters.version = '1';\n```\n\n### Resources\n\nAll methods return a HTTP request instance of [Popsicle](https://github.com/blakeembrey/popsicle), which allows the use of promises (and streaming in node).\n\n#### resources.emotion.detect\n\nstartet den Erkennungs- und Feedbackprozess anhand des uebermittelten Fotos aus.\n\n```js\nvar resource = client.resources.emotion.detect;\n```\n\n##### POST\n\n```js\nresource.post().then(function (res) { ... });\n```\n\n##### Query Parameters\n\n```javascript\nresource.post(null, { query: { ... } });\n```\n\n* **pictureUrl** _string_\n\n* **email** _string_\n\n* **detectionEndpoint** _string, one of (Azure, AWS), default: Azure_\n\n* **jjRobotAppId** _string_\n\n\n\n### Custom Resources\n\nYou can make requests to a custom path in the API using the `#resource(path)` method.\n\n```javascript\nclient.resource('/example/path').get();\n```\n\n## License\n\nApache 2.0\n","readmeFilename":"README.md"}