Learn R Programming

seoR (version 0.1.0)

mobileFriendly: Function to retrieve Data from Googles Mobile Friendly Testing API

Description

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"

Usage

mobileFriendly(domain, APIToken = "AIzaSyC1gUZEsqk-nny6f3KnJyTKuy30O6fpGCw")

Arguments

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()

Examples

Run this code
# NOT RUN {
mobileFriendly("https://www.r-project.org/")
# }

Run the code above in your browser using DataLab