I have researched and found dozens of ways to determine the public IP on a standard Rasbian or UbuntuMate Distro. Because I am working in UbuntuCore I do not have access to any thing that I cannot install through the snap package installer. (background) I am creating a networked surveillance system for a class project but have some limitations due to the high security of the school/test network. I've narrowed my search to a package/tool to perform http get request though I'm not sure I'm looking in the correct direction
After a very specific search (netcat what is my ip) I found this post. My solution was the second answer:
echo 'GET /' | nc icanhazip.com 80 worked and gave me exactly what I was looking for... Hope someone else finds this useful!