1.0.3 • Published 7 years ago

wisi_api v1.0.3

Weekly downloads
1
License
Unlicense
Repository
-
Last release
7 years ago

wisi_api

WisiApi - JavaScript client for wisi_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: 1.0.0
  • Package version: 1.0.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 wisi_api --save

git

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

    npm install YOUR_USERNAME/wisi_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):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

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

var WisiApi = require('wisi_api');

var defaultClient = WisiApi.ApiClient.instance;

// Configure API key authorization: access_token
var access_token = defaultClient.authentications['access_token'];
access_token.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//access_token.apiKeyPrefix['access_token'] = "Token"

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new WisiApi.AdminListaApi()

var rid = 56; // {Number} id del registro

var opts = { 
  'redimir': true // {Boolean} Registrar o desregistrar de la lista
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkinListPost(rid, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://api.bakia.co

ClassMethodHTTP requestDescription
WisiApi.AdminListaApicheckinListPostPOST /checkin_list
WisiApi.AdminListaApiloginListaGetGET /login_lista
WisiApi.AdminListaApitraerListasGetGET /traer_listas
WisiApi.AdminListaApitraerRegistrosGetGET /traer_registros
WisiApi.BeaconsApibeaconGetGET /beacon
WisiApi.CodigosApicodigosGetGET /codigos
WisiApi.CodigosApisolicitarCodigoPostPOST /solicitar_codigo
WisiApi.EventosApicheckinListPostPOST /checkin_list
WisiApi.EventosApicodigosGetGET /codigos
WisiApi.EventosApieventoGetGET /evento
WisiApi.EventosApieventosGetGET /eventos
WisiApi.EventosApiinvitarAmigosPostPOST /invitar_amigos
WisiApi.EventosApilistaAmigosGetGET /lista_amigos
WisiApi.EventosApilistasGetGET /listas
WisiApi.EventosApipbGetGET /pb
WisiApi.EventosApipuntosGetGET /puntos
WisiApi.EventosApisolicitarCodigoPostPOST /solicitar_codigo
WisiApi.EventosApisolicitarListaPostPOST /solicitar_lista
WisiApi.EventosApistatisticPostPOST /statistic
WisiApi.EventosApitraerListasGetGET /traer_listas
WisiApi.EventosApitraerRegistrosGetGET /traer_registros
WisiApi.GustosApigustosGetGET /gustos
WisiApi.ListasApilistasGetGET /listas
WisiApi.ListasApiloginListaGetGET /login_lista
WisiApi.ListasApipbGetGET /pb
WisiApi.ListasApisolicitarListaPostPOST /solicitar_lista
WisiApi.PushApiopenPushPostPOST /open_push
WisiApi.PushApiquitarTokenDeleteDELETE /quitar_token
WisiApi.PushApiregistrarTokenPostPOST /registrar_token
WisiApi.TerminosApiaceptarTerminosPostPOST /aceptar_terminos
WisiApi.TerminosApidADeleteDELETE /d_a
WisiApi.TerminosApiverificarTerminosGetGET /verificar_terminos
WisiApi.UsersApiaceptarTerminosPostPOST /aceptar_terminos
WisiApi.UsersApidADeleteDELETE /d_a
WisiApi.UsersApiloginGetGET /login
WisiApi.UsersApiloginListaGetGET /login_lista
WisiApi.UsersApiloginfGetGET /loginf
WisiApi.UsersApiregistroPostPOST /registro
WisiApi.UsersApiresetPostPOST /reset
WisiApi.UsersApiupdateExtraPostPOST /update_extra
WisiApi.UsersApiupdatePostPOST /update
WisiApi.UsersApiuserGetGET /user
WisiApi.UsersApiverificarTerminosGetGET /verificar_terminos

Documentation for Models

Documentation for Authorization

access_token

  • Type: API key
  • API key parameter name: access_token
  • Location: URL query string

api_key

  • Type: API key
  • API key parameter name: api_key
  • Location: URL query string
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago