{"id":26149,"date":"2016-03-07T21:01:43","date_gmt":"2016-03-07T13:01:43","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=26149"},"modified":"2017-11-23T19:35:33","modified_gmt":"2017-11-23T11:35:33","slug":"goodreads-ratings-api","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/","title":{"rendered":"How to Get Goodreads Ratings via API"},"content":{"rendered":"<p>For book lovers who have a liking for a specific genre, they will probably check out a friend\u2019s recommendation than  follow any bestseller list. This is why Amazon\u2019s <a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/\">Goodreads<\/a> is a bookmarked site for avid readers. It\u2019s a place where you can find an extensive database of books, recommendations and reviews by fellow book lovers.<\/p>\n<p>Goodreads also provides an API for developers to <strong>access its data and further personalize<\/strong> it as per our application. Today we\u2019ll see how to retrieve  Goodreads book ratings through the Goodreads API using the ISBN or International Standard Book Number, which  can later be used while displaying book information and such on your website.<\/p>\n<p>To begin, either login or <a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/user\/sign_up\">sign up<\/a> with a name, email id and password to Goodreads and go to <em>https:\/\/www.goodreads.com\/api\/keys <\/em>(<a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/api\/keys\">link<\/a>). Enter any application name and company name and generate your API key. Then verify your account through the email received in the email id you entered.<\/p>\n<p>Be sure to check out their <a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/api\/terms\">Developer Terms of Service<\/a> for the API. They also have a list of API methods in their <a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/api\">API page<\/a>, some of those methods will require <a target=\"_blank\" href=\"https:\/\/oauth.net\/\">OAuth authentication<\/a>, the rest will only <strong>need the developer key<\/strong>, like the one we\u2019ll look at in this post.<\/p>\n<p class=\"note\"><strong>Read more: <\/strong><a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/display-w3c-data-using-web-api\/\">How to Display W3C Specification data using its Web API<\/a><\/p>\n<p>The response type of those methods vary, it\u2019s either only in XML or JSON, or an option to chose between these two using the <code>format<\/code> parameter.<\/p>\n<p><code>book.review_counts<\/code> is a Goodreads API method that\u2019ll fetch all the review stats for a list of book ISBNs. Its reponse type is JSON. The request URL is like this: <a target=\"_blank\" href=\"https:\/\/www.goodreads.com\/book\/review_counts.json\" rel=\"nofollow\">https:\/\/www.goodreads.com\/book\/review_counts.json<\/a> .<\/p>\n<p>It takes four parameters:<\/p>\n<ul>\n<li><code>key<\/code>, which is the developer key<\/li>\n<li><code>isbns<\/code> \u2013 an array or single comma separated string of the ISBNs of the books that we want the review stats of<\/li>\n<li><code>format<\/code> \u2013 the format of the response (though in all honesty, I\u2019m not really sure why this one exists, since the response is always going to be in JSON. Plans for future implementations?)<\/li>\n<li><code>callback<\/code>, the function that\u2019ll wrap up the JSON response<\/li>\n<\/ul>\n<p>Let\u2019s take the two books; <em>Head First Java, First edition<\/em> (ISBN: 0596009208) and <em>JavaScript: The Good Parts, 1st edition<\/em> (ISBN: 0596517742) and get their review stats. The request URL is like this:<\/p>\n<pre>https:\/\/www.goodreads.com\/book\/review_counts.json?key={apikey}&isbns=0596009208,0596517742\r\n<\/pre>\n<p>And the <code>responseText<\/code> after beautification looks like this.<\/p>\n<pre>{\"books\":\r\n    [ { \"id\":231262,\r\n        \"isbn\":\"0596009208\",\r\n        \"isbn13\":\"9780596009205\",\r\n        \"ratings_count\":1842,\r\n        \"reviews_count\":3599,\r\n        \"text_reviews_count\":124,\r\n        \"work_ratings_count\":2016,\r\n        \"work_reviews_count\":3943,\r\n        \"work_text_reviews_count\":136,\r\n        \"average_rating\":\"4.16\"},\r\n        \r\n        { \"id\":2998152,\r\n        \"isbn\":\"0596517742\",\r\n        \"isbn13\":\"9780596517748\",\r\n        \"ratings_count\":4430,\r\n        \"reviews_count\":8921,\r\n        \"text_reviews_count\":363,\r\n        \"work_ratings_count\":4990,\r\n        \"work_reviews_count\":9821,\r\n        \"work_text_reviews_count\":381,\r\n        \"average_rating\":\"4.22\"}\r\n        ]}\r\n<\/pre>\n<p>If you want the rating of the <em>Head First Java, First Edition<\/em> book, it\u2019s in <code>myJSON.books[0].average_rating<\/code>. The <code>ratings_count<\/code> and <code>reviews_count<\/code> keys in the objects represent the total number of ratings cast and reviews made for that particular edition of the book.<\/p>\n<p>Similarly , <code>text_reviews_count<\/code> represents the total text-only reviews of the particular edition of the book. Whereas <code>work_ratings_count<\/code>, <code>work_reviews_count<\/code> and <code>work_text_reviews_count<\/code> represent the total ratings, reviews and text-only reviews of all the editions.<\/p>\n<p>If you click on Rating Details of <em>JavaScript: The Good Parts (1st Edition)<\/em> in Goodreads it\u2019ll display this.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg\" alt=\"goodreads\"><\/figure>\n<p>You can use all those extra review information if you\u2019d like or just display a star rating for the book using the <code>average_rating<\/code> key value.<\/p>\n<p><em><strong>Note<\/strong>: According to the API documenation, \u201cThe Goodreads API gives you full access to Goodreads-owned meta-data, but it does not give you full access to book meta-data supplied by third parties such as Ingram. Book cover images, descriptions, and other data from third party sources might be excluded, because we do not have a license to distribute these data via our API.\u201d<\/em><\/p>\n<p>Once you\u2019ve readied the book covers and descriptions, you can display the book info somewhat like below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/goodreadsapi.jpg\" alt=\"goodreads api\" width=\"533\" height=\"642\"><\/figure>","protected":false},"excerpt":{"rendered":"<p>For book lovers who have a liking for a specific genre, they will probably check out a friend\u2019s recommendation than follow any bestseller list. This is why Amazon\u2019s Goodreads is a bookmarked site for avid readers. It\u2019s a place where you can find an extensive database of books, recommendations and reviews by fellow book lovers.&hellip;<\/p>\n","protected":false},"author":145,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Get Goodreads Ratings via API - Hongkiat<\/title>\n<meta name=\"description\" content=\"For book lovers who have a liking for a specific genre, they will probably check out a friend&#039;s recommendation than follow any bestseller list. This is\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Get Goodreads Ratings via API\" \/>\n<meta property=\"og:description\" content=\"For book lovers who have a liking for a specific genre, they will probably check out a friend&#039;s recommendation than follow any bestseller list. This is\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-07T13:01:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-23T11:35:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg\" \/>\n<meta name=\"author\" content=\"Preethi Ranjit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Preethi Ranjit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/\"},\"author\":{\"name\":\"Preethi Ranjit\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e981676afae36d1ff5feb75094950ab3\"},\"headline\":\"How to Get Goodreads Ratings via API\",\"datePublished\":\"2016-03-07T13:01:43+00:00\",\"dateModified\":\"2017-11-23T11:35:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/\"},\"wordCount\":599,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/goodreads-ratings-api\\\/expanded-rating-in-goodreads.jpg\",\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/\",\"name\":\"How to Get Goodreads Ratings via API - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/goodreads-ratings-api\\\/expanded-rating-in-goodreads.jpg\",\"datePublished\":\"2016-03-07T13:01:43+00:00\",\"dateModified\":\"2017-11-23T11:35:33+00:00\",\"description\":\"For book lovers who have a liking for a specific genre, they will probably check out a friend's recommendation than follow any bestseller list. This is\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/goodreads-ratings-api\\\/expanded-rating-in-goodreads.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/goodreads-ratings-api\\\/expanded-rating-in-goodreads.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/goodreads-ratings-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Get Goodreads Ratings via API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e981676afae36d1ff5feb75094950ab3\",\"name\":\"Preethi Ranjit\",\"description\":\"A .NET developer with a JavaScript background, Preethi is expert in front-end coding, JavaScript, HTML, and CSS.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/preethi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Get Goodreads Ratings via API - Hongkiat","description":"For book lovers who have a liking for a specific genre, they will probably check out a friend's recommendation than follow any bestseller list. This is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/","og_locale":"en_US","og_type":"article","og_title":"How to Get Goodreads Ratings via API","og_description":"For book lovers who have a liking for a specific genre, they will probably check out a friend's recommendation than follow any bestseller list. This is","og_url":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2016-03-07T13:01:43+00:00","article_modified_time":"2017-11-23T11:35:33+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg","type":"","width":"","height":""}],"author":"Preethi Ranjit","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Preethi Ranjit","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/"},"author":{"name":"Preethi Ranjit","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e981676afae36d1ff5feb75094950ab3"},"headline":"How to Get Goodreads Ratings via API","datePublished":"2016-03-07T13:01:43+00:00","dateModified":"2017-11-23T11:35:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/"},"wordCount":599,"commentCount":1,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg","articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/","url":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/","name":"How to Get Goodreads Ratings via API - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg","datePublished":"2016-03-07T13:01:43+00:00","dateModified":"2017-11-23T11:35:33+00:00","description":"For book lovers who have a liking for a specific genre, they will probably check out a friend's recommendation than follow any bestseller list. This is","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/goodreads-ratings-api\/expanded-rating-in-goodreads.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/goodreads-ratings-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Get Goodreads Ratings via API"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e981676afae36d1ff5feb75094950ab3","name":"Preethi Ranjit","description":"A .NET developer with a JavaScript background, Preethi is expert in front-end coding, JavaScript, HTML, and CSS.","url":"https:\/\/www.hongkiat.com\/blog\/author\/preethi\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-6NL","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/145"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=26149"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26149\/revisions"}],"predecessor-version":[{"id":41934,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26149\/revisions\/41934"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=26149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=26149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=26149"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=26149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}