I was excited about museums’ API that are available online and initially wanted to work with MoMA’s artists database. However, I have encountered many issues loading it into p5 (it’s forever loading on the screen) since it is such a large file. I ended up working with this herbs and spices data I found on Github via https://github.com/dariusk/corpora/blob/master/data/foods/herbs_n_spices.json
Here are the original codes I wrote for MoMA’s artists data that I couldn’t yet get it work. The initial file has the entire data in an array which might be the issue that it wasn’t working in the beginning. I removed the array bracket and successfully had “loading” text on the screen yet as I said earlier, it just remains “loading” forever. Hopefully, I will be able to resolve that this week!