I called on an API to act as a random name generator if someone chose not to enter their name despite being prompted twice. Here are a few things I had trouble with:

  • The API for boy names and girl names were separate, so I randomly jump between them
  • Had trouble with the formatting too - managed to get it presentable with string slicing
  • Made a careless mistake with the response.content line - felt a bit foolish, but am glad that I caught it before further harm was done

Here's the link to the API used: Names - DryCodes

Built With

Share this project:

Updates