I cant seem to get or find information on finding my routers public IP? Is this because it cant be done this way and would have to get it from a website?
The IPIFY API is nice, as it can respond in raw text and JSON. It can also do callbacks etc. The only problem is that it responds in IPv4, not 6.