{"id":117298,"date":"2020-08-29T06:58:27","date_gmt":"2020-08-29T06:58:27","guid":{"rendered":"https:\/\/blog.finxter.com\/?p=12367"},"modified":"2020-08-29T06:58:27","modified_gmt":"2020-08-29T06:58:27","slug":"python-one-line-append","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2020\/08\/29\/python-one-line-append\/","title":{"rendered":"Python One Line Append"},"content":{"rendered":"<p>Do you want to <a href=\"https:\/\/blog.finxter.com\/python-one-line-x\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python One Line X\">one-linerize<\/a> the <code>append()<\/code> method in Python? I feel you&#8212;writing short and concise one-liners can be an addiction! <img decoding=\"async\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72x72\/1f642.png\" alt=\"\ud83d\ude42\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n<p>This article will teach you all the ways to append one or more elements to a list in a single line of Python code!<\/p>\n<h2>Python List Append<\/h2>\n<p>Let&#8217;s quickly recap the append method that allows you add an arbitrary element to a given list.<\/p>\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-rich is-provider-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\"><iframe loading=\"lazy\" title=\"Python List append() Method\" width=\"1400\" height=\"788\" src=\"https:\/\/www.youtube.com\/embed\/0fteTqtUUik?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/p><\/div>\n<\/figure>\n<p>How can you add an elements to a given list? Use the <code>append()<\/code> method in Python.<\/p>\n<p><strong>Definition and Usage<\/strong><\/p>\n<p>The <code>list.append(x)<\/code> method&#8212;as the name suggests&#8212;appends element <code>x<\/code> to the end of the <code>list<\/code>. <\/p>\n<p>Here&#8217;s a short example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">>>> l = []\n>>> l.append(42)\n>>> l\n[42]\n>>> l.append(21)\n>>> l\n[42, 21]<\/pre>\n<p>In the first line of the example, you create the list <code>l<\/code>. You then append the integer element <code>42<\/code> to the end of the list. The result is the list with one element <code>[42]<\/code>. Finally, you append the integer element <code>21<\/code> to the end of that list which results in the list with two elements <code>[42, 21]<\/code>. <\/p>\n<p><strong>Syntax<\/strong><\/p>\n<p>You can call this method on each list object in Python. Here&#8217;s the syntax:<\/p>\n<p><code>list.append(element)<\/code><\/p>\n<p><strong>Arguments<\/strong><\/p>\n<figure class=\"wp-block-table is-style-stripes\">\n<table>\n<thead>\n<tr>\n<th>Argument<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>element<\/code><\/td>\n<td>The object you want to append to the list.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p><strong>Related articles:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/blog.finxter.com\/python-lists\/\" target=\"_blank\" rel=\"noreferrer noopener\">The Ultimate Guide to Python Lists<\/a><\/li>\n<li><a href=\"https:\/\/blog.finxter.com\/python-list-append\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python List append() Method\">List.append() method &#8212; A Simple Illustrated Guide<\/a><\/li>\n<\/ul>\n<h2>Python One Line List Append<\/h2>\n<p><strong>Problem<\/strong>: How can you <a href=\"https:\/\/blog.finxter.com\/how-to-create-a-python-list\/\" title=\"How to Create a Python List?\" target=\"_blank\" rel=\"noreferrer noopener\">create a list<\/a> and append an element to a list using only <a href=\"https:\/\/pythononeliners.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/pythononeliners.com\/\">one line<\/a> of Python code? <\/p>\n<p>You may find this challenging because you must accomplish two things in one line: (1) creating the list and (2) appending an element to it.<\/p>\n<p><strong>Solution<\/strong>: We use the standard technique to one-linerize each &#8220;flat&#8221; multi-line code snippet: with the semicolon as a separator between the expressions.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">a = [1, 2, 3]; a.append(42); print(a)<\/pre>\n<p>This way, we accomplish three things in a single line of Python code:<\/p>\n<ul>\n<li>Creating the <a href=\"https:\/\/blog.finxter.com\/python-lists\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"The Ultimate Guide to Python Lists\">list <\/a><code>[1, 2, 3]<\/code> and assigning it to the variable <code>a<\/code>.<\/li>\n<li>Appending the element 42 to the list referred to by <code>a<\/code>.<\/li>\n<li><a href=\"https:\/\/blog.finxter.com\/the-separator-and-end-arguments-of-the-python-print-function\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python Print Function [And Its SECRET Separator &amp; End Arguments]\">Printing <\/a>the list to the shell.<\/li>\n<\/ul>\n<p><strong>Related Article: <\/strong><a href=\"https:\/\/blog.finxter.com\/python-one-line-to-multiple-lines\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python One Line to Multiple Lines\">Python One Line to Multiple Lines<\/a><\/p>\n<h2>Python One Line For Append<\/h2>\n<p><strong>Problem<\/strong>: How can we append multiple elements to a list in a for loop but using only a single line of Python code?<\/p>\n<p><strong>Example<\/strong>: Say, you want to filter a list of words against another list and store the resulting words in a new list using the append() method in a for loop. <\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># FINXTER TUTORIAL:\n# How to filter a list of words? words = ['hi', 'hello', 'Python', 'a', 'the']\nstop_words = {'a', 'the'}\nfiltered_words = [] for word in words: if word not in stop_words: filtered_words.append(word) print(filtered_words)\n# ['hi', 'hello', 'Python']\n<\/pre>\n<p>You first create a list of words to be filtered and stored in an initially empty list <code>filtered_words<\/code>. Second, you create a <a href=\"https:\/\/blog.finxter.com\/sets-in-python\/\" title=\"The Ultimate Guide to Python Sets \u2013 with Harry Potter Examples\">set <\/a>of stop words against you want to check the words in the list. Note that it&#8217;s far more efficient to use the set data structure for this because <a href=\"https:\/\/blog.finxter.com\/complexity-of-python-operations\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Complexity of Python Operations\">checking membership in sets is much faster <\/a>than checking membership in lists. <a href=\"https:\/\/blog.finxter.com\/sets-in-python\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"The Ultimate Guide to Python Sets \u2013 with Harry Potter Examples\">See this tutorial for a full guide on Python sets.<\/a><\/p>\n<p>You now iterate over all elements in the list <code>words<\/code> and add them to the <code>filtered_words<\/code> list if they are not in the set <code>stop_words<\/code>. <\/p>\n<p><strong>Solution<\/strong>: You can one-linerize this filtering process using the following code:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">filtered_words = [word for word in words if word not in stop_words]<\/pre>\n<p>The solution uses <a href=\"https:\/\/blog.finxter.com\/list-comprehension\/\" title=\"List Comprehension in Python \u2014 A Helpful Illustrated Guide\">list comprehension<\/a> to, essentially, create a <a href=\"https:\/\/blog.finxter.com\/python-one-line-for-loop-a-simple-tutorial\/\" title=\"Python One Line For Loop [A Simple Tutorial]\">single-line for loop<\/a>. <\/p>\n<p>Here&#8217;s the complete code that solves the problem using the one-liner filtering method:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># FINXTER TUTORIAL:\n# How to filter a list of words? words = ['hi', 'hello', 'Python', 'a', 'the']\nstop_words = {'a', 'the'}\nfiltered_words = [word for word in words if word not in stop_words] print(filtered_words)\n# ['hi', 'hello', 'Python']<\/pre>\n<p>Here&#8217;s a short tutorial on filtering in case you need more explanations:<\/p>\n<p><strong>Related Article<\/strong>:<a href=\"https:\/\/blog.finxter.com\/how-to-filter-a-list-in-python\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"How to Filter a List in Python?\"> How to Filter a List in Python?<\/a><\/p>\n<h2>Python One Line If Append<\/h2>\n<p>In the previous example, you&#8217;ve already seen how to use the if statement in the list comprehension statement to append more elements to a list if they full-fill a given condition. <\/p>\n<p>How can you filter a list in Python using an arbitrary condition? The most Pythonic and most performant way is to use list comprehension <code>[x for x in list if condition]<\/code> to filter all elements from a list. <\/p>\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\"><iframe loading=\"lazy\" title=\"How to Filter a List in Python?\" width=\"1400\" height=\"788\" src=\"https:\/\/www.youtube.com\/embed\/3nG4TLkqzf8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/div>\n<\/figure>\n<p><strong>Try It Yourself:<\/strong><\/p>\n<p> <iframe loading=\"lazy\" src=\"https:\/\/repl.it\/@finxter\/filterlistpython?lite=true\" scrolling=\"no\" allowtransparency=\"true\" allowfullscreen=\"true\" sandbox=\"allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals\" width=\"100%\" height=\"400px\" frameborder=\"no\"><\/iframe> <\/p>\n<p>The most Pythonic way of filtering a list&#8212;in my opinion&#8212;is the list comprehension statement <code>[x for x in list if condition]<\/code>. You can replace condition with any function of <code>x<\/code> you would like to use as a filtering condition. <\/p>\n<p>For example, if you want to filter all elements that are smaller than, say, 10, you&#8217;d use the list comprehension statement <code>[x for x in list if x&lt;10]<\/code> to create a new list with all list elements that are smaller than 10. <\/p>\n<p>Here are three examples of filtering a list:<\/p>\n<ul>\n<li>Get elements smaller than eight: <code>[x for x in lst if x&lt;8]<\/code>.<\/li>\n<li>Get even elements: <code>[x for x in lst if x%2==0]<\/code>.<\/li>\n<li>Get odd elements: <code>[x for x in lst if x%2]<\/code>.<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">lst = [8, 2, 6, 4, 3, 1] # Filter all elements &lt;8\nsmall = [x for x in lst if x&lt;8]\nprint(small) # Filter all even elements\neven = [x for x in lst if x%2==0]\nprint(even) # Filter all odd elements\nodd = [x for x in lst if x%2]\nprint(odd)<\/pre>\n<p>The output is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Elements &lt;8\n[2, 6, 4, 3, 1] # Even Elements\n[8, 2, 6, 4] # Odd Elements\n[3, 1]<\/pre>\n<p>This is the most efficient way of filtering a list and it&#8217;s also the most Pythonic one. If you look for alternatives though, keep reading because I&#8217;ll explain to you each and every nuance of filtering lists in Python in this comprehensive guide.<\/p>\n<h2>Python Append One Line to File<\/h2>\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container\"><iframe loading=\"lazy\" title=\"Python One-Liner: Write String to File\" width=\"1400\" height=\"788\" src=\"https:\/\/www.youtube.com\/embed\/Kv7mdHFfiNM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/div>\n<\/figure>\n<p><strong>Problem<\/strong>: Given a string and a filename. How to write the string into the file with filename using only a <a href=\"https:\/\/pythononeliners.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/pythononeliners.com\/\">single line of Python code<\/a>?<\/p>\n<p><strong>Example<\/strong>: You have filename <code>'hello.txt'<\/code> and you want to write string <code>'hello world!'<\/code> into the file.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">hi = 'hello world!'\nfile = 'hello.txt' # Write hi in file '''\n# File: 'hello.txt':\nhello world! '''<\/pre>\n<p>How to achieve this? In this tutorial, you&#8217;ll learn four ways of doing it in a single line of code!<\/p>\n<p>Here&#8217;s a quick overview in our interactive <a href=\"https:\/\/blog.finxter.com\/how-to-embed-a-python-interpreter-in-your-website\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"How to Embed a Python Interpreter in Your Website?\">Python shell<\/a>:<\/p>\n<p> <iframe loading=\"lazy\" src=\"https:\/\/repl.it\/@finxter\/writefilesingleline?lite=true\" scrolling=\"no\" allowtransparency=\"true\" allowfullscreen=\"true\" sandbox=\"allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals\" width=\"100%\" height=\"900px\" frameborder=\"no\"><\/iframe> <\/p>\n<p><em><strong>Exercise<\/strong>: Run the code and check the file <code>'hello.txt'<\/code>. How many <code>'hello worlds!'<\/code> are there in the file? Change the code so that only one <code>'hello world!'<\/code> is in the file!<\/em><\/p>\n<p>The most straightforward way is to use the <code><a href=\"https:\/\/docs.python.org\/3\/reference\/compound_stmts.html#the-with-statement\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/docs.python.org\/3\/reference\/compound_stmts.html#the-with-statement\">with<\/a><\/code> statement in a single line (without line break). <\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">hi = 'hello world!'\nfile = 'hello.txt' # Method 1: 'with' statement\nwith open(file, 'a') as f: f.write(hi) '''\n# File: 'hello.txt':\nhello world! '''<\/pre>\n<p>You use the following steps:<\/p>\n<ul>\n<li>The <code>with<\/code> environment makes sure that there are no side-effects such as open files.<\/li>\n<li>The <code>open(file, 'a')<\/code> statement opens the file with filename <code>file<\/code> and <a href=\"https:\/\/blog.finxter.com\/python-list-append\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python List append() Method\">appends <\/a>the text you write to the contents of the file. You can also use <code>open(file, <strong>'w'<\/strong>)<\/code> to overwrite the existing file content.<\/li>\n<li>The new file returned by the <code>open()<\/code> statement is named <code>f<\/code>.<\/li>\n<li>In the <code>with<\/code> body, you use the statement <code>f.write(string)<\/code> to write <code>string<\/code> into the file <code>f<\/code>. In our example, the string is <code>'hello world!'<\/code>. <\/li>\n<\/ul>\n<p>Of course, a prettier way to write this in two lines would be to use proper <a href=\"https:\/\/blog.finxter.com\/pep-8-hanging-indentation-and-closing-brackets-in-python\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"PEP 8: Hanging Indentation and Closing Brackets in Python\">indentation<\/a>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">with open(file, 'a') as f: f.write(hi)<\/pre>\n<p>This is the most well-known way to write a string into a file. The big advantage is that you don&#8217;t have to close the file&#8212;the <code>with<\/code> environment does it for you! That&#8217;s why many coders consider this to be the most <a href=\"https:\/\/blog.finxter.com\/python-crash-course\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python Programming Tutorial [+Cheat Sheets]\">Pythonic <\/a>way.<\/p>\n<p>You can find more ways on my detailed blog article.<\/p>\n<p><strong>Related Article:<\/strong> <a href=\"https:\/\/blog.finxter.com\/python-one-liner-write-string-to-file\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Python One-Liner: Write String to File\">Python One-Liner: Write String to File<\/a><\/p>\n<h2>Python One-Liners Book<\/h2>\n<p><strong>Python programmers will improve their computer science skills with these useful one-liners.<\/strong><\/p>\n<figure class=\"wp-block-image size-medium is-resized\"><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07ZY7XMX8\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2020\/06\/3D_cover-1024x944.jpg\" alt=\"Python One-Liners\" class=\"wp-image-10007\" width=\"512\" height=\"472\" srcset=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2020\/06\/3D_cover-scaled.jpg 1024w, https:\/\/blog.finxter.com\/wp-content\/uploads\/2020\/06\/3D_cover-300x277.jpg 300w, https:\/\/blog.finxter.com\/wp-content\/uploads\/2020\/06\/3D_cover-768x708.jpg 768w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/figure>\n<p><a href=\"https:\/\/amzn.to\/2WAYeJE\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/amzn.to\/2WAYeJE\"><em>Python One-Liners<\/em> <\/a>will teach you how to read and write &#8220;one-liners&#8221;: concise statements of useful functionality packed into a single line of code. You&#8217;ll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert.<\/p>\n<p>The book&#8217;s five chapters cover tips and tricks, regular expressions, machine learning, core data science topics, and useful algorithms. Detailed explanations of one-liners introduce key computer science concepts and boost your coding and analytical skills. You&#8217;ll learn about advanced Python features such as list comprehension, slicing, lambda functions, regular expressions, map and reduce functions, and slice assignments. You&#8217;ll also learn how to:<\/p>\n<p><strong>\u2022<\/strong>&nbsp;&nbsp;Leverage data structures to solve real-world problems, like using Boolean indexing to find cities with above-average pollution<br \/><strong>\u2022<\/strong>&nbsp;&nbsp;Use NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statistics<br \/><strong>\u2022<\/strong>&nbsp;&nbsp;Calculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learning<br \/><strong>\u2022<\/strong>&nbsp;&nbsp;Create more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy\/nongreedy operators<br \/><strong>\u2022<\/strong>&nbsp;&nbsp;Understand a wide range of computer science topics, including anagrams, palindromes, supersets, permutations, factorials, prime numbers, Fibonacci numbers, obfuscation, searching, and algorithmic sorting<\/p>\n<p>By the end of the book, you&#8217;ll know how to write Python at its most refined, and create concise, beautiful pieces of &#8220;Python art&#8221; in merely a single line.<\/p>\n<p><strong><a href=\"https:\/\/amzn.to\/2WAYeJE\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/amzn.to\/2WAYeJE\"><em>Get your Python One-Liners Now!!<\/em><\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to one-linerize the append() method in Python? I feel you&#8212;writing short and concise one-liners can be an addiction! This article will teach you all the ways to append one or more elements to a list in a single line of Python code! Python List Append Let&#8217;s quickly recap the append method that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[857],"tags":[73,468,528],"class_list":["post-117298","post","type-post","status-publish","format-standard","hentry","category-python-tut","tag-programming","tag-python","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/117298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=117298"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/117298\/revisions"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=117298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=117298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=117298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}