The OMDb API is a RESTful web service to obtain movie information, all content and images on the site are contributed and maintained by its users. See https://www.omdbapi.com/#usage for usage.
Questions tagged [omdbapi]
48 questions
0
votes
1 answer
Data is not being fetched in react.js app when I host it on GCP/Heroku/Netlify
I'm trying to fetch some movie data by title from OMDB. It works just fine on my machine but when I host it on providers such as GCP/Heroku/Netlify my search don't return anything. Here is the link to the GCP hosted site:…

cosmicRover
- 23
- 6
0
votes
0 answers
Sort list of custom objects based on comparison to string
I'm looking to sort a list based on most closely matching to a query. So for my case, I have a custom object called movie, which has several fields, the one I'm concerned with is title. When I do the search, the OMDb API returns some results but…

daniel-eh
- 344
- 3
- 13
0
votes
0 answers
why is my previous result not clearing when i submit a new search?
I am trying to print new result every time I search but the output keeps adding after the previous one, what I want is to clear previous result and display new results on eventListener submit. Here is my javascript code:
const form =…

Michael Ng'ang'a Njoroge
- 109
- 2
- 10
0
votes
2 answers
Generate movies from OMDB API
I am trying to view all the movies from IMDB. I am unabke to do it. THerefore I decided to use a search bar that will send the string of the name of the movie and then show the movies of that string. But it gives me error even though I generated the…

Shivangi
- 95
- 1
- 2
- 9
0
votes
1 answer
OMDb API need help getting /results page after movie search using AXIOS
this is my current app.js code. I am trying to create a movie search that allows me to search a movie within a database and bring me back results of 10 movies within that keyword. For example. If I search "ALABAMA", I should receive back 10 movies…

ChrisH
- 29
- 1
- 2
- 11
0
votes
0 answers
Django - How to serialize (and later iterate through) list of dictionaries?
I am having hard time with serializing data from API since this is the first time that I am doing this. I would like to ask you for your help.
From API i receive dictionary with some keys. Value for key "Search" is list of dictionaries that I would…

Peksio
- 525
- 6
- 25
0
votes
0 answers
looping through movies array and calling another function
I have renderResult function that loops through array and then calling another function on each element. However, when looping through array I get an error which says movies.forEach is not function.
const renderMovie = movie => {
const…

hamid
- 21
- 1
- 7
0
votes
0 answers
DOM Editing chrome extension, only displays DOM changes after scrolling?
I made a chrome extension that adds IMDB information onto Netflix Movies and TV Shows. I am new to web dev, and I made this in order to learn and practice my JS. The extension works and the ratings are added to the movies/tv shows info page, but…

BrownBoii333
- 85
- 1
- 8
0
votes
1 answer
Undefined index: Title laravel 6.0
am trying to save items of an array to db am getting the error above
Am fetching the array from the omdb api using the function index
public function index()
{
$client = new Client();
$uri =…

kadzo kanene
- 65
- 7
0
votes
0 answers
Only Render Unique Items in FlatList
I'm developing a search engine for movies and am using the OMDB API to fetch data. Unfortunately, the API is returning duplicate searches as mentioned here: https://github.com/Omertron/api-omdb/issues/16 and thus my search engine is also returning…

Ali
- 484
- 3
- 5
- 16
0
votes
0 answers
How to display the images (using posters from OMDb API) using html and only JavaScript in grid inside a for loop?
I have been trying to display the trying to print the posters using foreach() loop, It displays only in the single column, use of class is not giving correct output instead it is making column inside one another because of the loop, how can I…

gamer
- 11
- 1
0
votes
1 answer
Using OMDB API in R
I am trying to use OMBP API in R but not able to use it properly
devtools::install_github("hrbrmstr/omdbapi")
library(dplyr)
library(pbapply)
search_by_title("Captain America")
Result:
Error in search_by_title("Captain America") :
could not…

Sai Kiran
- 3
- 1
0
votes
2 answers
how to connect ombd api using php script
i have created a search option for a site to get movie details using mysql database BUT i want to connect them using the omdb api but i cant figure out please help me with this
this is my db connection using mysql database…

NAND
- 130
- 9
0
votes
1 answer
Unable to retrieve json from Omdb API and incorporate it into my movie class showing "null" for all parameters inside the object
I started a new application which utilizes the Omdb API to retrieve movie information. the goal of the application is to retrieve a movie title using a search keyword. ex: "shawshank" should return :
{"Search":[{"Title":"The Shawshank…

Ammar Ahmad
- 41
- 9
-1
votes
1 answer
TypeError: Cannot read property 'map' of null Reactjs
Link to the TypeError Screenshot
The App was working fine yesterday.
I deleted the project and cloned from Github.com. Still it won't work.
Here's the link to the code:
Link to the Github Project
import React from 'react';
function…

spreet
- 23
- 4