1.0.37 • Published 6 years ago

gv-api-web v1.0.37

Weekly downloads
3
License
Unlicense
Repository
-
Last release
6 years ago

core_api

CoreApi - JavaScript client for core_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: v1
  • Package version: v1
  • 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 core_api --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.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

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

var CoreApi = require('core_api');

var api = new CoreApi.ApibrokerApi()

var opts = { 
  'request': new CoreApi.NewManager() // {NewManager} 
};
api.apiBrokerAccountCreatePost(opts).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to https://localhost

ClassMethodHTTP requestDescription
CoreApi.ApibrokerApiapiBrokerAccountCreatePostPOST /api/broker/account/create
CoreApi.ApibrokerApiapiBrokerAuthSignInPostPOST /api/broker/auth/signIn
CoreApi.ApibrokerApiapiBrokerAuthUpdateTokenGetGET /api/broker/auth/updateToken
CoreApi.ApibrokerApiapiBrokerInitDataGetGET /api/broker/initData
CoreApi.ApibrokerApiapiBrokerPeriodCloseGetGET /api/broker/period/close
CoreApi.ApibrokerApiapiBrokerPeriodSetStartBalanceGetGET /api/broker/period/setStartBalance
CoreApi.ApibrokerApiapiBrokerPeriodlosingDataGetGET /api/broker/period/сlosingData
CoreApi.ApiinvestorApiapiInvestorAuthConfirmEmailGetGET /api/investor/auth/confirmEmail
CoreApi.ApiinvestorApiapiInvestorAuthSignInPostPOST /api/investor/auth/signIn
CoreApi.ApiinvestorApiapiInvestorAuthSignUpPostPOST /api/investor/auth/signUp
CoreApi.ApiinvestorApiapiInvestorAuthUpdateTokenGetGET /api/investor/auth/updateToken
CoreApi.ApiinvestorApiapiInvestorInvestmentsInvestPostPOST /api/investor/investments/invest
CoreApi.ApiinvestorApiapiInvestorInvestmentsPostPOST /api/investor/investments
CoreApi.ApiinvestorApiapiInvestorInvestmentsWithdrawPostPOST /api/investor/investments/withdraw
CoreApi.ApiinvestorApiapiInvestorProfileFullGetGET /api/investor/profile/full
CoreApi.ApiinvestorApiapiInvestorProfileGetGET /api/investor/profile
CoreApi.ApiinvestorApiapiInvestorProfileUpdatePostPOST /api/investor/profile/update
CoreApi.ApimanagerApiapiManagerAccountNewInvestmentRequestPostPOST /api/manager/account/newInvestmentRequest
CoreApi.ApimanagerApiapiManagerAuthConfirmEmailGetGET /api/manager/auth/confirmEmail
CoreApi.ApimanagerApiapiManagerAuthSignInPostPOST /api/manager/auth/signIn
CoreApi.ApimanagerApiapiManagerAuthSignUpPostPOST /api/manager/auth/signUp
CoreApi.ApimanagerApiapiManagerAuthUpdateTokenGetGET /api/manager/auth/updateToken
CoreApi.ApimanagerApiapiManagerBrokersPostPOST /api/manager/brokers
CoreApi.ApimanagerApiapiManagerInvestmentCloseGetGET /api/manager/investment/close
CoreApi.ApimanagerApiapiManagerInvestmentGetGET /api/manager/investment
CoreApi.ApimanagerApiapiManagerProfileFullGetGET /api/manager/profile/full
CoreApi.ApimanagerApiapiManagerProfileGetGET /api/manager/profile
CoreApi.ApimanagerApiapiManagerProfileUpdatePostPOST /api/manager/profile/update
CoreApi.ApitradesApiapiTradesIpfsGetGetGET /api/trades/ipfsGet

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.37

6 years ago

1.0.36

6 years ago

1.0.35

6 years ago

1.0.34

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago