Closed mshd closed 4 years ago
Check the new created node if there is no images and fetch from Wikitree API
Before you code please check my previous commit, I already implemented a function in an extra file. Please change that function, and add the changes to processNode
https://api.wikitree.com/api.php?action=getProfile&key=Von_Amsberg-2 if Wikitree property is set and images is empty try to fetch a image from Wikitree using a nodeJS equivilant to
json_decode(file_get_contents("https://api.wikitree.com/api.php?".http_build_query($_GET)));