magnetis_dev

1.0.0 • Public • Published

magnetis_dev

MagnetisDev - JavaScript client for magnetis_dev Lorem ipsum alatea narac por pilli This SDK is automatically generated by the Swagger Codegen project:

  • API version: 2017-03-10T10:44:52Z
  • Package version: 2017-03-10T10:44:52Z
  • 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 magnetis_dev --save

git

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

    npm install YOUR_USERNAME/magnetis_dev --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 MagnetisDev = require('magnetis_dev');

var defaultClient = MagnetisDev.ApiClient.instance;

// 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['x-api-key'] = "Token"

var api = new MagnetisDev.AccountsApi()

var opts = { 
  'xApiKey': "xApiKey_example" // {String} 
};

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

Documentation for API Endpoints

All URIs are relative to https://jy96bi0oak.execute-api.eu-west-1.amazonaws.com/V1_dev

Class Method HTTP request Description
MagnetisDev.AccountsApi accountsChromeGet GET /accounts/chrome Chrome
MagnetisDev.AccountsApi accountsGet GET /accounts Accounts
MagnetisDev.AccountsApi accountsIdaccCallbydayGet GET /accounts/{idacc}/callbyday Call by day
MagnetisDev.AccountsApi accountsIdaccCallbymonthGet GET /accounts/{idacc}/callbymonth Call by month
MagnetisDev.AccountsApi accountsIdaccCallbymonthbynumberGet GET /accounts/{idacc}/callbymonthbynumber Call by month number
MagnetisDev.AccountsApi accountsIdaccCallgeofranceGet GET /accounts/{idacc}/callgeofrance Call geo France
MagnetisDev.AccountsApi accountsIdaccNumbersGetlistGet GET /accounts/{idacc}/numbers/getlist List numbers
MagnetisDev.AccountsApi accountsIdaccNumbersPhonenumberCallsGet GET /accounts/{idacc}/numbers/{phonenumber}/calls Numbers calls per phonenumber
MagnetisDev.AccountsApi accountsIdaccNumbersPhonenumberDestinationPost POST /accounts/{idacc}/numbers/{phonenumber}/destination Destination
MagnetisDev.AccountsApi accountsIdaccNumbersPhonenumberKpiGet GET /accounts/{idacc}/numbers/{phonenumber}/kpi Kpi numbers
MagnetisDev.AccountsApi accountsIdaccNumbersPost POST /accounts/{idacc}/numbers Numbers
MagnetisDev.AccountsApi accountsIdaccRecipientsGet GET /accounts/{idacc}/recipients Get recipients
MagnetisDev.AccountsApi accountsIdaccRecipientsPost POST /accounts/{idacc}/recipients Post recipients
MagnetisDev.AccountsApi accountsIdaccRecipientsRecipientnumberTrackednumberGet GET /accounts/{idacc}/recipients/{recipientnumber}/trackednumber Tracked number
MagnetisDev.AccountsApi accountsKpiGet GET /accounts/kpi Kpi

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

Readme

Keywords

none

Package Sidebar

Install

npm i magnetis_dev

Weekly Downloads

1

Version

1.0.0

License

Unlicense

Last publish

Collaborators

  • zethir