Get your public IP
Using the ipify
API by Rdegges
You can install the R ipify
package using devtools:
library(devtools) install_github("gregce/ipify")
You can see the package in action at http://gregce.github.io/ipify/
library(ipify) get_ip() get_ip(format="json") get_ip(format="jsonp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.