6.0.1 • Published 10 months ago

themeparks v6.0.1

Weekly downloads
74
License
Unlicense
Repository
-
Last release
10 months ago

themeparks

Themeparks - JavaScript client for themeparks api.themeparks.wiki This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0-alpha
  • Package version: 6.0.1
  • Build package: org.openapitools.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 themeparks --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your themeparks from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

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 Themeparks = require('themeparks');


var api = new Themeparks.DestinationsApi()
api.getDestinations().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://api.themeparks.wiki/v1

ClassMethodHTTP requestDescription
Themeparks.DestinationsApigetDestinationsGET /destinationsGet a list of supported destinations available on the live API
Themeparks.EntitiesApigetEntityGET /entity/{entityID}Get entity document
Themeparks.EntitiesApigetEntityChildrenGET /entity/{entityID}/childrenGet all children for a given entity document
Themeparks.EntitiesApigetEntityLiveDataGET /entity/{entityID}/liveGet live data for this entity and any child entities
Themeparks.EntitiesApigetEntityScheduleUpcomingGET /entity/{entityID}/scheduleGet entity schedule
Themeparks.EntitiesApigetEntityScheduleYearMonthGET /entity/{entityID}/schedule/{year}/{month}Get entity schedule for a specific month and year

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

6.0.1

10 months ago

6.0.0

11 months ago

5.1.53

2 years ago

5.1.52

3 years ago

5.1.51

3 years ago

5.1.50

3 years ago

5.1.49

3 years ago

5.1.48

3 years ago

5.1.47

3 years ago

5.1.46

3 years ago

5.1.45

3 years ago

5.1.44

4 years ago

5.1.43

4 years ago

5.1.42

4 years ago

5.1.41

4 years ago

5.1.40

4 years ago

5.1.39

4 years ago

5.1.38

4 years ago

5.1.37

4 years ago

5.1.36

4 years ago

5.1.35

4 years ago

5.1.34

4 years ago

5.1.33

4 years ago

5.1.32

4 years ago

5.1.31

4 years ago

5.1.30

4 years ago

5.1.29

4 years ago

5.1.28

4 years ago

5.1.27

4 years ago

5.1.26

5 years ago

5.1.25

5 years ago

5.1.24

5 years ago

5.1.23

5 years ago

5.1.22

5 years ago

5.1.21

5 years ago

5.1.20

5 years ago

5.1.19

5 years ago

5.1.18

5 years ago

5.1.17

5 years ago

5.1.16

5 years ago

5.1.15

5 years ago

5.1.14

5 years ago

5.1.13

5 years ago

5.1.12

5 years ago

5.1.11

5 years ago

5.1.10

5 years ago

5.1.9

5 years ago

5.1.8

5 years ago

5.1.7

5 years ago

5.1.6

5 years ago

5.1.5

5 years ago

5.1.4

5 years ago

5.1.3

5 years ago

5.1.2

5 years ago

5.1.1

5 years ago

5.1.0

5 years ago

4.7.20

5 years ago

4.7.19

5 years ago

4.7.18

5 years ago

4.8.0

5 years ago

4.7.17

5 years ago

4.7.16

5 years ago

4.7.15

5 years ago

4.7.14

5 years ago

4.7.13

5 years ago

4.7.12

5 years ago

4.7.11

5 years ago

4.7.10

5 years ago

4.7.9

5 years ago

4.7.8

6 years ago

5.0.0-beta.8

6 years ago

5.0.0-beta.7

6 years ago

5.0.0-beta.6

6 years ago

5.0.0-beta.5

6 years ago

5.0.0-beta.4

6 years ago

5.0.0-beta.3

6 years ago

5.0.0-beta.2

6 years ago

5.0.0

6 years ago

4.7.7

6 years ago

4.7.6

6 years ago

4.7.5

6 years ago

4.7.4

6 years ago

4.7.3

6 years ago

4.7.2

6 years ago

4.7.1

6 years ago

4.7.0

6 years ago

4.6.17

6 years ago

4.6.16

6 years ago

4.6.15

6 years ago

4.6.14

6 years ago

4.6.13

6 years ago

4.6.12

6 years ago

4.6.11

6 years ago

4.6.10

6 years ago

4.6.9

6 years ago

4.6.8

6 years ago

4.6.7

6 years ago

4.6.6

6 years ago

4.6.5

6 years ago

4.6.4

6 years ago

4.6.3

6 years ago

4.6.2

6 years ago

4.6.1

6 years ago

4.6.0

7 years ago

4.5.1

7 years ago

4.5.0

7 years ago

4.4.0

7 years ago

4.3.4

7 years ago

4.3.3

7 years ago

4.3.2

7 years ago

4.3.1

7 years ago

4.3.0

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.1.7

7 years ago

4.1.6

7 years ago

4.1.5

7 years ago

4.1.4

7 years ago

4.1.3

7 years ago

4.1.2

7 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.7

7 years ago

4.0.6

7 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

4.0.0-beta

7 years ago

4.0.0-alpha

7 years ago