{"id":55,"date":"2019-08-30T18:22:10","date_gmt":"2019-08-30T18:22:10","guid":{"rendered":"https:\/\/tutorialio.com\/?p=55"},"modified":"2019-08-30T18:22:10","modified_gmt":"2019-08-30T18:22:10","slug":"trigonometric-functions-in-php","status":"publish","type":"post","link":"https:\/\/hellonitish.com\/blog\/trigonometric-functions-in-php\/","title":{"rendered":"Trigonometric Functions in PHP"},"content":{"rendered":"<table class=\"quick-links\">\n<caption>Trigonometric Functions in PHP<\/caption>\n<tbody>\n<tr>\n<th>Function Name<\/th>\n<th>Function Description<\/th>\n<\/tr>\n<tr>\n<td><a href=\"#sin\">sin()<\/a><\/td>\n<td>Sine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#cos\">cos()<\/a><\/td>\n<td>Cosine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#tan\">tan()<\/a><\/td>\n<td>Tangent<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#asin\">asin()<\/a><\/td>\n<td>Arc sine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#acos\">acos()<\/a><\/td>\n<td>Arc cosine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#atan\">atan()<\/a><\/td>\n<td>Arc tangent<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#atan2\">atan2()<\/a><\/td>\n<td>Arc tangent of two variables<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#asinh\">asinh()<\/a><\/td>\n<td>Inverse hyperbolic sine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#acosh\">acosh()<\/a><\/td>\n<td>Inverse hyperbolic cosine<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#atanh\">atanh()<\/a><\/td>\n<td>Inverse hyperbolic tangent<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#deg2rad\">deg2rad()<\/a><\/td>\n<td>Converts the number in degrees to the radian equivalent<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#rad2deg\">rad2deg()<\/a><\/td>\n<td>Converts the radian number to the equivalent number in degrees<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"sin\">PHP <code>sin()<\/code> Function<\/h2>\n<h3>PHP <code>sin()<\/code> Usage<\/h3>\n<p>The PHP <code><code>sin()<\/code><\/code> function will give you the sine of the <code class=\"parameter\">arg<\/code> parameter. The <code class=\"parameter\">arg<\/code> parameter is in radians.<\/p>\n<h3>PHP <code>sin()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> sin <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>sin()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 A value in radians <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>sin()<\/code> Return Value<\/h3>\n<p>The PHP <code>sin()<\/code> function returns the sine of <code class=\"parameter\">arg<\/code><\/p>\n<h3>PHP <code>sin()<\/code> Working Examples<\/h3>\n<h4>1. sin() example<\/h4>\n<pre class=\" language-php\"><code class=\" language-php\"><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\n<span class=\"token comment\" spellcheck=\"true\">\/\/ Precision depends on your precision directive<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">sin<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">deg2rad<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">60<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\" spellcheck=\"true\">\/\/  0.866025403 ...<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">sin<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">60<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>           <span class=\"token comment\" spellcheck=\"true\">\/\/ -0.304810621 ...<\/span>\n<span class=\"token delimiter important\">?&gt;<\/span><\/span><\/code><\/pre>\n<h2 id=\"cos\">PHP <code>cos()<\/code> Function<\/h2>\n<h3>PHP <code>cos()<\/code> Usage<\/h3>\n<p>The PHP <code><code>cos()<\/code><\/code> function will give you the cosine of the <code class=\"parameter\">arg<\/code> parameter. The <code class=\"parameter\">arg<\/code> parameter is in radians.<\/p>\n<h3>PHP <code>cos()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> cos <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>cos()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 An angle in radians <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>cos()<\/code> Return Value<\/h3>\n<p>The PHP <code>cos()<\/code> function returns the cosine of <code class=\"parameter\">arg<\/code><\/p>\n<h3>PHP <code>cos()<\/code> Working Examples<\/h3>\n<h4>1. cos() example<\/h4>\n<pre class=\" language-php\"><code class=\" language-php\"><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">cos<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">M_PI<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\" spellcheck=\"true\">\/\/ -1<\/span>\n<span class=\"token delimiter important\">?&gt;<\/span><\/span><\/code><\/pre>\n<h2 id=\"tan\">PHP <code>tan()<\/code> Function<\/h2>\n<h3>PHP <code>tan()<\/code> Usage<\/h3>\n<p>The PHP <code><code>tan()<\/code><\/code> function will give you the tangent of the <code class=\"parameter\">arg<\/code> parameter. The <code class=\"parameter\">arg<\/code> parameter is in radians.<\/p>\n<h3>PHP <code>tan()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> tan <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>tan()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process in radians <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>tan()<\/code> Return Value<\/h3>\n<p>The PHP <code>tan()<\/code> function returns the tangent of <code class=\"parameter\">arg<\/code><\/p>\n<h3>PHP <code>tan()<\/code> Working Examples<\/h3>\n<h4>1. tan() example<\/h4>\n<pre class=\" language-php\"><code class=\" language-php\"><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">tan<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">M_PI_4<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\" spellcheck=\"true\">\/\/ 1<\/span>\n<span class=\"token delimiter important\">?&gt;<\/span><\/span><\/code><\/pre>\n<h2 id=\"asin\">PHP <code>asin()<\/code> Function<\/h2>\n<h3>PHP <code>asin()<\/code> Usage<\/h3>\n<p>The PHP <code><code>asin()<\/code><\/code> function will give you the arc sine of <code class=\"parameter\">arg<\/code> in radians. <code>asin()<\/code> is the inverse function of <code>sin()<\/code>, which means that <strong>a==sin(asin(a))<\/strong> for every value of a that is within <code>asin()<\/code>&#8216;s range.<\/p>\n<h3>PHP <code>asin()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> asin <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>asin()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>asin()<\/code> Return Value<\/h3>\n<p>The PHP <code>asin()<\/code> function returns the arc sine of <code class=\"parameter\">arg<\/code> in radians<\/p>\n<h2 id=\"acos\">PHP <code>acos()<\/code> Function<\/h2>\n<h3>PHP <code>acos()<\/code> Usage<\/h3>\n<p>The PHP <code><code>acos()<\/code><\/code> function will give you the arc cosine of <code class=\"parameter\">arg<\/code> in radians. <code>acos()<\/code> is the inverse function of <code>cos()<\/code>, which means that <strong>a==cos(acos(a))<\/strong> for every value of a that is within <code>acos()<\/code>&#8216; range.<\/p>\n<h3>PHP <code>acos()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> acos <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>acos()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>acos()<\/code> Return Value<\/h3>\n<p>The PHP <code>acos()<\/code> function returns the arc cosine of <code class=\"parameter\">arg<\/code> in radians.<\/p>\n<h2 id=\"atan\">PHP <code>atan()<\/code> Function<\/h2>\n<h3>PHP <code>atan()<\/code> Usage<\/h3>\n<p>The PHP <code><code>atan()<\/code><\/code> function will give you the arc tangent of <code class=\"parameter\">arg<\/code> in radians. <code>atan()<\/code> is the inverse function of <code>tan()<\/code>, which means that <strong>a==tan(atan(a))<\/strong> for every value of a that is within <code>atan()<\/code>&#8216;s range.<\/p>\n<h3>PHP <code>atan()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> atan <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>atan()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>atan()<\/code> Return Value<\/h3>\n<p>The PHP <code>atan()<\/code> function returns the arc tangent of <code class=\"parameter\">arg<\/code> in radians.<\/p>\n<h3>Additional Tips from Fellow Developers<\/h3>\n<p>Contributed By: Anonymous<\/p>\n<pre><code>Contrary to the current description, it should hold y == tan(atan(y)) for ALL&nbsp; y.\nHowever, x == atan(tan(x)) only holds for those x which are in the range of atan, which are those x with -pi\/2 &lt; x &lt; pi\/2.\nOf course, those equalities are limited by precision. On my machine\ntan(atan(1000)) returns 1000.0000000001.\natan(tan(0)) returns 0 (correct).\natan(tan(M_PI)) returns -1.2246467991474E-16 instead of 0.<\/code><\/pre>\n<h2 id=\"atan2\">PHP <code>atan2()<\/code> Function<\/h2>\n<h3>PHP <code>atan2()<\/code> Usage<\/h3>\n<p>The PHP <code><code>atan2()<\/code><\/code> function will this function calculates the arc tangent of the two variables <code class=\"parameter\">x<\/code> and <code class=\"parameter\">y<\/code>. It is similar to calculating the arc tangent of <code class=\"parameter\">y<\/code> \/ <code class=\"parameter\">x<\/code>, except that the signs of both arguments are used to determine the quadrant of the result.<\/p>\n<h3>PHP <code>atan2()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> atan2 <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$y<\/span> <span class=\"token punctuation\">,<\/span> float <span class=\"token variable\">$x<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>atan2()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>y<\/code> \u2014 Dividend parameter <\/p>\n<\/li>\n<li>\n<p><code>x<\/code> \u2014 Divisor parameter <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>atan2()<\/code> Return Value<\/h3>\n<p>The PHP <code>atan2()<\/code> function returns the arc tangent of <code class=\"parameter\">y<\/code>\/<code class=\"parameter\">x<\/code> in radians.<\/p>\n<h3>Additional Tips from Fellow Developers<\/h3>\n<p>Contributed By: reubs<\/p>\n<pre><code>Just a note:\nPHP's atan2 function receives parameters in (y,x) and Excel receives it in (x,y) format. Just in case you are porting formulas across. :)<\/code><\/pre>\n<h2 id=\"asinh\">PHP <code>asinh()<\/code> Function<\/h2>\n<h3>PHP <code>asinh()<\/code> Usage<\/h3>\n<p>The PHP <code><code>asinh()<\/code><\/code> function will give you the inverse hyperbolic sine of <code class=\"parameter\">arg<\/code>, i.e. the value whose hyperbolic sine is <code class=\"parameter\">arg<\/code>.<\/p>\n<h3>PHP <code>asinh()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> asinh <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>asinh()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>asinh()<\/code> Return Value<\/h3>\n<p>The PHP <code>asinh()<\/code> function returns the inverse hyperbolic sine of <code class=\"parameter\">arg<\/code><\/p>\n<h3>Changelog for PHP asinh() Function<\/h3>\n<p><strong>5.3.0 \u2014 <\/strong> This function is now available on all platforms <\/p>\n<h2 id=\"acosh\">PHP <code>acosh()<\/code> Function<\/h2>\n<h3>PHP <code>acosh()<\/code> Usage<\/h3>\n<p>The PHP <code><code>acosh()<\/code><\/code> function will give you the inverse hyperbolic cosine of <code class=\"parameter\">arg<\/code>, i.e. the value whose hyperbolic cosine is <code class=\"parameter\">arg<\/code>.<\/p>\n<h3>PHP <code>acosh()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> acosh <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>acosh()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The value to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>acosh()<\/code> Return Value<\/h3>\n<p>The PHP <code>acosh()<\/code> function returns the inverse hyperbolic cosine of <code class=\"parameter\">arg<\/code><\/p>\n<h3>Changelog for PHP acosh() Function<\/h3>\n<p><strong>5.3.0 \u2014 <\/strong> This function is now available on all platforms <\/p>\n<h2 id=\"atanh\">PHP <code>atanh()<\/code> Function<\/h2>\n<h3>PHP <code>atanh()<\/code> Usage<\/h3>\n<p>The PHP <code><code>atanh()<\/code><\/code> function will give you the inverse hyperbolic tangent of <code class=\"parameter\">arg<\/code>, i.e. the value whose hyperbolic tangent is <code class=\"parameter\">arg<\/code>.<\/p>\n<h3>PHP <code>atanh()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> atanh <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$arg<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>atanh()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>arg<\/code> \u2014 The argument to process <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>atanh()<\/code> Return Value<\/h3>\n<p>The PHP <code>atanh()<\/code> function returns inverse hyperbolic tangent of <code class=\"parameter\">arg<\/code><\/p>\n<h3>Changelog for PHP atanh() Function<\/h3>\n<p><strong>5.3.0 \u2014 <\/strong> This function is now available on all platforms <\/p>\n<h2 id=\"deg2rad\">PHP <code>deg2rad()<\/code> Function<\/h2>\n<h3>PHP <code>deg2rad()<\/code> Usage<\/h3>\n<p>The PHP <code><code>deg2rad()<\/code><\/code> function will converts the number in degrees to the radian equivalent .<\/p>\n<h3>PHP <code>deg2rad()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> deg2rad <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$number<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>deg2rad()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>number<\/code> \u2014 Angular value in degrees <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>deg2rad()<\/code> Return Value<\/h3>\n<p>The PHP <code>deg2rad()<\/code> function returns the radian equivalent of <code class=\"parameter\">number<\/code><\/p>\n<h3>PHP <code>deg2rad()<\/code> Working Examples<\/h3>\n<h4>1. deg2rad() example<\/h4>\n<pre class=\" language-php\"><code class=\" language-php\"><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">deg2rad<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">45<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\" spellcheck=\"true\">\/\/ 0.785398163397<\/span>\n<span class=\"token function\">var_dump<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">deg2rad<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">45<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">===<\/span> <span class=\"token constant\">M_PI_4<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\" spellcheck=\"true\">\/\/ bool(true)<\/span>\n<span class=\"token delimiter important\">?&gt;<\/span><\/span><\/code><\/pre>\n<h2 id=\"rad2deg\">PHP <code>rad2deg()<\/code> Function<\/h2>\n<h3>PHP <code>rad2deg()<\/code> Usage<\/h3>\n<p>The PHP <code><code>rad2deg()<\/code><\/code> function will converts the radian number to the equivalent number in degrees .<\/p>\n<h3>PHP <code>rad2deg()<\/code> Syntax<\/h3>\n<pre class=\" language-php\"><code class=\" language-php\"> rad2deg <span class=\"token punctuation\">(<\/span> float <span class=\"token variable\">$number<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">:<\/span> float<\/code><\/pre>\n<h3>PHP <code>rad2deg()<\/code> Parameters<\/h3>\n<ol>\n<li>\n<p><code>number<\/code> \u2014 A radian value <\/p>\n<\/li>\n<\/ol>\n<h3>PHP <code>rad2deg()<\/code> Return Value<\/h3>\n<p>The PHP <code>rad2deg()<\/code> function returns the equivalent of <code class=\"parameter\">number<\/code> in degrees<\/p>\n<h3>PHP <code>rad2deg()<\/code> Working Examples<\/h3>\n<h4>1. rad2deg() example<\/h4>\n<pre class=\" language-php\"><code class=\" language-php\"><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\n<span class=\"token keyword\">echo<\/span> <span class=\"token function\">rad2deg<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">M_PI_4<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\" spellcheck=\"true\">\/\/ 45<\/span>\n<span class=\"token delimiter important\">?&gt;<\/span><\/span><\/code><\/pre>\n<p><script type=\"text\/javascript\" src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\"><\/script><br \/>\n<script type=\"text\/javascript\" src=\"https:\/\/tutorialio.com\/wp-content\/themes\/sidenavigation\/script.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trigonometric Functions in PHP Function Name Function Description sin() Sine cos() Cosine tan() Tangent asin() Arc sine acos() Arc cosine atan() Arc tangent atan2() Arc tangent of two variables asinh() Inverse hyperbolic sine acosh() Inverse hyperbolic cosine atanh() Inverse hyperbolic tangent deg2rad() Converts the number in degrees to the radian equivalent rad2deg() Converts the radian [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[8,5],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-reference","tag-math","tag-php"],"_links":{"self":[{"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellonitish.com\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}