{"id":37055,"date":"2024-11-01T09:54:26","date_gmt":"2024-11-01T09:54:26","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37055"},"modified":"2024-11-01T11:42:25","modified_gmt":"2024-11-01T11:42:25","slug":"android-app-development-course-with-kotlin-cloud-firestore","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37055\/","title":{"rendered":"Android App Development Course with Kotlin, Cloud Firestore"},"content":{"rendered":"<p><body><\/p>\n<p>Data storage is an essential element in Android app development. Cloud Firestore, part of Google&#8217;s Firebase platform, is a NoSQL database that enables real-time data storage, synchronization, and management. In this tutorial, we will take a closer look at how to use Cloud Firestore in an Android app using Kotlin.<\/p>\n<h2>1. Introduction to Firebase and Firestore<\/h2>\n<p>Firebase is a comprehensive platform for mobile and web application development, providing authentication, data storage, hosting, and cloud functions. Firestore is Firebase&#8217;s database service, which allows for structured data storage and offers features similar to a real-time database.<\/p>\n<h3>1.1 Key Features of Firestore<\/h3>\n<ul>\n<li>Real-time data synchronization<\/li>\n<li>Scalable<\/li>\n<li>Unstructured data storage<\/li>\n<li>Accessible from mobile and web applications<\/li>\n<\/ul>\n<h2>2. Project Setup<\/h2>\n<p>After creating a new project in Android Studio, let\u2019s set up Firebase and Firestore.<\/p>\n<h3>2.1 Creating a Project in Firebase<\/h3>\n<ol>\n<li>Access the Firebase console and create a new project.<\/li>\n<li>Add an Android application and enter the package name and SHA-1 key.<\/li>\n<li>Download the google-services.json file and add it to the app folder of your project.<\/li>\n<\/ol>\n<h3>2.2 Modifying the Gradle File<\/h3>\n<p>Add Firebase and Firestore dependencies in the project&#8217;s <code>build.gradle<\/code> file:<\/p>\n<pre><code>dependencies {\n        implementation platform('com.google.firebase:firebase-bom:31.0.2')\n        implementation 'com.google.firebase:firebase-firestore-ktx'\n        implementation 'com.google.firebase:firebase-auth-ktx'\n    }\n    <\/code><\/pre>\n<h3>2.3 Initializing Firebase<\/h3>\n<p>Initialize Firebase in the application&#8217;s entry point, <code>MainActivity<\/code>:<\/p>\n<pre><code>import com.google.firebase.FirebaseApp\n    \n    class MainActivity : AppCompatActivity() {\n        override fun onCreate(savedInstanceState: Bundle?) {\n            super.onCreate(savedInstanceState)\n            setContentView(R.layout.activity_main)\n            FirebaseApp.initializeApp(this)  \/\/ Initialize Firebase\n        }\n    }\n    <\/code><\/pre>\n<h2>3. Firestore Data Structure<\/h2>\n<p>Firestore stores data in the form of documents and collections. A document consists of key-value pairs, and a collection is a group of documents.<\/p>\n<h3>3.1 Example of Storing Data<\/h3>\n<p>Let\u2019s look at an example of how to store data in Firestore. For instance, if you want to store user information, you can use the following code:<\/p>\n<pre><code>import com.google.firebase.firestore.FirebaseFirestore\n    \n    class MainActivity : AppCompatActivity() {\n        private lateinit var db: FirebaseFirestore\n    \n        override fun onCreate(savedInstanceState: Bundle?) {\n            super.onCreate(savedInstanceState)\n            setContentView(R.layout.activity_main)\n    \n            db = FirebaseFirestore.getInstance()\n            saveUser()\n        }\n    \n        private fun saveUser() {\n            val user = hashMapOf(\n                \"first\" to \"Jane\",\n                \"last\" to \"Doe\",\n                \"born\" to 1990\n            )\n    \n            db.collection(\"users\")\n                .add(user)\n                .addOnSuccessListener { documentReference ->\n                    Log.d(TAG, \"DocumentSnapshot added with ID: ${documentReference.id}\")\n                }\n                .addOnFailureListener { e ->\n                    Log.w(TAG, \"Error adding document\", e)\n                }\n        }\n    }\n    <\/code><\/pre>\n<h2>4. Reading Data and Real-time Updates<\/h2>\n<p>Firestore provides functionality to detect changes in data in real-time. Through this, you can easily receive changes in data and update the UI.<\/p>\n<h3>4.1 Example of Reading Data<\/h3>\n<p>A basic example of reading data from Firestore is as follows:<\/p>\n<pre><code>private fun getUser() {\n        db.collection(\"users\")\n            .get()\n            .addOnSuccessListener { documents ->\n                for (document in documents) {\n                    Log.d(TAG, \"${document.id} => ${document.data}\")\n                }\n            }\n            .addOnFailureListener { exception ->\n                Log.w(TAG, \"Error getting documents: \", exception)\n            }\n    }\n    <\/code><\/pre>\n<h3>4.2 Example of Real-time Updates<\/h3>\n<p>To detect changes in data in real-time, you can use the <code>addSnapshotListener<\/code> method:<\/p>\n<pre><code>private fun listenToUsers() {\n        db.collection(\"users\")\n            .addSnapshotListener { snapshots, e ->\n                if (e != null) {\n                    Log.w(TAG, \"Listen failed.\", e)\n                    return@addSnapshotListener\n                }\n\n                if (snapshots != null) {\n                    for (doc in snapshots.documentChanges) {\n                        if (doc.type == DocumentChange.Type.ADDED) {\n                            Log.d(TAG, \"New city: ${doc.document.data}\")\n                        }\n                        \/\/ Other types can also be handled (MODIFIED, REMOVED, etc.)\n                    }\n                }\n            }\n    }\n    <\/code><\/pre>\n<h2>5. Modifying and Deleting Data<\/h2>\n<p>Modifying and deleting data in Firestore is also very easy. Here\u2019s how to modify and delete data.<\/p>\n<h3>5.1 Example of Modifying Data<\/h3>\n<p>To modify a specific document, use the following code:<\/p>\n<pre><code>private fun updateUser(userId: String) {\n        val userUpdates = hashMapOf(\n            \"last\" to \"Smith\",  \/\/ Change last name\n        )\n\n        db.collection(\"users\").document(userId)\n            .update(userUpdates)\n            .addOnSuccessListener {\n                Log.d(TAG, \"User successfully updated!\")\n            }\n            .addOnFailureListener { e ->\n                Log.w(TAG, \"Error updating document\", e)\n            }\n    }\n    <\/code><\/pre>\n<h3>5.2 Example of Deleting Data<\/h3>\n<p>Here\u2019s how to delete data:<\/p>\n<pre><code>private fun deleteUser(userId: String) {\n        db.collection(\"users\").document(userId)\n            .delete()\n            .addOnSuccessListener {\n                Log.d(TAG, \"User successfully deleted!\")\n            }\n            .addOnFailureListener { e ->\n                Log.w(TAG, \"Error deleting document\", e)\n            }\n    }\n    <\/code><\/pre>\n<h2>6. Setting Up Security Rules<\/h2>\n<p>One of the most important aspects of using Firestore is security. You can manage data access permissions by setting security rules in the Firebase console.<\/p>\n<h3>6.1 Default Security Rules<\/h3>\n<pre><code>rules_version = '2';\n    service cloud.firestore {\n        match \/databases\/{database}\/documents {\n            match \/users\/{userId} {\n                allow read, write: if request.auth != null;\n            }\n        }\n    }\n    <\/code><\/pre>\n<h2>7. Conclusion<\/h2>\n<p>In this tutorial, we learned how to use Firebase and Firestore in an Android app using Kotlin. By leveraging Cloud Firestore, you can manage data in real-time and maximize app performance with various features. Try applying this knowledge to real projects to gain more experience.<\/p>\n<h2>References<\/h2>\n<ul>\n<li><a href=\"https:\/\/firebase.google.com\/docs\/firestore\">Official Firebase Firestore Documentation<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/kotlin\">Kotlin for Android Developers<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/training\/volley\/index.html\">Volley Guide<\/a><\/li>\n<\/ul>\n<footer>\n<p>\u00a9 2023 Android Development Blog. All rights reserved.<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Data storage is an essential element in Android app development. Cloud Firestore, part of Google&#8217;s Firebase platform, is a NoSQL database that enables real-time data storage, synchronization, and management. In this tutorial, we will take a closer look at how to use Cloud Firestore in an Android app using Kotlin. 1. Introduction to Firebase and &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37055\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Android App Development Course with Kotlin, Cloud Firestore&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[143],"tags":[],"class_list":["post-37055","post","type-post","status-publish","format-standard","hentry","category-kotlin-android-app-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/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:\/\/atmokpo.com\/w\/37055\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Data storage is an essential element in Android app development. Cloud Firestore, part of Google&#8217;s Firebase platform, is a NoSQL database that enables real-time data storage, synchronization, and management. In this tutorial, we will take a closer look at how to use Cloud Firestore in an Android app using Kotlin. 1. Introduction to Firebase and &hellip; \ub354 \ubcf4\uae30 &quot;Android App Development Course with Kotlin, Cloud Firestore&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37055\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:54:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:42:25+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Android App Development Course with Kotlin, Cloud Firestore\",\"datePublished\":\"2024-11-01T09:54:26+00:00\",\"dateModified\":\"2024-11-01T11:42:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/\"},\"wordCount\":460,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Kotlin Android app development\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37055\/\",\"name\":\"Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:54:26+00:00\",\"dateModified\":\"2024-11-01T11:42:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37055\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37055\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android App Development Course with Kotlin, Cloud Firestore\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/37055\/","og_locale":"ko_KR","og_type":"article","og_title":"Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Data storage is an essential element in Android app development. Cloud Firestore, part of Google&#8217;s Firebase platform, is a NoSQL database that enables real-time data storage, synchronization, and management. In this tutorial, we will take a closer look at how to use Cloud Firestore in an Android app using Kotlin. 1. Introduction to Firebase and &hellip; \ub354 \ubcf4\uae30 \"Android App Development Course with Kotlin, Cloud Firestore\"","og_url":"https:\/\/atmokpo.com\/w\/37055\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:54:26+00:00","article_modified_time":"2024-11-01T11:42:25+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37055\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37055\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Android App Development Course with Kotlin, Cloud Firestore","datePublished":"2024-11-01T09:54:26+00:00","dateModified":"2024-11-01T11:42:25+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37055\/"},"wordCount":460,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Kotlin Android app development"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37055\/","url":"https:\/\/atmokpo.com\/w\/37055\/","name":"Android App Development Course with Kotlin, Cloud Firestore - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:54:26+00:00","dateModified":"2024-11-01T11:42:25+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37055\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37055\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37055\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Android App Development Course with Kotlin, Cloud Firestore"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=37055"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37055\/revisions"}],"predecessor-version":[{"id":37056,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37055\/revisions\/37056"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}