JavaScript/jQuery app that fetches movie data from the OMDb API
Run index.html on any server
Movie info app built with JavaScript and uses the OMDb API
Hello to all,
If you need api key to make this work, you can get yours from here : http://www.omdbapi.com/apikey.aspx?
Free key has 1000 query per day, i think this is enought for test your project
When you get the key, Your get command will be like this
axios.get('http://www.omdbapi.com/?t='+searchText+'&apikey=yourkeyhere')
Hi, I tried the whole code over and over again. Exactly similar. I even tried it with sessionStorage.setItem('movieId', id);
But nothing is working. On clicking on the movie details button on a movie. The Id is not getting stored and window.location is not changing to movie.htm l page. I tried it a hundred times, with different possibilities of few changes in code but nothing is happening.
localhost/movie.html opened otherwise manually is working with all the HTML data added but since it has no movieId stored it doesn't show information about any movie.
There's a video for this app available on youtube and it shows that the id is getting stored can be seen in inspect element -->
application --> session storage where the key is movieId but in my case, there's no movieId getting stored instead it shows IsThisFirstTime_Log_From_LiveServer in key section value true.
You may understand it with the ss attached.
Also on clicking the Movie details the link only stops at localhost/# instead of automatically redirecting to localhost/movie.html
function movieSelected(id){
sessionStorage.getItem('movieId', id);
window.location = "movie.html";
return false;
}
Is there an alternate Open API available ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.