
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
omdb-wrapper
Advanced tools
A wrapper to work with the OMDb Web API.
This library relies on Fetch API. And this API is supported in the following browsers.
![]() | ![]() | ![]() | ![]() | ![]() |
|---|---|---|---|---|
| 39+ ✔ | 42+ ✔ | 29+ ✔ | 10.1+ ✔ | Nope ✘ |
This library depends on fetch to make requests to the OMDb Web API. For environments that don't support fetch, you'll need to provide a polyfill to browser or polyfill to Node.
$ npm install omdb-wrapper --save
// to import a specific method
import OMDb from 'omdb-wrapper';
// using method
OMDb.search.movies('harry+potter');
const omdbWrapper = require('omdb-wrapper').default;
const omdb = new omdbWrapper({
apiKEY: 'YOUR_API_KEY_HERE'
});
<!-- to import non-minified version -->
<script src="omdb-wrapper.umd.js"></script>
<!-- to import minified version -->
<script src="omdb-wrapper.umd.min.js"></script>
After that the library will be available to the Global as OmdbWrapper. Follow an example:
const omdb = new omdbWrapper({
apiKEY: 'YOUR_API_KEY_HERE'
});
const movies = omdb.search.movies('choosen movie');
Follow the methods that the library provides.
Search for informations about Movies with provided query. Test in OMDb Web.
Arguments
| Argument | Type | Options |
|---|---|---|
query | string | 'Any search query' |
Example
omdb.search.movies('harry+potter')
.then(data => {
// do what you want with the data
})
Search for informations about a specific Movie with provided id. Test in OMDb Web.
Arguments
| Argument | Type | Options |
|---|---|---|
id | string | 'Specific id' |
Example
omdb.movie.getMovie('tt1201607')
.then(data => {
// do what you want with the data
})
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
| Matheus Roversi |
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
A wrapper to work with the OMDb Web API
We found that omdb-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.