{"id":31676,"date":"2026-12-02T22:07:07","date_gmt":"2026-12-02T22:07:07","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=31676"},"modified":"2026-12-02T22:07:07","modified_gmt":"2026-12-02T22:07:07","slug":"google-suggest-api-paython-code-example","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/google-suggest-api-paython-code-example\/","title":{"rendered":"Google Suggest API Paython Code Example"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This page shows how to fetch Google autocomplete (Google Suggest) suggestions for a search term from Python. The embedded script above is written for Python 2 and fails on Python 3. Below it you&#039;ll find a corrected Python 3 version, a JSON variant that needs no XML parser, details on the request parameters, and fixes for the errors people usually run into.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/13f9e9d9b327088a719301724c0e4c29.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What the example above does<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google&#039;s search box calls an autocomplete endpoint as you type. The script above calls that endpoint directly. It sends the query to <code>http:\/\/www.google.com\/complete\/search<\/code> with <code>output=toolbar<\/code>, which returns a small XML document. It then reads the <code>data<\/code> attribute of every <code>&lt;suggestion&gt;<\/code> element and prints one suggestion per line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The XML response has roughly this shape:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\"><span class=\"hljs-meta\">&lt;?xml version=\"1.0\"?&gt;<\/span>\n<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">toplevel<\/span>&gt;<\/span>\n  <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">CompleteSuggestion<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">suggestion<\/span> <span class=\"hljs-attr\">data<\/span>=<span class=\"hljs-string\">\"devops engineer\"<\/span>\/&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">CompleteSuggestion<\/span>&gt;<\/span>\n  <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">CompleteSuggestion<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">suggestion<\/span> <span class=\"hljs-attr\">data<\/span>=<span class=\"hljs-string\">\"devops tools\"<\/span>\/&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">CompleteSuggestion<\/span>&gt;<\/span>\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">toplevel<\/span>&gt;<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Google doesn&#039;t publish or support this endpoint as a public API. It has no documentation, no API key and no guaranteed format, and Google can change or restrict it at any time. Use it for small experiments and keyword research, not as a dependency of production systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Problems in the original script<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>unicode(args.query, sys.stdout.encoding)<\/code> only works in Python 2. Python 3 raises <code>NameError: name &#039;unicode&#039; is not defined<\/code>. In Python 3, command-line arguments are already <code>str<\/code>, so you don&#039;t need to convert them.<\/li>\n\n\n<li><code>nargs=&#039;?&#039;<\/code> makes the query optional. If you run the script without an argument, <code>args.query<\/code> is <code>None<\/code> and the script crashes instead of printing a usage message.<\/li>\n\n\n<li><code>hl=&#039;ja&#039;<\/code> is hard-coded, so suggestions are always requested in Japanese.<\/li>\n\n\n<li>It uses plain <code>http:\/\/<\/code> instead of <code>https:\/\/<\/code>.<\/li>\n\n\n<li><code>etree.XML(r.text)<\/code> passes a decoded string to lxml. If the response includes an XML encoding declaration, lxml raises <code>ValueError: Unicode strings with encoding declaration are not supported<\/code>. Passing the raw bytes (<code>r.content<\/code>) avoids this.<\/li>\n\n\n<li>There&#039;s no timeout and no HTTP status check. A hung connection blocks the script forever, and an error page fails later with a confusing parser error.<\/li>\n\n\n<li><code>pprint<\/code> is imported but never used.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python 3 (any currently supported release).<\/li>\n\n\n<li>The <code>requests<\/code> library. Install <code>lxml<\/code> only if you use the XML variant.<\/li>\n\n\n<li>Outbound HTTPS access to Google from the machine running the script.<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">python3 -m venv venv\nsource venv\/bin\/activate\npip install requests lxml<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Corrected Python 3 version using the JSON endpoint<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The JSON variant uses <code>suggestqueries.google.com<\/code> with <code>client=firefox<\/code> and doesn&#039;t need lxml. The response is a JSON array. The first element echoes the query, and the second is the list of suggestions, for example <code>[&quot;devops&quot;, [&quot;devops&quot;, &quot;devops engineer&quot;, &quot;devops tools&quot;]]<\/code>.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\">#!\/usr\/bin\/env python3<\/span>\n<span class=\"hljs-string\">\"\"<\/span><span class=\"hljs-string\">\"Print Google autocomplete suggestions for a query.\"<\/span><span class=\"hljs-string\">\"\"<\/span>\nimport argparse\nimport json\nimport sys\n\nimport requests\n\nSUGGEST_URL = <span class=\"hljs-string\">\"https:\/\/suggestqueries.google.com\/complete\/search\"<\/span>\n\n\ndef get_suggestions(query, lang=<span class=\"hljs-string\">\"en\"<\/span>, country=None, timeout=<span class=\"hljs-number\">10<\/span>):\n    params = {\n        <span class=\"hljs-string\">\"client\"<\/span>: <span class=\"hljs-string\">\"firefox\"<\/span>,  <span class=\"hljs-comment\"># selects the simple JSON response format<\/span>\n        <span class=\"hljs-string\">\"q\"<\/span>: query,\n        <span class=\"hljs-string\">\"hl\"<\/span>: lang,            <span class=\"hljs-comment\"># interface language, e.g. en, ja, de<\/span>\n        <span class=\"hljs-string\">\"ie\"<\/span>: <span class=\"hljs-string\">\"utf-8\"<\/span>,         <span class=\"hljs-comment\"># input encoding<\/span>\n        <span class=\"hljs-string\">\"oe\"<\/span>: <span class=\"hljs-string\">\"utf-8\"<\/span>,         <span class=\"hljs-comment\"># output encoding<\/span>\n    }\n    <span class=\"hljs-keyword\">if<\/span> country:\n        params&#91;<span class=\"hljs-string\">\"gl\"<\/span>] = country  <span class=\"hljs-comment\"># country bias, e.g. us, in, jp<\/span>\n\n    headers = {<span class=\"hljs-string\">\"User-Agent\"<\/span>: <span class=\"hljs-string\">\"Mozilla\/5.0 (suggest-example)\"<\/span>}\n    resp = requests.get(SUGGEST_URL, params=params, headers=headers, timeout=timeout)\n    resp.raise_for_status()\n\n    <span class=\"hljs-comment\"># Decode explicitly as UTF-8 (we requested oe=utf-8) to avoid mojibake<\/span>\n    data = json.loads(resp.content.decode(<span class=\"hljs-string\">\"utf-8\"<\/span>))\n    <span class=\"hljs-keyword\">return<\/span> data&#91;<span class=\"hljs-number\">1<\/span>] <span class=\"hljs-keyword\">if<\/span> len(data) &gt; <span class=\"hljs-number\">1<\/span> <span class=\"hljs-keyword\">else<\/span> &#91;]\n\n\ndef main():\n    parser = argparse.ArgumentParser(description=<span class=\"hljs-string\">\"Google autocomplete suggestions\"<\/span>)\n    parser.add_argument(<span class=\"hljs-string\">\"query\"<\/span>, help=<span class=\"hljs-string\">\"search text to complete\"<\/span>)\n    parser.add_argument(<span class=\"hljs-string\">\"--lang\"<\/span>, <span class=\"hljs-keyword\">default<\/span>=<span class=\"hljs-string\">\"en\"<\/span>, help=<span class=\"hljs-string\">\"language code (default: en)\"<\/span>)\n    parser.add_argument(<span class=\"hljs-string\">\"--country\"<\/span>, help=<span class=\"hljs-string\">\"optional country code, e.g. us or in\"<\/span>)\n    args = parser.parse_args()\n\n    <span class=\"hljs-keyword\">try<\/span>:\n        suggestions = get_suggestions(args.query, args.lang, args.country)\n    except (requests.RequestException, ValueError) <span class=\"hljs-keyword\">as<\/span> exc:\n        sys.<span class=\"hljs-keyword\">exit<\/span>(f<span class=\"hljs-string\">\"Failed to fetch suggestions: {exc}\"<\/span>)\n\n    <span class=\"hljs-keyword\">for<\/span> s in suggestions:\n        <span class=\"hljs-keyword\">print<\/span>(s)\n\n\n<span class=\"hljs-keyword\">if<\/span> __name__ == <span class=\"hljs-string\">\"__main__\"<\/span>:\n    main()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Run it with a query. Put multi-word queries in quotes:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">python3 google_suggest.py <span class=\"hljs-string\">\"devops\"<\/span>\npython3 google_suggest.py <span class=\"hljs-string\">\"kubernetes\"<\/span> --lang en --country <span class=\"hljs-keyword\">in<\/span>\npython3 google_suggest.py <span class=\"hljs-string\">\"\u30c9\u30c3\u30ab\u30fc\"<\/span> --lang ja<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">You get one suggestion per line. The output looks similar to the lines below, but the exact list changes over time and depends on language, country and Google&#039;s own ranking:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">devops\ndevops engineer\ndevops tools\ndevops roadmap\ndevops engineer salary<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Corrected XML variant (closest to the original)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to keep the <code>output=toolbar<\/code> XML format from the example above, here is the corrected parsing code. It uses HTTPS, sets a timeout, checks the status, and passes bytes to lxml so encoding declarations don&#039;t cause problems.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\">#!\/usr\/bin\/env python3<\/span>\nimport argparse\n\nimport requests\nfrom lxml import etree\n\n\ndef main():\n    parser = argparse.ArgumentParser()\n    parser.add_argument(<span class=\"hljs-string\">\"query\"<\/span>, help=<span class=\"hljs-string\">\"query string\"<\/span>)\n    parser.add_argument(<span class=\"hljs-string\">\"--lang\"<\/span>, <span class=\"hljs-keyword\">default<\/span>=<span class=\"hljs-string\">\"en\"<\/span>)\n    args = parser.parse_args()\n\n    r = requests.get(\n        <span class=\"hljs-string\">\"https:\/\/www.google.com\/complete\/search\"<\/span>,\n        params={<span class=\"hljs-string\">\"q\"<\/span>: args.query, <span class=\"hljs-string\">\"hl\"<\/span>: args.lang, <span class=\"hljs-string\">\"ie\"<\/span>: <span class=\"hljs-string\">\"utf-8\"<\/span>,\n                <span class=\"hljs-string\">\"oe\"<\/span>: <span class=\"hljs-string\">\"utf-8\"<\/span>, <span class=\"hljs-string\">\"output\"<\/span>: <span class=\"hljs-string\">\"toolbar\"<\/span>},\n        timeout=<span class=\"hljs-number\">10<\/span>,\n    )\n    r.raise_for_status()\n\n    root = etree.fromstring(r.content)  <span class=\"hljs-comment\"># bytes, not r.text<\/span>\n    <span class=\"hljs-keyword\">for<\/span> s in root.iter(<span class=\"hljs-string\">\"suggestion\"<\/span>):\n        <span class=\"hljs-keyword\">print<\/span>(s.get(<span class=\"hljs-string\">\"data\"<\/span>))\n\n\n<span class=\"hljs-keyword\">if<\/span> __name__ == <span class=\"hljs-string\">\"__main__\"<\/span>:\n    main()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Request parameters explained<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Purpose<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td><code>q<\/code><\/td><td>The partial search text to complete<\/td><td><code>devops<\/code><\/td><\/tr><tr><td><code>client<\/code><\/td><td>Chooses the response format on <code>suggestqueries.google.com<\/code>. <code>firefox<\/code> returns a plain JSON array<\/td><td><code>firefox<\/code><\/td><\/tr><tr><td><code>output<\/code><\/td><td>Chooses the response format on <code>www.google.com\/complete\/search<\/code>. <code>toolbar<\/code> returns XML<\/td><td><code>toolbar<\/code><\/td><\/tr><tr><td><code>hl<\/code><\/td><td>Language of the suggestions<\/td><td><code>en<\/code>, <code>ja<\/code>, <code>de<\/code><\/td><\/tr><tr><td><code>gl<\/code><\/td><td>Country used to bias results<\/td><td><code>us<\/code>, <code>in<\/code>, <code>gb<\/code><\/td><\/tr><tr><td><code>ie<\/code> \/ <code>oe<\/code><\/td><td>Input and output character encoding<\/td><td><code>utf-8<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Error<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td><code>NameError: name &#039;unicode&#039; is not defined<\/code><\/td><td>You ran the Python 2 script on Python 3<\/td><td>Use the corrected script and remove the <code>unicode()<\/code> call<\/td><\/tr><tr><td><code>TypeError<\/code> when no query is given<\/td><td><code>nargs=&#039;?&#039;<\/code> lets <code>query<\/code> be <code>None<\/code><\/td><td>Make the argument required, as in the corrected version<\/td><\/tr><tr><td><code>ModuleNotFoundError: No module named &#039;lxml&#039;<\/code><\/td><td>The dependency isn&#039;t installed in the active environment<\/td><td><code>pip install lxml<\/code>, or use the JSON variant<\/td><\/tr><tr><td><code>ValueError: Unicode strings with encoding declaration are not supported<\/code><\/td><td>A <code>str<\/code> containing an XML declaration was passed to lxml<\/td><td>Pass <code>r.content<\/code> (bytes) to <code>etree.fromstring<\/code><\/td><\/tr><tr><td><code>XMLSyntaxError<\/code> or <code>JSONDecodeError<\/code><\/td><td>Google returned an HTML page (consent page, block page or error) instead of suggestions<\/td><td>Print <code>r.status_code<\/code> and the first part of <code>r.text<\/code> to see what came back, then slow down or change networks<\/td><\/tr><tr><td>HTTP 429 or 403<\/td><td>Too many requests in a short time<\/td><td>Add delays between requests and cache the results<\/td><\/tr><tr><td>Garbled non-English characters<\/td><td>The response was decoded with the wrong charset<\/td><td>Send <code>oe=utf-8<\/code> and decode the bytes as UTF-8<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Collecting suggestions for keyword research<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A common use is to expand a seed keyword by adding each letter of the alphabet and collecting the unique suggestions. The loop below reuses <code>get_suggestions()<\/code> from the JSON version and pauses between calls so it doesn&#039;t hammer the endpoint.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">import string\nimport time\n\nseed = <span class=\"hljs-string\">\"devops\"<\/span>\nresults = set()\n<span class=\"hljs-keyword\">for<\/span> letter in string.ascii_lowercase:\n    <span class=\"hljs-keyword\">for<\/span> s in get_suggestions(f<span class=\"hljs-string\">\"{seed} {letter}\"<\/span>):\n        results.add(s)\n    time.sleep(<span class=\"hljs-number\">1<\/span>)  <span class=\"hljs-comment\"># be polite; avoid triggering throttling<\/span>\n\n<span class=\"hljs-keyword\">for<\/span> s in sorted(results):\n    <span class=\"hljs-keyword\">print<\/span>(s)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Keep the request volume low and respect Google&#039;s Terms of Service. For large-scale or commercial keyword data, use an officially supported data source rather than this undocumented endpoint.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Does Google have an official autocomplete API?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google doesn&#039;t offer the suggest endpoint as a documented, supported public API. The URLs used here are the ones its search box calls, so their format and availability can change without notice.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need an API key to use Google Suggest?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. The endpoint takes a plain HTTP GET request with no authentication. It can throttle or block clients that send too many requests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I get suggestions in another language or for another country?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set the <code>hl<\/code> parameter to a language code such as <code>ja<\/code> or <code>de<\/code>, and optionally set <code>gl<\/code> to a country code such as <code>in<\/code> or <code>us<\/code>. In the corrected script, use the <code>--lang<\/code> and <code>--country<\/code> options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does the original script fail with NameError: unicode?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>unicode()<\/code> is a Python 2 built-in that Python 3 removed. In Python 3, command-line arguments are already Unicode strings, so you can drop the conversion.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I use the JSON or the XML endpoint?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The JSON endpoint (<code>suggestqueries.google.com<\/code> with <code>client=firefox<\/code>) is simpler because it needs only <code>requests<\/code> and the standard <code>json<\/code> module. Use the XML <code>output=toolbar<\/code> format only if existing code already depends on it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/programming\/\">More Programming &amp; Development tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/huge-collection-of-web-reference-for-patterns-of-scalable-reliable-and-performant-large-scale-systems\/\">Huge collection of web reference for Patterns of Scalable, Reliable, and Performant Large-Scale Systems<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This page shows how to fetch Google autocomplete (Google Suggest) suggestions for a search term from Python. The embedded script above is written for Python 2 and&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[26151],"tags":[],"class_list":["post-31676","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=31676"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31676\/revisions"}],"predecessor-version":[{"id":80555,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31676\/revisions\/80555"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=31676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=31676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=31676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}