estonian-cinema-api
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -0,1 +1,8 @@ | ||
# v0.2.0 | ||
## Add id, movie length, time and auditorium to show object | ||
Objects returned by `getShows` now contain `id`, `movie.length`, `time` and `auditorium` properties. | ||
<!-- --> | ||
# v0.1.1 | ||
@@ -2,0 +9,0 @@ ## Add `language`, `dimensions` and `isImax` to show object |
@@ -10,3 +10,6 @@ const getShows = require('markus-cinema-client').getShows; | ||
posterUrl: show.Images.EventMediumImagePortrait || show.Images.EventLargeImagePortrait || null, | ||
length: parseInt(show.LengthInMinutes, 10), | ||
}, | ||
id: parseInt(show.ID, 10), | ||
time: new Date(show.dttmShowStart), | ||
timeUTC: new Date(show.dttmShowStartUTC), | ||
@@ -16,2 +19,3 @@ dimensions: languageAndMethodUtils.getDimensions(show.PresentationMethodAndLanguage), | ||
isImax: languageAndMethodUtils.getIfIsImax(show.PresentationMethodAndLanguage), | ||
auditorium: show.TheatreAuditorium, | ||
url: show.ShowURL, | ||
@@ -18,0 +22,0 @@ })); |
{ | ||
"name": "estonian-cinema-api", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "JavaScript interface to get shows for Estonian cinemas.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7484
131