How I can get information from this API https://trefle.io/reference without having the plant id from the start? Like looking a plant up by its common or scientific name.
Look at the plants endpoint.
Thank you for the help.
My knowledge of APIs is limited to the small section in freecodecamp, I might need to have a look at a broader article.
For instance, I now see that I can add that to the path along with the other query parameters, but I do not know what an endpoint is nor query parameters.
I’ll research a bit more before going forward.
The endpoint is basically just the base URL + route.
Here is some more info for Express at least.
Basic Node and Express - Get Query Parameter Input from the Client
Just found out that freeCodeCamp actually has an amazing video on youtube about APIs!
For anyone that stubles across this post.