Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@igorissen/ngx-tmdb-api
Advanced tools
Angular wrapper library for TheMovieDatabase API.
NOTE: Only version 3 of the API is implemented.
$ npm i -E @igorissen/ngx-tmdb-api
Import NgxTmdbApiModule
in your AppModule and configure it with your TheMovieDatabase API key.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NgxTmdbApiModule } from '@igorissen/ngx-tmdb-api';
import { AppComponent } from './app.component';
@NgModule({
declarations: [ AppComponent ],
imports: [
BrowserModule,
NgxTmdbApiModule.forRoot({ apiKey: 'YOUR_API_KEY_HERE' })
],
bootstrap: [ AppComponent ]
})
export class AppModule {}
Please refer to TheMovieDatabase API documentation for path and query parameters name.
import { Component, OnInit } from '@angular/core';
import { Movies } from '@igorissen/ngx-tmdb-api';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.less']
})
export class AppComponent implements OnInit {
public ngOnInit(): void {
Movies.getDetails({
pathParams: { movie_id: '384018' },
queryParams: { language: 'FR', append_to_response: 'videos,images' }
}).subscribe(console.log);
}
}
FAQs
TMDB api wrapper for Angular
The npm package @igorissen/ngx-tmdb-api receives a total of 0 weekly downloads. As such, @igorissen/ngx-tmdb-api popularity was classified as not popular.
We found that @igorissen/ngx-tmdb-api 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.