Open kendallm360 opened 1 year ago
search movie axios: ` import axios from 'axios'; const options = { method: 'GET', url: 'https://api.themoviedb.org/3/search/movie', params: {query: 'cb4', year: '1999'}, headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };
axios .request(options) .then(function (response) { console.log(response.data); }) .catch(function (error) { console.error(error); }); `
`const options = { method: 'GET', headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };
fetch('https://api.themoviedb.org/3/search/movie?query=cb4&year=1999', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));`
TRAILERS: THIS ENDPOINT const options = { method: 'GET', headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };
fetch('https://api.themoviedb.org/3/movie/24978/videos', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
WILL GIVE results.key="VvZjdok7cNE" which is the end https://www.youtube.com/watch?v=VvZjdok7cNE
MVP1 - ends 9jul23 MVP2 - will be the last sprint where I am most focused on this. MUST BE deployable by the end of this spriont MVP3 - will mostly be focused on sophia courses and applying UPDATE README table of contents
Mentionables: Although I am a junior I am familiar with.....
Features to mention:
Stretch: Tailwind - takeaway nice but more WET than I like. The time it saves it adds back when i have to make changes.
Approach:
Technologies:
useSWR for sessions GSM
Future:
Commands:
PINO: