2023. 10. 19. 09:55ㆍJavascript Node.js/Project: Personal
We start the personal project.
Now I say the point of the matter.
matter:
First point: Using JS syntax makes the search web page of the movie.
Second point: The Open API in the film information uses TMDB(The Movie DB).
What is Open API?
I think the property kind of API has some data like a movie list and something etc.
The image URL of the property in the Open API is composed of the base URL, file size, and file path.
How to grab the film image from the Open API?
The document says if you want to get some best compatibility film images you are requested PNG files in the Open API.
So, I called in Open API in the TMDB.
I checked the element by console.log();
The elements at Open API I focused on the fetch.
The elements expected have the film_id and backdrop_path etc.
The study resulting from the OPEN API is not useful on Node js.
So, I shared it with a member of the team.
He said It was difficult to approach the properties.
if you can change the syntax of the OPEN API to async await syntax is possible.
I got a hint!
It is basic async await syntax.
And mix of elements and studies from searching on the web page.
Should be powerful !!
(be hard)
continue...
'Javascript Node.js > Project: Personal' 카테고리의 다른 글
Reconstitution: change HTML (0) | 2023.10.31 |
---|---|
Code review: session 2 (0) | 2023.10.28 |
Code review: session 1 (0) | 2023.10.23 |