The point of this commit is to save traffic when building the Garden Gnome Society report. Instead of making hundreds of requests to compile three lists and pick a Plant of the Day I can make four requests and have it all.
I realise that this risks deprecating the Garden Gnome Society if links to these endpoints would be given on the AstroBotany starting page, but as long as people enjoy the game I don't really see a problem with that. I haven't included any links to these endpoints, however, as I wanted to leave it up to you whether that should exist or nor.
It strikes me just now that we could just modify the template and view for the /app/visit endpoint to list all plants divided into these categories. Maybe that's preferred? That would definitely deprecate the Garden Gnome Society, though :D
The point of this commit is to save traffic when building the Garden Gnome Society report. Instead of making hundreds of requests to compile three lists and pick a Plant of the Day I can make four requests and have it all.
I realise that this risks deprecating the Garden Gnome Society if links to these endpoints would be given on the AstroBotany starting page, but as long as people enjoy the game I don't really see a problem with that. I haven't included any links to these endpoints, however, as I wanted to leave it up to you whether that should exist or nor.
It strikes me just now that we could just modify the template and view for the /app/visit endpoint to list all plants divided into these categories. Maybe that's preferred? That would definitely deprecate the Garden Gnome Society, though :D