wisi_bakia_api
v1.0.0
Published
ERROR_UNKNOWN
Downloads
5
Readme
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
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- WisiApi.AdminListaApi | checkinListPost | POST /checkin_list | WisiApi.AdminListaApi | loginListaGet | GET /login_lista | WisiApi.AdminListaApi | traerListasGet | GET /traer_listas | WisiApi.AdminListaApi | traerRegistrosGet | GET /traer_registros | WisiApi.BeaconsApi | beaconGet | GET /beacon | WisiApi.CodigosApi | codigosGet | GET /codigos | WisiApi.CodigosApi | solicitarCodigoPost | POST /solicitar_codigo | WisiApi.EventosApi | checkinListPost | POST /checkin_list | WisiApi.EventosApi | codigosGet | GET /codigos | WisiApi.EventosApi | eventoGet | GET /evento | WisiApi.EventosApi | eventosGet | GET /eventos | WisiApi.EventosApi | invitarAmigosPost | POST /invitar_amigos | WisiApi.EventosApi | listaAmigosGet | GET /lista_amigos | WisiApi.EventosApi | listasGet | GET /listas | WisiApi.EventosApi | pbGet | GET /pb | WisiApi.EventosApi | puntosGet | GET /puntos | WisiApi.EventosApi | solicitarCodigoPost | POST /solicitar_codigo | WisiApi.EventosApi | solicitarListaPost | POST /solicitar_lista | WisiApi.EventosApi | statisticPost | POST /statistic | WisiApi.EventosApi | traerListasGet | GET /traer_listas | WisiApi.EventosApi | traerRegistrosGet | GET /traer_registros | WisiApi.GustosApi | gustosGet | GET /gustos | WisiApi.ListasApi | listasGet | GET /listas | WisiApi.ListasApi | loginListaGet | GET /login_lista | WisiApi.ListasApi | pbGet | GET /pb | WisiApi.ListasApi | solicitarListaPost | POST /solicitar_lista | WisiApi.PushApi | openPushPost | POST /open_push | WisiApi.PushApi | quitarTokenDelete | DELETE /quitar_token | WisiApi.PushApi | registrarTokenPost | POST /registrar_token | WisiApi.TerminosApi | aceptarTerminosPost | POST /aceptar_terminos | WisiApi.TerminosApi | dADelete | DELETE /d_a | WisiApi.TerminosApi | verificarTerminosGet | GET /verificar_terminos | WisiApi.UsersApi | aceptarTerminosPost | POST /aceptar_terminos | WisiApi.UsersApi | dADelete | DELETE /d_a | WisiApi.UsersApi | loginGet | GET /login | WisiApi.UsersApi | loginListaGet | GET /login_lista | WisiApi.UsersApi | loginfGet | GET /loginf | WisiApi.UsersApi | registroPost | POST /registro | WisiApi.UsersApi | resetPost | POST /reset | WisiApi.UsersApi | updateExtraPost | POST /update_extra | WisiApi.UsersApi | updatePost | POST /update | WisiApi.UsersApi | userGet | GET /user | WisiApi.UsersApi | verificarTerminosGet | GET /verificar_terminos |
Documentation for Models
- WisiApi.Codigo
- WisiApi.ErrorModel
- WisiApi.Evento
- WisiApi.Gusto
- WisiApi.Imagen
- WisiApi.InlineResponse200
- WisiApi.InlineResponse2001
- WisiApi.InlineResponse2002
- WisiApi.InlineResponse2003
- WisiApi.InlineResponse2004
- WisiApi.InlineResponse2005
- WisiApi.InlineResponse2006
- WisiApi.InlineResponse2007
- WisiApi.Lista
- WisiApi.Lista1
- WisiApi.MiniUser
- WisiApi.Precio
- WisiApi.Punto
- WisiApi.Registro
- WisiApi.ResultEvento
- WisiApi.ResultMensaje
- WisiApi.ResultMiniUser
- WisiApi.ResultTerminos
- WisiApi.ResultUser
- WisiApi.Ubicacion
- WisiApi.User
- WisiApi.UserMini
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