@buyborghi/swagger-js-client

1.1.2 • Public • Published

swagger-js-client

SwaggerJsClient - JavaScript client for swagger-js-client 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

Getting Started

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

var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.CompaniesApi()

var townId = "townId_example"; // {String} A unique identifier used to identify the town.

var companyId = "companyId_example"; // {String} A unique identifier used to identify the company.


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

Documentation for API Endpoints

All URIs are relative to https://localhost/buyborghi-api/v1

Class Method HTTP request Description
SwaggerJsClient.CompaniesApi townsTownIdCompaniesCompanyIdCouponsGet GET /towns/{townId}/companies/{companyId}/coupons Get coupons made by the company
SwaggerJsClient.CompaniesApi townsTownIdCompaniesCompanyIdEventsGet GET /towns/{townId}/companies/{companyId}/events Get events organized by the company
SwaggerJsClient.CompaniesApi townsTownIdCompaniesCompanyIdGet GET /towns/{townId}/companies/{companyId} Get company's details
SwaggerJsClient.CompaniesApi townsTownIdCompaniesGet GET /towns/{townId}/companies Get companies related to the town
SwaggerJsClient.CouponsApi townsTownIdCompaniesCompanyIdCouponsGet GET /towns/{townId}/companies/{companyId}/coupons Get coupons made by the company
SwaggerJsClient.CouponsApi townsTownIdCouponsCouponIdGet GET /towns/{townId}/coupons/{couponId} Get coupons's details
SwaggerJsClient.CouponsApi townsTownIdCouponsGet GET /towns/{townId}/coupons Get coupons related to the town
SwaggerJsClient.EventsApi townsTownIdCompaniesCompanyIdEventsGet GET /towns/{townId}/companies/{companyId}/events Get events organized by the company
SwaggerJsClient.EventsApi townsTownIdEventsEventIdGet GET /towns/{townId}/events/{eventId} Get event's details
SwaggerJsClient.EventsApi townsTownIdEventsGet GET /towns/{townId}/events Get events related to the town
SwaggerJsClient.InfoApi helpGet GET /help Send general informations, contacts and FAQ
SwaggerJsClient.InfoApi townsTownIdHistoricalInfosGet GET /towns/{townId}/historicalInfos Get historical informations about the town
SwaggerJsClient.InfoApi townsTownIdInstitutionalInfosGet GET /towns/{townId}/institutionalInfos Get institutional informations about the town
SwaggerJsClient.PlacesApi townsTownIdPlacesGet GET /towns/{townId}/places Get places related to the town
SwaggerJsClient.PlacesApi townsTownIdPlacesPlaceIdGet GET /towns/{townId}/places/{placeId} Get event's details
SwaggerJsClient.PostApi reportingsPost POST /reportings Send abuses and/or reports
SwaggerJsClient.PostApi townsPost POST /towns Add town Geo-coordinates
SwaggerJsClient.TownsApi townsGet GET /towns Town list
SwaggerJsClient.TownsApi townsPost POST /towns Add town Geo-coordinates
SwaggerJsClient.TownsApi townsTownIdCompaniesCompanyIdCouponsGet GET /towns/{townId}/companies/{companyId}/coupons Get coupons made by the company
SwaggerJsClient.TownsApi townsTownIdCompaniesCompanyIdEventsGet GET /towns/{townId}/companies/{companyId}/events Get events organized by the company
SwaggerJsClient.TownsApi townsTownIdCompaniesCompanyIdGet GET /towns/{townId}/companies/{companyId} Get company's details
SwaggerJsClient.TownsApi townsTownIdCompaniesGet GET /towns/{townId}/companies Get companies related to the town
SwaggerJsClient.TownsApi townsTownIdCouponsCouponIdGet GET /towns/{townId}/coupons/{couponId} Get coupons's details
SwaggerJsClient.TownsApi townsTownIdCouponsGet GET /towns/{townId}/coupons Get coupons related to the town
SwaggerJsClient.TownsApi townsTownIdElementsGet GET /towns/{townId}/elements Find elements of any type
SwaggerJsClient.TownsApi townsTownIdEventsEventIdGet GET /towns/{townId}/events/{eventId} Get event's details
SwaggerJsClient.TownsApi townsTownIdEventsGet GET /towns/{townId}/events Get events related to the town
SwaggerJsClient.TownsApi townsTownIdGet GET /towns/{townId} Get town's details
SwaggerJsClient.TownsApi townsTownIdPlacesGet GET /towns/{townId}/places Get places related to the town
SwaggerJsClient.TownsApi townsTownIdPlacesPlaceIdGet GET /towns/{townId}/places/{placeId} Get event's details
SwaggerJsClient.WelcomeApi welcomeGet GET /welcome Check if user is phisically in town

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

Readme

Keywords

Package Sidebar

Install

npm i @buyborghi/swagger-js-client

Weekly Downloads

1

Version

1.1.2

License

Unlicense

Unpacked Size

766 kB

Total Files

231

Last publish

Collaborators

  • ale8193
  • heartlex
  • nimbler