1.0.3 • Published 5 years ago
japoster v1.0.3
#JAPOSTER
###About
A Simple API wrapper for TVMaze.com images to display posters from your favorite TV shows. there is no need to wire up seperate Http services and api calls in your app. eveything is contained with one component call.
Versions
#####1.0 - inital creation -ability to add posters from tvmaze without extra complexity.
###Links
visit the tvmaze.com site, search for a show, in the URL of your selected show will be the id of the show
http://www.tvmaze.com/shows/821/macgyver
pass this number into the ja-poster as the Id as shown below in the app.component.html
####How to use
$ npm install japoster
app.module.ts
import { JAPosterModule } from 'japoster';
imports: [
JAPosterModule
],
app.component.html
there is only one parameter you have to bind to, the [showId]="string"
<ja-poster [showId]="821"></ja-poster>
thats all thats needed!