omdb-search v0.3.1
omdb-search
A Polymer custom element that fetches movie, series, episode data from the
Open Movie Database (OMDb) api.
Change Log
Version: 0.3.1
- Remove unnecessary EOL on _computeUrl return statement
- Add github version badge
- Update bower version badge
- Add Published on webcomponents.org badge
Demo it
https://giovanni-orlando.com/omdb-search/
Getting Started
Make a project directory for your demo and change directories into it:
$ mkdir omdb-search-demo && cd omdb-search-demo
Create an index.html
$ touch index.html
Install or Download
Install the component using bower.
$ bower install omdb-search --save
Or download the .zip file
Usage
In that index.html add the following code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>OMDb Search demo</title>
<!-- Load the WebComponents polyfill: -->
<script async src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.js"></script>
<!-- Import the omdb-search web component: -->
<link rel="import" href="bower_components/omdb-search/omdb-search.html">
<!-- Optionally, import the included omdb-search-theme stylesheet: -->
<link rel="import" href="bower_components/omdb-search/omdb-search-theme.html">
</head>
<body>
<!-- Use the element in your app: -->
<h1>Tarzan movies:</h1>
<omdb-search q="Tarzan" type="movie" page="1"></omdb-search>
</body>
</html>
Available on webcomponents.org
License
Copyright 2017: Giovanni Orlado Rivera
Website: https://giovanni-orlando.com/