#help for carhub project car-image api key
29 messages · Page 1 of 1 (latest)
ok I'll wait for you response
https://cdn.imagin.studio/getimage
in your generateCarImageUrl function
this should be your URL
mine looks like this
The url you provided is for fetching the data from the api, but I'm asking how do i get my own api key, as its asking for business email on signup and its no longer free.
I didn't found any dummy key tho
Get detailed data on tens of thousands of vehicle models from dozens of automakers. See more info at https://api-ninjas.com/api/cars.
My mistake.
You should be able to find your api key on the api website
I was got successful to render the car images from api onto card component, but when i callled generateCarImageUrl() function into carDetails Image component i got this dummy image, into the modal, my code ss attached alongside.
yep
thats what it's suppoed to look like
good job! 🙂
thats exactly how mine looks like
any fixes for displaying car image into carDetails modal?
its an issue, see, the cars are displayed into card section, but same function not been able to display the car image into modal section, instead displayin dummy car image
fixed, it was process.ENV.API_KEY problem 👍
glad you were able to solve it! all you needed was time to figure it out 🙂