Download IMDB-clone-react-redux/src/config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/IMDB-clone-react-redux/src/config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/IMDB-clone-react-redux/src/config.js
-
curl -L -o config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/IMDB-clone-react-redux/src/config.js
695 Bytes
| // Configuration for IMDB | |
| // To se the latest configuration fetch it from https://api.themoviedb.org/3/configuration?api_key=019e8f375549e0bbd4a4191862ebc88f | |
| const API_URL = 'https://api.themoviedb.org/3/'; | |
| const API_KEY = '844dba0bfd8f3a4f3799f6130ef9e335'; | |
| // 019e8f375549e0bbd4a4191862ebc88f | |
| // Images | |
| // An image URL looks like this example: | |
| // http://image.tmdb.org/t/p/w780/bOGkgRGdhrBYJSLpXaxhXVstddV.jpg | |
| const IMAGE_BASE_URL ='http://image.tmdb.org/t/p/'; | |
| //Sizes: w300, w780, w1280, original | |
| const BACKDROP_SIZE = 'w1280' | |
| // w92, w154, w185, w342, w500, w780, original | |
| const POSTER_SIZE = 'w500' | |
| export { | |
| API_URL, | |
| API_KEY, | |
| IMAGE_BASE_URL, | |
| BACKDROP_SIZE, | |
| POSTER_SIZE | |
| } |