
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
A simple node wrapper for The Movie Database Api.
Note : Currently does not support authed endpoints(coming soon™)
npm install tmdb-node
var TmdbApi = require('tmdb-api')
var api = new TmdbApi(API_KEY) //Will throw an error if a key isn't supplied
api.genres(function(err,data){
console.log(data)
})
Unless other wise noted all callbacks use the following signature :
callback(err,response)
Response will automatically be parsed as JSON unless there is an error.
Some of the calls are chainable, the chainable methods work similar to the non chainable ones. The biggest difference is that chainable methods will not execute until you pass in a callback or call the exec method.
var TmdbApi = require('tmdb-api')
var api = new TmdbApi(API_KEY) //Will throw an error if a key isn't supplied
api.movies(550).images().credits().exec(function(err,data){
console.log(data)
})
api.collection(550).images(function(err,data){
console.log(data)
})
I don't want a chained response, I just want movie images.
No problem! All chained methods have a static counterpart. The format is always the same, xY. Where x is the type and Y is the resource. Example:
api.movieImages(550,myOpts,callback)
The signature for a method depends on the endpoint. If the endpoint has variables then each variable must be passed in order. Examples:
/discover/movie
function(opts,callback)
/tv/{id}/season/{season_number}
function(id,seasonNumber,opts,callback)
Search works a bit differently from every other method.
Api.search(where,query,opts,callback)
where-> The section to search. See the official documentation for a list
query-> Your search query
MIT LICENSE
FAQs
Wrapper for The Movie Database api
The npm package tmdb-node receives a total of 1 weekly downloads. As such, tmdb-node popularity was classified as not popular.
We found that tmdb-node 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.