
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
themeparks
Advanced tools
Themeparks - JavaScript client for themeparks api.themeparks.wiki This SDK is automatically generated by the OpenAPI Generator project:
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
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
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
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.
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
}
}
]
}
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);
});
All URIs are relative to https://api.themeparks.wiki/v1
Class | Method | HTTP request | Description |
---|---|---|---|
Themeparks.DestinationsApi | getDestinations | GET /destinations | Get a list of supported destinations available on the live API |
Themeparks.EntitiesApi | getEntity | GET /entity/{entityID} | Get entity document |
Themeparks.EntitiesApi | getEntityChildren | GET /entity/{entityID}/children | Get all children for a given entity document |
Themeparks.EntitiesApi | getEntityLiveData | GET /entity/{entityID}/live | Get live data for this entity and any child entities |
Themeparks.EntitiesApi | getEntityScheduleUpcoming | GET /entity/{entityID}/schedule | Get entity schedule |
Themeparks.EntitiesApi | getEntityScheduleYearMonth | GET /entity/{entityID}/schedule/{year}/{month} | Get entity schedule for a specific month and year |
All endpoints do not require authorization.
FAQs
A JavaScript client for the ThemeParks.Wiki API
The npm package themeparks receives a total of 424 weekly downloads. As such, themeparks popularity was classified as not popular.
We found that themeparks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.