### Client Side App ![](https://media.giphy.com/media/l41lHvfYqxWus1oYw/giphy.gif) Nafisa & Safia --- The goal is to build an interactive game-like thing that uses data from an API. <!-- Co-authored-by: fi-ya <safiaali@hotmail.com> Co-authored-by: Nafisa Axmed <nafisa@Nafisas-MacBook-Air.local> --> --- ### Criteria Accept some user input (e.g. a username) :+1: Query an API (e.g. the Github API, or any other fun one) :+1: Populate the UI with API data :+1: Have some form of persistent state and interactivity, e.g. :-1: ### Stretch criteria :negative_squared_cross_mark: Save your state to localstorage so you can leave the page and come back later Make it look great --- ### Ideas - Charmed theme game - couldnt find api - imbd movies --- ### user journey - user inserts a year - use that year to query IMBd API - Populate UI with data, two movie posters, buttons with movie names - user chooses which movie by clicking on button - if right , score increases --- ### Kanban ![](https://i.imgur.com/Xr824r5.png) --- ### Day 1 11:15 - 11:45 Brain storm/api 12:00- 12:40 Setup ( vite, linting, deploy netlify) 2:00-4:30 - API issues --- Some of the API's we came across - https://developers.themoviedb.org/3/getting-started/introduction - https://rapidapi.com/apidojo/api/imdb8 - https://rapidapi.com/amrelrafie/api/movies-tvshows-data-imdb - http://www.ingredientpairings.com/ - https://developer.marvel.com/ - https://developers.giphy.com/docs/api/endpoint#trending -https://docs.github.com/en/rest - https://developers.google.com/apis-explorer --- ### Day 2 10:30-11:00 Pastoral Walks 11:00 - 1:00 Dealing with API issues --- ### First API - search by genre (day1) ![](https://i.imgur.com/Pj3ENBM.png) ![](https://i.imgur.com/xkwduIn.png) --- ### Second API - search by year (day2) ![](https://i.imgur.com/647Nqxp.png) IMDb API ```javascript= {"imDbId":"tt1375666","title":"Inception","fullTitle":"Inception (2010)","type":"Movie","year":"2010","imDb":"8.8","metacritic":"74","theMovieDb":"8.3","rottenTomatoes":"","tV_com":"8.8","filmAffinity":"8.0","errorMessage":""} ``` --- ![](https://i.imgur.com/BvyJrJS.png) --- ![](https://i.imgur.com/ld4fUXi.png) --- ### Used Postman ![](https://i.imgur.com/BElr15L.png) --- ![](https://i.imgur.com/XeP60O4.png) --- Today... is another day. ![](https://i.imgur.com/Rg07CBb.png) --- Learnings/what we'd do differently: - triple check the api limits - use an api we know works e.g. Github api - time management e.g. when to move on --- Thanks for listening! ![](https://media.giphy.com/media/U4LJYD0Lu2zg7CNmjX/giphy.gif) ---
{"metaMigratedAt":"2023-06-16T00:17:50.087Z","metaMigratedFrom":"Content","title":"Untitled","breaks":true,"contributors":"[{\"id\":\"8ae3f25f-b046-4e5b-94bc-db4f1ae89202\",\"add\":3288,\"del\":875},{\"id\":\"12ba2d80-f158-4148-9ff5-c50f626d4b40\",\"add\":250,\"del\":25}]"}
    211 views