View source: R/mobileFriendly.R
mobileFriendly | R Documentation |
This function allows you to retrive Data from Googles Mobile Friendly Test API. The Function retrives the data for a given Url. The API provides you a TRUE for "is mobile friendly" and FALSE for "is not mobile friendly"
mobileFriendly(domain, APIToken = "AIzaSyC1gUZEsqk-nny6f3KnJyTKuy30O6fpGCw")
domain |
The Url you want to perform the test for. |
APIToken |
Your API Token for this Google Project. Please use your own token if you perform a lot of calls. mobileFriendly() |
## Not run: mobileFriendly("https://www.r-project.org/") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.