|Google Introducing the Mobile-Friendly Test API|
Tuesday, January 31, 2017 at Webmaster Central Blog Google Introduced the Mobile-Friendly Test API. As You already know that from last year, Google is pushing to promote and reward mobile-friendly websites continues today with the news that it’s opening up its mobile-friendly test tool to developers via an application programming interface (API).
Google first launched the tool back in 2014 as an easy way to help businesses, bloggers, and developers figure out whether their website fit Google’s “mobile friendly” criteria. These include whether the site avoids software such as Flash, uses text that can be easily read on a small screen, and has content that adapts to suit a screen without requiring the user to “scroll” horizontally or zoom. With the mobile-friendly test tool, all you need to do is plug your web address into the search box, and Google will tell you if it passes the Google’s “mobile friendly” criteria.
Google’s John Mueller Wrote,
"With so many users on mobile devices, having a mobile-friendly web is important to us all. The Mobile-Friendly Test is a great way to check individual pages manually. We're happy to announce that this test is now available via API as well.
The Mobile-Friendly Test API lets you test URLs using automated tools. For example, you could use it to monitor important pages in your website in order to prevent accidental regressions in templates that you use. The API method runs all tests, and returns the same information - including a list of the blocked URLs - as the manual test. The documentation includes simple samples to help get you started quickly.
We hope this API makes it easier to check your pages for mobile-friendliness and to get any such issues resolved faster. We'd love to hear how you use the API -- leave us a comment here, and feel free to link to any code or implementation that you've set up! As always, if you have any questions, feel free to drop by our webmaster help forum."The testing tool is a useful way to manually check whether a specific Website or URL plays nice with mobile phones, but by introducing an API, Google is enabling webmasters and developers to integrate the tool with automated software. So, for example, this could be used to automatically track specific pages on a website to avert accidental changes that make a page not-so-suitable for small screens.
The API launch fits in with Google’s broader push to treat websites that have been built with mobile users in mind more favorably. Last year, the search giant revealed it would begin ranking “mobile-friendly” sites even higher in their organic search results, though it had been labeling sites as mobile-friendly for some time already. And back in November, Google announced it would “eventually” switch to using the mobile versions of websites, rather than desktop versions, in search result rankings.