You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run the script but it always gets a 404 warning during the API request.
while trycounter < 10:
try:
r = requests.post('http://resolver.globalnames.org/name_resolvers.json',
json = {'names':full_name, #searching for genus + species first to avoid homonyms
'best_match_only':'false'})
break
except ConnectionError as err:
trycounter += 1
sys.stderr.write(err + '\n' + 'Trying again')
else:
'More than 10 failed connection attempts, skipping.'
return None
Any ideas if it is still usable?
The text was updated successfully, but these errors were encountered:
Hi. We have not used this script in a while. I have not kept up with the global names API. You might get some clues at https://resolver.globalnames.org/api about how to fix this.
HEy,
I try to run the script but it always gets a 404 warning during the API request.
Any ideas if it is still usable?
The text was updated successfully, but these errors were encountered: