{"id":1487,"date":"2021-12-30T23:43:12","date_gmt":"2021-12-30T15:43:12","guid":{"rendered":"https:\/\/qishiya.com\/?p=1487"},"modified":"2021-12-30T23:43:33","modified_gmt":"2021-12-30T15:43:33","slug":"google-%e7%bf%bb%e8%af%91%e5%85%8d%e8%b4%b9-api","status":"publish","type":"post","link":"https:\/\/qishiya.com\/?p=1487","title":{"rendered":"Google \u7ffb\u8bd1\u514d\u8d39 API"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_61 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ff6200;color:#ff6200\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ff6200;color:#ff6200\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/qishiya.com\/?p=1487\/#Google_%E7%BF%BB%E8%AF%91%E5%85%8D%E8%B4%B9_API\" title=\"Google \u7ffb\u8bd1\u514d\u8d39 API\">Google \u7ffb\u8bd1\u514d\u8d39 API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/qishiya.com\/?p=1487\/#%E8%B0%83%E7%94%A8%E6%96%B9%E5%BC%8F%E4%B8%80\" title=\"\u8c03\u7528\u65b9\u5f0f\u4e00\">\u8c03\u7528\u65b9\u5f0f\u4e00<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/qishiya.com\/?p=1487\/#%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E\" title=\"\u53c2\u6570\u8bf4\u660e\">\u53c2\u6570\u8bf4\u660e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/qishiya.com\/?p=1487\/#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9\" title=\"\u6ce8\u610f\u4e8b\u9879\">\u6ce8\u610f\u4e8b\u9879<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/qishiya.com\/?p=1487\/#%E8%B0%83%E7%94%A8%E6%96%B9%E5%BC%8F%E4%BA%8C\" title=\"\u8c03\u7528\u65b9\u5f0f\u4e8c\">\u8c03\u7528\u65b9\u5f0f\u4e8c<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Google_%E7%BF%BB%E8%AF%91%E5%85%8D%E8%B4%B9_API\"><\/span>Google \u7ffb\u8bd1\u514d\u8d39 API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u6211\u4e00\u76f4\u8c03\u7528 google \u6536\u8d39\u7684 api\uff0c\u4f46\u662f 100 \u4e07\u5b57 \u9700\u8981 20 \u7f8e\u5143\uff0c\u5982\u679c\u662f\u4e07\u5b57\u957f\u6587\u7684\u8bdd\uff0c\u6bcf\u8c03\u7528\u4e00\u6b21\u63a5\u8fd1 3 \u5757\u94b1\uff0c\u81ea\u4ece\u6211\u7684\u7ffb\u8bd1\u4e0a\u7ebf\u6765\uff0c\u514d\u8d39\u989d\u5ea6\uff0850 \u4e07\u5b57\uff09\u5df2\u7ecf\u7528\u5b8c\u4e86\uff0c\u6709\u4e00\u4e2a\u7528\u6237\u4e00\u5929\u5c31\u7528\u4e86\u5dee\u4e0d\u591a 20 \u4e07\u5b57\u548c\u989d\u5ea6\uff0c\u4eca\u5929\u770b\u5230\u6709\u4eba\u8c03\u7528 google \u7ffb\u8bd1\u7684\u514d\u8d39 api\uff0c\u5927\u6982\u770b\u4e86\u4e00\u4e0b\uff0c\u786e\u5b9e\u80fd\u7528\uff0c\u4e0d\u8fc7\u7528\u8d77\u6765\u4e0d\u662f\u7279\u522b\u65b9\u4fbf\uff0c\u597d\u50cf\u662f\u57fa\u4e8e\u53e5\u5b50\u7684\uff0c\u4e0d\u80fd\u4e00\u6b21\u628a\u6574\u4e2a\u6587\u6863\u7ed9\u4ed6\uff0c\u4f46\u662f\u6211\u60f3\u7a0d\u52a0\u4fee\u6539\uff0c\u4e5f\u591f\u7528\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%B0%83%E7%94%A8%E6%96%B9%E5%BC%8F%E4%B8%80\"><\/span>\u8c03\u7528\u65b9\u5f0f\u4e00<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8bf7\u6c42\u5c31\u53ef\u4ee5\uff0c\u8fd4\u56de\u7684\u662f\u4e00\u4e2a json \uff0c\u683c\u5f0f\u5982\u4e0b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    https:\/\/clients5.google.com\/translate_a\/t?client=dict-chrome-ex&amp;sl=auto&amp;tl=zh-cn&amp;q=To help, we\u2019ve got all the best trying-to-conceive tips right here. Read on for the scoop on everything you need to know about how to get pregnant, from your odds of conceiving to what you can do to have a healthier pregnancy right from the start. Happy baby-making!<\/code><\/pre>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tutu-1252436247.cos.ap-beijing.myqcloud.com\/2021\/12\/20211230vMgb49.png\" alt=\"20211230vMgb49\" width=\"1208\" height=\"598\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E\"><\/span>\u53c2\u6570\u8bf4\u660e<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>clinet \u4e3a\u5fc5\u586b\u53c2\u6570\uff0c\u503c\u4e3a dict-chrome-ex<\/li><li>sl \u4e3a\u5fc5\u586b\u53c2\u6570\uff0c\u503c\u4e3a auto\uff0c\u8868\u793a\u81ea\u52a8\u68c0\u6d4b\u8bed\u8a00<\/li><li>tl \u4e3a\u5fc5\u586b\u53c2\u6570\uff0c\u503c\u4e3a zh-cn\uff0c\u8868\u793a\u7ffb\u8bd1\u6210\u4e2d\u6587<\/li><li>q \u4e3a\u5fc5\u586b\u53c2\u6570\uff0c\u503c\u4e3a\u4f60\u8981\u7ffb\u8bd1\u7684\u5185\u5bb9\u3002<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9\"><\/span>\u6ce8\u610f\u4e8b\u9879<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>\u4ed6\u4f1a\u81ea\u52a8\u5207\u5206\u53e5\u5b50\uff0c\u5982\u679c\u662f\u4e00\u6bb5\u5f88\u957f\u7684\u5185\u5bb9\uff0c\u4ed6\u4f1a\u5207\u5408\u6210\u4e00\u4e2a\u53e5\u5b50\u7684\u6570\u7ec4\uff0c\u7136\u540e\u8fd4\u56de\u3002<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%B0%83%E7%94%A8%E6%96%B9%E5%BC%8F%E4%BA%8C\"><\/span>\u8c03\u7528\u65b9\u5f0f\u4e8c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;translate.googleapis.com\/translate_a\/single?client=gtx&amp;sl=auto&amp;tl=zh-CN&amp;dj=1&amp;dt=t&amp;dt=bd&amp;dt=qc&amp;dt=rm&amp;dt=ex&amp;dt=at&amp;dt=ss&amp;dt=rw&amp;dt=ld&amp;q=The%20last%20step%20for%20the%20popup%20UI%20is%20adding%20color%20to%20the%20button&amp;tk=233819.233819<\/code><\/pre>\n\n\n\n<p>\u8fd9\u51e0\u4e2a\u53c2\u6570\u8fd8\u6ca1\u6709\u5f04\u660e\u767d\uff0c\u53ea\u662f\u521d\u770b\u4e86\u4e00\u4e0b\uff0cgithub\u4e0a\u9762\u6709\u5f88\u591a\u4eba\u5728\u8ba8\u8bba\u8fd9\u4e2a api\uff0c<a href=\"https:\/\/github.com\/ssut\/py-googletrans\/issues\/268\"> Found a Google Translate endpoint that doesn&#8217;t require an API key<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google \u7ffb\u8bd1\u514d\u8d39 API \u6211\u4e00\u76f4\u8c03\u7528 google \u6536\u8d39\u7684 api\uff0c\u4f46\u662f 100 \u4e07\u5b57 \u9700\u8981 20 \u7f8e\u5143\uff0c\u5982\u679c\u662f\u4e07\u5b57\u957f\u6587\u7684\u8bdd\uff0c\u6bcf\u8c03\u7528\u4e00\u6b21\u63a5\u8fd1 3 \u5757\u94b1\uff0c\u81ea\u4ece\u6211\u7684\u7ffb\u8bd1\u4e0a\u7ebf\u6765\uff0c\u514d\u8d39\u989d\u5ea6\uff0850 \u4e07\u5b57\uff09\u5df2\u7ecf\u7528\u5b8c\u4e86\uff0c\u6709\u4e00\u4e2a\u7528\u6237\u4e00\u5929\u5c31\u7528\u4e86\u5dee\u4e0d\u591a  &#8230; <a title=\"Google \u7ffb\u8bd1\u514d\u8d39 API\" class=\"read-more\" href=\"https:\/\/qishiya.com\/?p=1487\" aria-label=\"\u66f4\u591a Google \u7ffb\u8bd1\u514d\u8d39 API\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"templates\/template-full-width.php","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[],"class_list":["post-1487","post","type-post","status-publish","format-standard","hentry","category-google"],"_links":{"self":[{"href":"https:\/\/qishiya.com\/index.php?rest_route=\/wp\/v2\/posts\/1487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qishiya.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qishiya.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qishiya.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qishiya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1487"}],"version-history":[{"count":0,"href":"https:\/\/qishiya.com\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions"}],"wp:attachment":[{"href":"https:\/\/qishiya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qishiya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qishiya.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}