npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kiana-api

v1.0.0

Published

KianaApi - JavaScript client for kiana_api No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) p

Readme

kiana_api

KianaApi - JavaScript client for kiana_api No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 2.0
  • Package version: 2.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install kiana_api --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your kiana_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('kiana_api') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/kiana_api then install it via:

    npm install YOUR_USERNAME/kiana_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var KianaApi = require('kiana_api');

var api = new KianaApi.AuthenticatedtokencontrollerApi()

var nonce = "nonce_example"; // {String} Nonce

var requestTime = "requestTime_example"; // {String} Request-Time

var credentialsParam = new KianaApi.Credentials(); // {Credentials} credentialsParam

var authorization = "authorization_example"; // {String} Api Key


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthenticatedTokenUsingPOST(nonce, requestTime, credentialsParam, authorization, callback);

Documentation for API Endpoints

All URIs are relative to https://192.168.135.3:8082

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- KianaApi.AuthenticatedtokencontrollerApi | createAuthenticatedTokenUsingPOST | POST /v2/api/authenticatedtokens | Create authentication token. KianaApi.AuthenticatedtokencontrollerApi | deleteAuthenticatedTokenUsingDELETE | DELETE /v2/api/authenticatedtokens/{authenticatedTokenId} | Delete user by id. KianaApi.CameramonitorcontrollerApi | deleteCameraUsingDELETE | DELETE /v2/api/cameras/{cameraId} | Delete camera from map. KianaApi.CameramonitorcontrollerApi | getCameraUsingGET | GET /v2/api/cameras/{cameraId} | Get camera. KianaApi.CameramonitorcontrollerApi | getCamerasUsingGET | GET /v2/api/cameras | Get cameras. KianaApi.CameramonitorcontrollerApi | saveCamerasUsingPOST | POST /v2/api/cameras | Add camera to map. KianaApi.CameramonitorcontrollerApi | updateCamerasUsingPUT | PUT /v2/api/cameras/{cameraId} | Update camera on map. KianaApi.DevicetokencontrollerApi | createDeviceTokenUsingPOST | POST /v2/api/devices/tokens | createDeviceToken KianaApi.DevicetokencontrollerApi | deleteDeviceTokenUsingDELETE | DELETE /v2/api/devices/tokens/{token} | deleteDeviceToken KianaApi.GeofencenotealertcontrollerApi | changeGeofenceNoteAlertStatusUsingPATCH | PATCH /v2/api/geofence-note-alerts/{alertId} | Change geofence note alert status. KianaApi.GeofencenotealertcontrollerApi | getGeoNoteAlertsUsingGET | GET /v2/api/geofence-note-alerts | Get alerts for geofence note. KianaApi.GeofencenotecontrollerApi | deleteGeoNoteUsingDELETE | DELETE /v2/api/geofence-notes/{geofenceNoteId} | Delete geofence note. KianaApi.GeofencenotecontrollerApi | getGeoNoteAttachmentUsingGET | GET /v2/api/geofence-notes/{geofenceNoteId}/attachments | Get geofence note attachments. KianaApi.GeofencenotecontrollerApi | getGeoNoteUsingGET | GET /v2/api/geofence-notes/{geofenceNoteId} | Find geofence note by id. KianaApi.GeofencenotecontrollerApi | getGeoNotesUsingGET | GET /v2/api/geofence-notes | Get geofence notes. KianaApi.GeofencenotecontrollerApi | saveGeoNoteUsingPOST | POST /v2/api/geofence-notes | Create geofence note. KianaApi.GeofencenotecontrollerApi | updateGeoNoteUsingPUT | PUT /v2/api/geofence-notes/{geofenceNoteId} | Update geofence note. KianaApi.MediacontrollerApi | saveMediasUsingPOST | POST /v2/api/medias | Upload medias. KianaApi.MonitorcontrollerApi | deleteMonitorUsingDELETE | DELETE /v2/api/monitors/{monitorId} | Delete monitor from map. KianaApi.MonitorcontrollerApi | getMonitorUsingGET | GET /v2/api/monitors/{monitorId} | Get monitor. KianaApi.MonitorcontrollerApi | getMonitorsUsingGET | GET /v2/api/monitors | Get monitors. KianaApi.MonitorcontrollerApi | getTypesUsingGET | GET /v2/api/monitors/types | Get types. KianaApi.MonitorcontrollerApi | saveMonitorsUsingPOST | POST /v2/api/monitors | Add monitor to map. KianaApi.MonitorcontrollerApi | updateMonitorsUsingPUT | PUT /v2/api/monitors/{monitorId} | Update monitor on map. KianaApi.PermissioncontrollerApi | getPermissionsUsingGET | GET /v2/api/permissions | Get permissions. KianaApi.RolecontrollerApi | getRolesUsingGET | GET /v2/api/roles | Get roles. KianaApi.TagcontrollerApi | getTagsUsingGET | GET /v2/api/tags | Get tags. KianaApi.TagcontrollerApi | saveTagsUsingPOST | POST /v2/api/tags | Create tags. KianaApi.TrackableobjectcontrollerApi | findTrackableUsingGET | GET /v2/api/trackables/{trackableId} | Get trackable info KianaApi.TrackableobjectcontrollerApi | getRisksUsingGET | GET /v2/api/trackables/risks | Get risks. KianaApi.TrackableobjectcontrollerApi | getTrackablesUsingGET | GET /v2/api/trackables/{trackableId}/trackevents | Get track events for trackable. If only from date defined - to date will be current date. KianaApi.TrackableobjectcontrollerApi | getTrackablesUsingGET1 | GET /v2/api/trackables | Get for trackables KianaApi.TrackableobjectcontrollerApi | getTypesUsingGET1 | GET /v2/api/trackables/types | Get types. KianaApi.TrackableobjectcontrollerApi | updateTrackableUsingPUT | PUT /v2/api/trackables/{trackableId} | Update trackable info KianaApi.UsercontrollerApi | deleteUserUsingDELETE | DELETE /v2/api/users/{userId} | Delete user by id. KianaApi.UsercontrollerApi | getUserUsingGET | GET /v2/api/users/me | Get current user information. KianaApi.UsercontrollerApi | getUserUsingGET1 | GET /v2/api/users/{userId} | Find user by id. KianaApi.UsercontrollerApi | getUsersUsingGET | GET /v2/api/users | Get users. KianaApi.UsercontrollerApi | insertUserUsingPOST | POST /v2/api/users | Add a new user. KianaApi.UsercontrollerApi | updateUserUsingPUT | PUT /v2/api/users/{userId} | Update user. KianaApi.UsercontrollerApi | verifyUsingPOST | POST /v2/api/users/{userId} | Verify user. KianaApi.VideoprovidercontrollerApi | getCameraUsingGET1 | GET /v2/api/video-providers/cameras | Get all cameras KianaApi.VideoprovidercontrollerApi | getCameraVideoUsingGET | GET /v2/api/video-providers/cameras/{cameraId}/video | Get video URL KianaApi.VideoprovidercontrollerApi | getCamerasUsingGET1 | GET /v2/api/video-providers/cameras/{cameraId} | Get camera by id

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.