Google近日推出Mobile-Friendly 測試工具的Api (應用程序接口Application Programming Interface),有了API, Developer 可以自已建立自己喜歡的界面工具以測試網站是否合符手機觀看(Mobile-Friendly)。
Google’s 工作的John Mueller說, “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.”
這個API 會有3個反饋狀態
- MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED Internal error when running this test. Please try running the test again.
- MOBILE_FRIENDLY The page is mobile friendly.
- NOT_MOBILE_FRIENDLY The page is not mobile friendly.
今天你可在這裡取得 API Access developers.google.com/webmaster-tools/search-console-api.