Socket
Socket
Sign inDemoInstall

travel_conseriage

Package Overview
Dependencies
22
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    travel_conseriage

API_for_managing_Travel_Conceriage_Service_datasets_


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
1.34 MB
Created
Weekly downloads
 

Readme

Source

travel_conseriage

TravelConseriage - JavaScript client for travel_conseriage API for managing Travel Conceriage Service datasets. 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 travel_conseriage --save
git

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

    npm install GIT_USER_ID/GIT_REPO_ID --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 TravelConseriage = require('travel_conseriage');

var api = new TravelConseriage.AgencyApi()

var body = new TravelConseriage.Agency(); // {Agency} Created Agency object


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createAgency(body, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/tc

ClassMethodHTTP requestDescription
TravelConseriage.AgencyApicreateAgencyPOST /agencyCreate Agency
TravelConseriage.AgencyApigetAgenciesGET /agency/getAgencyReturns all agencies in the system
TravelConseriage.AgencyApigetAgencyByIdGET /agency/getAgencyByIdReturns an Agency for a given id
TravelConseriage.AgentApicreateAgentPOST /agentCreate Agent
TravelConseriage.AgentApicreateAgentsWithArrayInputPOST /agent/createWithArrayCreates list of agents with given input array
TravelConseriage.AgentApigetAgentsGET /agent/getAgentsReturns all agents in the system
TravelConseriage.AgentApigetagentByIdGET /agent/getAgentByIdReturns An Agent for a given id
TravelConseriage.AgentApiloginUserGET /agent/loginLogs user into the system
TravelConseriage.PackageApigetInventoryGET /package/inventoryReturns package inventories
TravelConseriage.UserApiaddUserPOST /userRegister a new user
TravelConseriage.UserApiupdateUserPUT /userUpdate an existing User

Documentation for Models

Documentation for Authorization

agent_auth

  • Type: OAuth
  • Flow: implicit
  • Authorization URL: http://abc.com/oauth/dialog
  • Scopes:
    • write:packages: modify packages in your account
    • read:packages: read your packages

api_key

  • Type: API key
  • API key parameter name: api_key
  • Location: HTTP header

FAQs

Last updated on 12 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc