1.6.1 • Published 7 years ago

otoboto_backend v1.6.1

Weekly downloads
1
License
Unlicense
Repository
-
Last release
7 years ago

otoboto_backend

OtobotoBackend - JavaScript client for otoboto_backend 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.6.1
  • Package version: 1.6.1
  • 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 otoboto_backend --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 OtobotoBackend = require('otoboto_backend');

var api = new OtobotoBackend.DefaultApi()

var token = new OtobotoBackend.Token(); // {Token} 

api.authTemp(token).then(function() {
  console.log('API called successfully.');
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to http://localhost:10010/

ClassMethodHTTP requestDescription
OtobotoBackend.DefaultApiauthTempPOST /auth/temp
OtobotoBackend.DefaultApiauthTempNewGET /auth/temp
OtobotoBackend.DefaultApideleteLikeDELETE /user/like
OtobotoBackend.DefaultApidislikeThresholdPOST /user/dislikeThreshold
OtobotoBackend.DefaultApigetCarGET /car
OtobotoBackend.DefaultApigetFbUserGET /user/fb/{fbid}
OtobotoBackend.DefaultApigetLikedItemsGET /user/likedItems
OtobotoBackend.DefaultApigetPrefsGET /user/prefs
OtobotoBackend.DefaultApigetTestGET /test
OtobotoBackend.DefaultApigetTokenUserGET /user
OtobotoBackend.DefaultApigetUserCarGET /user/car
OtobotoBackend.DefaultApigetUserExcludesGET /user/exclude
OtobotoBackend.DefaultApigetUserStatsGET /user/states
OtobotoBackend.DefaultApihelloGET /hello
OtobotoBackend.DefaultApipostAuthBotFbPOST /auth/bot/fb
OtobotoBackend.DefaultApipostAuthFbPOST /auth/fb
OtobotoBackend.DefaultApipostDislikePOST /user/dislike
OtobotoBackend.DefaultApipostFbUserPOST /user/fb
OtobotoBackend.DefaultApipostLikePOST /user/like
OtobotoBackend.DefaultApipostUserBotFbPOST /user/bot/fb
OtobotoBackend.DefaultApipostUserExcludesPOST /user/exclude
OtobotoBackend.DefaultApipostUserSearchParamsPOST /user/search

Documentation for Models

Documentation for Authorization

oauth2

  • Type: OAuth
  • Flow: implicit
  • Authorization URL: graph.facebook.com/debug_token
  • Scopes:
    • read: Grants read access
    • write: Grants write access
1.6.1

7 years ago

1.5.1

7 years ago

1.5.10

7 years ago

1.4.10

7 years ago

1.4.9

7 years ago

1.4.8

7 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago