{"_id":"6aika-paatos-client","_rev":"3-ad63364cd740587da55a992d6c91a48c","name":"6aika-paatos-client","description":"API_for_distributing_data_about_decisions_and_people_behind_those_decisions","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"6aika-paatos-client","version":"0.0.1","description":"API_for_distributing_data_about_decisions_and_people_behind_those_decisions","license":"Unlicense","main":"src/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --recursive"},"browser":{"fs":false},"dependencies":{"superagent":"3.5.2"},"devDependencies":{"mocha":"~2.3.4","sinon":"1.17.3","expect.js":"~0.3.1"},"author":{"name":"Metatavu Oy"},"repository":{"type":"git","url":"git://github.com/Metatavu/6aika-paatos-client.git"},"bugs":{"url":"https://github.com/Metatavu/6aika-paatos-client/issues"},"homepage":"https://github.com/Metatavu/6aika-paatos-client#readme","_id":"6aika-paatos-client@0.0.1","_shasum":"56b5d81cd161f22535bb185cc8e3851bbf1b3238","_from":".","_npmVersion":"2.15.12","_nodeVersion":"6.11.1","_npmUser":{"name":"metatavu","email":"devs@metatavu.fi"},"dist":{"shasum":"56b5d81cd161f22535bb185cc8e3851bbf1b3238","tarball":"https://registry.npmjs.org/6aika-paatos-client/-/6aika-paatos-client-0.0.1.tgz","integrity":"sha512-0O0OSVEB2j5FZYt43AUNju/Yv9pA3+6NRfocEC2GsvjJeZr2Dp7SZQSclETkyMNPSOAUbm14IdB4xjXx7Dr2kQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCri/FTQdhQzWEc4l0Zv9UmF8slhx7ChWQx828fl3pJ/AIhAJeXkohAs9HFY3QdE9qramZ7HtRlAQPI2jtLZAUXAQFe"}]},"maintainers":[{"name":"metatavu","email":"devs@metatavu.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6aika-paatos-client-0.0.1.tgz_1504371219549_0.786942436825484"}},"0.0.2":{"name":"6aika-paatos-client","version":"0.0.2","description":"API_for_distributing_data_about_decisions_and_people_behind_those_decisions","license":"Unlicense","main":"src/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --recursive"},"browser":{"fs":false},"dependencies":{"superagent":"3.5.2"},"devDependencies":{"mocha":"~2.3.4","sinon":"1.17.3","expect.js":"~0.3.1"},"author":{"name":"Metatavu Oy"},"repository":{"type":"git","url":"git://github.com/Metatavu/6aika-paatos-client.git"},"bugs":{"url":"https://github.com/Metatavu/6aika-paatos-client/issues"},"homepage":"https://github.com/Metatavu/6aika-paatos-client#readme","_id":"6aika-paatos-client@0.0.2","_shasum":"aa75f0b53083f55f1976cfa076dd9ae9a96e99ff","_from":".","_npmVersion":"2.15.12","_nodeVersion":"6.11.1","_npmUser":{"name":"metatavu","email":"devs@metatavu.fi"},"dist":{"shasum":"aa75f0b53083f55f1976cfa076dd9ae9a96e99ff","tarball":"https://registry.npmjs.org/6aika-paatos-client/-/6aika-paatos-client-0.0.2.tgz","integrity":"sha512-Ugay58VWuXRYwRTs6egh3ndfIBrtaqGis9x63J4MvEBgQ2JsK+pN2NhCqgnPfkNEovFfOzT3q0Qm0wetHL/EZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3A0JSzaBKV43OisvNy3A83HlDF90zL+e8pgN1+AKY/AiB4VKp+6blIYVWxHb/YZQx8V+aLOlD4EOUujVVreWjarw=="}]},"maintainers":[{"name":"metatavu","email":"devs@metatavu.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6aika-paatos-client-0.0.2.tgz_1505821719417_0.6800616416148841"}}},"readme":"# 6aika-paatos-client\n\n6aikaPaatosClient - JavaScript client for 6aika-paatos-client\nAPI for distributing data about decisions and people behind those decisions\nThis SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: 0.0.5\n- Package version: 0.0.1\n- Build package: io.swagger.codegen.languages.JavascriptClientCodegen\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nTo publish the library as a [npm](https://www.npmjs.com/),\nplease follow the procedure in [\"Publishing npm packages\"](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\nThen install it via:\n\n```shell\nnpm install 6aika-paatos-client --save\n```\n\n##### Local development\n\nTo use the library locally without publishing to a remote npm registry, first install the dependencies by changing \ninto the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:\n\n```shell\nnpm install\n```\n\nNext, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:\n\n```shell\nnpm link\n```\n\nFinally, switch to the directory you want to use your 6aika-paatos-client from, and run:\n\n```shell\nnpm link /path/to/<JAVASCRIPT_CLIENT_DIR>\n```\n\nYou should now be able to `require('6aika-paatos-client')` in javascript files from the directory you ran the last \ncommand above from.\n\n#### git\n#\nIf the library is hosted at a git repository, e.g.\nhttps://github.com/GIT_USER_ID/GIT_REPO_ID\nthen install it via:\n\n```shell\n    npm install GIT_USER_ID/GIT_REPO_ID --save\n```\n\n### For browser\n\nThe library also works in the browser environment via npm and [browserify](http://browserify.org/). After following\nthe above steps with Node.js and installing browserify with `npm install -g browserify`,\nperform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually \nuse this library):\n\n```shell\nbrowserify main.js > bundle.js\n```\n\nThen include *bundle.js* in the HTML pages.\n\n### Webpack Configuration\n\nUsing Webpack you may encounter the following error: \"Module not found: Error:\nCannot resolve module\", most certainly you should disable AMD loader. Add/merge\nthe following section to your webpack config:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      parser: {\n        amd: false\n      }\n    }\n  ]\n}\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following JS code:\n\n```javascript\nvar 6aikaPaatosClient = require('6aika-paatos-client');\n\nvar api = new 6aikaPaatosClient.ActionsApi()\n\nvar opts = { \n  'limit': 56, // {Number} Specify the number of element to display per page.\n  'offset': 56 // {Number} Specify the offset to start displaying element on a page.\n};\napi.actionsList(opts).then(function(data) {\n  console.log('API called successfully. Returned data: ' + data);\n}, function(error) {\n  console.error(error);\n});\n\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://paatos-test.6aika.fi/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*6aikaPaatosClient.ActionsApi* | [**actionsList**](docs/ActionsApi.md#actionsList) | **GET** /action/ | Retrieve a list of actions\n*6aikaPaatosClient.ActionsApi* | [**actionsRetrieve**](docs/ActionsApi.md#actionsRetrieve) | **GET** /action/{id}/ | Retrieve a single video by ID\n*6aikaPaatosClient.CasesApi* | [**casesList**](docs/CasesApi.md#casesList) | **GET** /case/ | Retrieve a list of cases\n*6aikaPaatosClient.CasesApi* | [**videoDetail**](docs/CasesApi.md#videoDetail) | **GET** /case/{id}/ | Retrieve a single case video by ID\n*6aikaPaatosClient.Decision_makersApi* | [**membershipsList**](docs/Decision_makersApi.md#membershipsList) | **GET** /membership/ | Retrieve a list of memberships\n*6aikaPaatosClient.Decision_makersApi* | [**membershipsRetrieve**](docs/Decision_makersApi.md#membershipsRetrieve) | **GET** /membership/{id}/ | Retrieve a single membership record\n*6aikaPaatosClient.Decision_makersApi* | [**organizationsList**](docs/Decision_makersApi.md#organizationsList) | **GET** /organization/ | Retrieve a list of organizations\n*6aikaPaatosClient.Decision_makersApi* | [**organizationsRetrieve**](docs/Decision_makersApi.md#organizationsRetrieve) | **GET** /organization/{id}/ | Retrieve a single person record\n*6aikaPaatosClient.Decision_makersApi* | [**personsList**](docs/Decision_makersApi.md#personsList) | **GET** /person/ | Retrieve a list of persons\n*6aikaPaatosClient.Decision_makersApi* | [**personsRetrieve**](docs/Decision_makersApi.md#personsRetrieve) | **GET** /person/{id}/ | Retrieve a single person record\n*6aikaPaatosClient.Decision_makersApi* | [**postsList**](docs/Decision_makersApi.md#postsList) | **GET** /post/ | Retrieve a list of posts\n*6aikaPaatosClient.Decision_makersApi* | [**postsRetrieve**](docs/Decision_makersApi.md#postsRetrieve) | **GET** /post/{id}/ | Retrieve a single post record\n*6aikaPaatosClient.MembershipsApi* | [**membershipsList**](docs/MembershipsApi.md#membershipsList) | **GET** /membership/ | Retrieve a list of memberships\n*6aikaPaatosClient.MembershipsApi* | [**membershipsRetrieve**](docs/MembershipsApi.md#membershipsRetrieve) | **GET** /membership/{id}/ | Retrieve a single membership record\n*6aikaPaatosClient.OrganizationsApi* | [**organizationsList**](docs/OrganizationsApi.md#organizationsList) | **GET** /organization/ | Retrieve a list of organizations\n*6aikaPaatosClient.OrganizationsApi* | [**organizationsRetrieve**](docs/OrganizationsApi.md#organizationsRetrieve) | **GET** /organization/{id}/ | Retrieve a single person record\n*6aikaPaatosClient.PersonsApi* | [**personsList**](docs/PersonsApi.md#personsList) | **GET** /person/ | Retrieve a list of persons\n*6aikaPaatosClient.PersonsApi* | [**personsRetrieve**](docs/PersonsApi.md#personsRetrieve) | **GET** /person/{id}/ | Retrieve a single person record\n*6aikaPaatosClient.PostsApi* | [**postsList**](docs/PostsApi.md#postsList) | **GET** /post/ | Retrieve a list of posts\n*6aikaPaatosClient.PostsApi* | [**postsRetrieve**](docs/PostsApi.md#postsRetrieve) | **GET** /post/{id}/ | Retrieve a single post record\n\n\n## Documentation for Models\n\n - [6aikaPaatosClient.Action](docs/Action.md)\n - [6aikaPaatosClient.Area](docs/Area.md)\n - [6aikaPaatosClient.Attachment](docs/Attachment.md)\n - [6aikaPaatosClient.CaseRelatedCases](docs/CaseRelatedCases.md)\n - [6aikaPaatosClient.CaseSummary](docs/CaseSummary.md)\n - [6aikaPaatosClient.CaseTitle](docs/CaseTitle.md)\n - [6aikaPaatosClient.Content](docs/Content.md)\n - [6aikaPaatosClient.ContentHypertext](docs/ContentHypertext.md)\n - [6aikaPaatosClient.Event](docs/Event.md)\n - [6aikaPaatosClient.InlineResponse200](docs/InlineResponse200.md)\n - [6aikaPaatosClient.InlineResponse2001](docs/InlineResponse2001.md)\n - [6aikaPaatosClient.InlineResponse2002](docs/InlineResponse2002.md)\n - [6aikaPaatosClient.InlineResponse2003](docs/InlineResponse2003.md)\n - [6aikaPaatosClient.InlineResponse2004](docs/InlineResponse2004.md)\n - [6aikaPaatosClient.InlineResponse2005](docs/InlineResponse2005.md)\n - [6aikaPaatosClient.Membership](docs/Membership.md)\n - [6aikaPaatosClient.Meta](docs/Meta.md)\n - [6aikaPaatosClient.ModelCase](docs/ModelCase.md)\n - [6aikaPaatosClient.Organization](docs/Organization.md)\n - [6aikaPaatosClient.Person](docs/Person.md)\n - [6aikaPaatosClient.Post](docs/Post.md)\n - [6aikaPaatosClient.VoteCount](docs/VoteCount.md)\n - [6aikaPaatosClient.VoteEvent](docs/VoteEvent.md)\n\n\n## Documentation for Authorization\n\n All endpoints do not require authorization.\n\n","maintainers":[{"name":"metatavu","email":"devs@metatavu.fi"}],"time":{"modified":"2022-06-12T14:08:20.164Z","created":"2017-09-02T16:53:40.570Z","0.0.1":"2017-09-02T16:53:40.570Z","0.0.2":"2017-09-19T11:48:40.534Z"},"homepage":"https://github.com/Metatavu/6aika-paatos-client#readme","repository":{"type":"git","url":"git://github.com/Metatavu/6aika-paatos-client.git"},"author":{"name":"Metatavu Oy"},"bugs":{"url":"https://github.com/Metatavu/6aika-paatos-client/issues"},"license":"Unlicense","readmeFilename":"README.md"}