{"id":7003,"date":"2021-10-07T10:58:52","date_gmt":"2021-10-07T05:28:52","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=7003"},"modified":"2023-01-20T18:54:57","modified_gmt":"2023-01-20T13:24:57","slug":"healthkit","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/healthkit\/","title":{"rendered":"HealthKit"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">HealthKit is a framework that is provided by apple that helps us in getting and managing user health-related data in a very easy and convenient way.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We can integrate HealthKit in any application just by a grant the application to get access to the HealthKit data. so, the user data was easily available to that application from the healthKit Database. The user itself decide which data user allow to access or not.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To Implement a health Kit in any application. We need to follow these steps :<\/span><\/p>\n<ol>\n<li><strong> we need to add these two in info Plist.<\/strong><\/li>\n<\/ol>\n<ul>\n<li><span style=\"font-weight: 400;\"><strong>Privacy<\/strong> &#8211; Health Share Usage Description<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong>Privacy<\/strong> &#8211; Health Update Usage Description<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">we need to ask for permission from the user to access user HealthKit data.\u00a0<\/span><\/p>\n<pre class=\"lang:default decode:true \">\u00a0\u00a0let healthStore = HKHealthStore()\r\n\r\n\r\n\u00a0\u00a0func askPermissionAndFetchHealthKitData() {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n\r\n\u00a0\u00a0\u00a0let read = Set([HKObjectType.quantityType(forIdentifier : .steps)!])\r\n\r\n\u00a0\u00a0let share = Set([HKObjectType.quantityType(forIdentifier : .steps)!])\r\n\r\nhealthStore.requestAuthorization(toShare : share , read : read) { (check , error ) in\u00a0\r\n\r\nIf (chk) {\r\n\r\nPrint (\u201cpermission Granted \u201d)\r\n\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0}\r\n\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">So, with the above code, we got permission from the user to fetch steps. <\/span><span style=\"font-weight: 400;\">And that type of view appears on the screen\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We need to enable that permission of steps as shown in the above View.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">3 . <strong>When the user got the permission we are here actually fetch the steps of the user.<\/strong><\/span><\/p>\n<pre class=\"lang:default decode:true\">func getStepsCount(forSpecificDate:Date, completion: @escaping (Double) -&gt; Void) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0let stepsQuantityType = HKQuantityType.quantityType(forIdentifier: .stepCount)!\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0let (start, end) = self.getWholeDate(date: forSpecificDate)\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0let predicate = HKQuery.predicateForSamples(withStart: start, end: end, options: .strictStartDate)\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0let query = HKStatisticsQuery(quantityType: stepsQuantityType, quantitySamplePredicate: predicate, options: .cumulativeSum) { _, result, _ in\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0guard let result = result, let sum = result.sumQuantity() else {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0completion(0.0)\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0completion(sum.doubleValue(for: HKUnit.count()))\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\r\n\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0self.healthKitStore.execute(query)\r\n\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\r\n\r\n\r\n\u00a0\u00a0\u00a0\u00a0func getWholeDate(date : Date) -&gt; (startDate:Date, endDate: Date) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0var startDate = date\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0var length = TimeInterval()\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_ = Calendar.current.dateInterval(of: .day, start: &amp;startDate, interval: &amp;length, for: startDate)\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0let endDate:Date = startDate.addingTimeInterval(length)\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0return (startDate,endDate)\r\n\r\n\u00a0\u00a0\u00a0\u00a0}<\/pre>\n<p><strong><span style=\"font-size: 1rem;\">We can get a Date by calling that above function like this :<\/span><\/strong><\/p>\n<pre class=\"lang:default decode:true\">self.getStepsCount(forSpecificDate: Date()) { (steps) in\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if steps == 0.0 {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(\"steps :: \\(steps)\")\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0else {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0DispatchQueue.main.async {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(\"steps :: \\(steps)\")\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<\/pre>\n<p><strong><span style=\"font-size: 1rem;\">These will give us the heartRate from startDate to endDate.<\/span><\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Steps: Optional(300.0)..<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is how we can calculate the steps through the healthKit. <\/span><span style=\"font-weight: 400;\">We can also calculate the heartRate, calories, and other elements through healthKit.<\/span><\/p>\n<p>Kudos!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HealthKit is a framework that is provided by apple that helps us in getting and managing user health-related data in a very easy and convenient way. We can integrate HealthKit in any application just by a grant the application to get access to the HealthKit data. so, the user data was easily available to that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7004,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[108,71,661],"tags":[704,709,710,708,113,224],"class_list":["post-7003","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css-js","category-mobile","category-testing","tag-css","tag-health-app","tag-health-track-app","tag-healthkit","tag-html","tag-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HealthKit - InnovationM - Blog<\/title>\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.innovationm.com\/blog\/healthkit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HealthKit - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"HealthKit is a framework that is provided by apple that helps us in getting and managing user health-related data in a very easy and convenient way. We can integrate HealthKit in any application just by a grant the application to get access to the HealthKit data. so, the user data was easily available to that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/healthkit\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-07T05:28:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:24:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"HealthKit\",\"datePublished\":\"2021-10-07T05:28:52+00:00\",\"dateModified\":\"2023-01-20T13:24:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/\"},\"wordCount\":224,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Healthkit-scaled.jpg\",\"keywords\":[\"css\",\"health app\",\"health track app\",\"healthkit\",\"HTML\",\"java\"],\"articleSection\":[\"HTML5 \\\/ CSS \\\/ JS\",\"Mobile\",\"Testing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/\",\"name\":\"HealthKit - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Healthkit-scaled.jpg\",\"datePublished\":\"2021-10-07T05:28:52+00:00\",\"dateModified\":\"2023-01-20T13:24:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Healthkit-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Healthkit-scaled.jpg\",\"width\":2560,\"height\":1440},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/healthkit\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HealthKit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HealthKit - InnovationM - Blog","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.innovationm.com\/blog\/healthkit\/","og_locale":"en_US","og_type":"article","og_title":"HealthKit - InnovationM - Blog","og_description":"HealthKit is a framework that is provided by apple that helps us in getting and managing user health-related data in a very easy and convenient way. We can integrate HealthKit in any application just by a grant the application to get access to the HealthKit data. so, the user data was easily available to that [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/healthkit\/","og_site_name":"InnovationM - Blog","article_published_time":"2021-10-07T05:28:52+00:00","article_modified_time":"2023-01-20T13:24:57+00:00","og_image":[{"width":2560,"height":1440,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg","type":"image\/jpeg"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"HealthKit","datePublished":"2021-10-07T05:28:52+00:00","dateModified":"2023-01-20T13:24:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/"},"wordCount":224,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg","keywords":["css","health app","health track app","healthkit","HTML","java"],"articleSection":["HTML5 \/ CSS \/ JS","Mobile","Testing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/healthkit\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/","url":"https:\/\/www.innovationm.com\/blog\/healthkit\/","name":"HealthKit - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg","datePublished":"2021-10-07T05:28:52+00:00","dateModified":"2023-01-20T13:24:57+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/healthkit\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/10\/Healthkit-scaled.jpg","width":2560,"height":1440},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/healthkit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"HealthKit"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/7003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=7003"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/7003\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/7004"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=7003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=7003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=7003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}