

{"id":102152,"date":"2021-10-07T09:00:40","date_gmt":"2021-10-07T03:30:40","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=102152"},"modified":"2026-06-30T21:23:28","modified_gmt":"2026-06-30T15:53:28","slug":"python-extract-song-lyrics","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/","title":{"rendered":"Song Lyrics Extractor in Python"},"content":{"rendered":"<p>In this Python project, we will build a GUI-based Lyrics Extractor from Song using the Tkinter, requests and JSON libraries and messagebox module. It is a beginner level project, where you will learn how to extract data from online APIs by converting them into JSON and apply these concepts in a real life project. Let\u2019s get started!\ud83d\ude0a<\/p>\n<h3>About Lyrics Extractor:<\/h3>\n<p>A lyric extractor is used to take out the lyrics from a song. In our project, the user will provide the song name and the artist name and our program will then extract the lyrics of the song from a great resource called api.lyrics.ovh, using requests and JSON libraries.<\/p>\n<h3>About the project:<\/h3>\n<p>The objective of this is to create a GUI based Lyric Extractor. This is a beginner-level project and to build this, you will need basic understanding of Tkinter, requests and JSON libraries.<\/p>\n<h3>Project Prerequisites:<\/h3>\n<p>To build this project, we will need the following libraries:<\/p>\n<p>1. <strong>Tkinter &#8211;<\/strong> To create the GUI.<\/p>\n<p>2. <strong>Requests &#8211;<\/strong> To extract from the website and convert it to JSON format.<\/p>\n<p>3. <strong>JSON &#8211;<\/strong> To convert JSON format data to readable text.<\/p>\n<p>All of these libraries come pre-installed with Python, so you don\u2019t need to worry about installing them.<\/p>\n<h3>Download Python Song Lyrics Extractor Project<\/h3>\n<p>Download source code of python song lyrics extractor from the following link: <a href=\"https:\/\/drive.google.com\/file\/d\/19dpFIpGyIzppqz3lfiuW12aF2xniHaff\/view?usp=drive_link\"><strong>Song Lyrics Extractor Project Source Code<\/strong><\/a><\/p>\n<h3>Project File Structure:<\/h3>\n<p>Here are the steps you will need to execute to build this project:<\/p>\n<p>1. Importing the necessary libraries and modules<br \/>\n2. Creating the lyrics extraction function<br \/>\n3. Initializing the GUI window, placing components in it and finalizing it<\/p>\n<p>Let\u2019s take a closer look at these steps:<\/p>\n<h4>1. Importing the necessary libraries and modules:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Importing necessary libraries\r\nfrom tkinter import *\r\nimport tkinter.messagebox as mb\r\n\r\nimport json\r\nimport requests\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<p>Tkinter.messagebox module is used to display certain boxes as an external window which can display some information, an error, ask a yes or no question, etc.<\/p>\n<h4>2. Creating the lyrics extraction function:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Function to extract lyrics\r\ndef extract_lyrics():\r\n    global artist, song\r\n    artist_name = str(artist.get())\r\n    song_name = str(song.get()).lower()\r\n    link = 'https:\/\/api.lyrics.ovh\/v1\/'+artist_name.replace(' ', '%20')+'\/'+song_name.replace(' ', '%20')\r\n\r\n    req = requests.get(link)\r\n    json_data = json.loads(req.content)\r\n\r\n    try:\r\n        lyrics = json_data['lyrics']\r\n\r\n        exec(\"print(lyrics)\")\r\n\r\n        mb.showinfo('Lyrics printed', f'The lyrics to the song you wanted have been extracted, and have been printed on your command terminal.')\r\n    except:\r\n        mb.showerror('No such song found',\r\n        'We were unable to find such a song in our directory. Please recheck the name of the artist and the song, and if it correct, we apologize because we do not have that song available with us.')\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>In this step, we will create a function that will extract the lyrics from the song name and artist name.<\/li>\n<li>First off, we will make the scope of the StringVar() variables containing the name of the song and artist, global. Then we will format those names according to the format to what is acceptable by our API website and generate a link accordingly (which will be stored in the variable \u2018link\u2019).<\/li>\n<li>Then we will get the data of that website using requests.get(link) and load\/convert it to JSON format using json.loads(req).<\/li>\n<li>After that, we will run a try-except statement to see if the song is available with our API or not.<\/li>\n<li>The \u2018lyrics\u2019 variable will store whatever is the value of the key lyrics in the JSON data that we recovered earlier. If the song is found, we will print the lyrics and display an information box that tells us that the lyrics have been printed on the console.<\/li>\n<li>The exec() function will be used to print the lyrics because the value of key lyrics contains escape characters as well, and they need to be executed as in an actual print statement.<\/li>\n<li>If the song is not found and the lyrics key is unavailable, it will throw an error, in which case we will go to the except statement and the error would be displayed using the mb.showerror() function.<\/li>\n<\/ul>\n<h4>3. Initializing the GUI window, placing components in it, and finalizing it:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Initializing the window\r\nroot = Tk()\r\nroot.title(\"DataFlair Song Lyrics Extractor\")\r\nroot.geometry(\"600x200\")\r\nroot.resizable(0, 0)\r\nroot.config(bg='CadetBlue')\r\n\r\n# Placing the components\r\nLabel(root, text='DataFlair Song Lyrics Extractor', font=(\"Comic Sans MS\", 16, 'bold'), bg='CadetBlue').pack(side=TOP,fill=X)\r\n\r\nLabel(root, text='Enter the song name: ', font=(\"Times New Roman\", 14), bg='CadetBlue').place(x=20, y=50)\r\nsong = StringVar()\r\nEntry(root, width=40, textvariable=song, font=('Times New Roman', 14)).place(x=200, y=50)\r\n\r\nLabel(root, text='Enter the artist\\'s name: ', font=(\"Times New Roman\", 14), bg='CadetBlue').place(x=20, y=100)\r\nartist = StringVar()\r\nEntry(root, width=40, textvariable=artist, font=('Times New Roman', 14)).place(x=200, y=100)\r\n\r\nButton(root, text='Extract lyrics', font=(\"Georgia\", 10), width=15, command=extract_lyrics).place(x=220, y=150)\r\n\r\n# Finalizing the window\r\nroot.update()\r\nroot.mainloop()\r\n<\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>In this step, we will create our entire Python GUI window to extract lyrics from song.<\/li>\n<li>By creating a Tk() instance, we create our window. The .title(), .geometry(), .resizable() methods are used to set the title and geometry (in pixels) of the window and decide if the window will be allowed to resize while active or not. The .config() method will be used to change the background color of the window.<\/li>\n<li>After that, we will create a head label, packed to the center of the top side, using Label() class objects and the .pack() geometry manager method.<\/li>\n<li>In our window, there will be two labels, one below the other, telling the user to enter the song\/artist name in the adjacent entry fields (that will be created using Entry() class).<\/li>\n<li>At the bottom of the window, there will be a button with the command as the extract_lyrics() function. So, when we press the button, the function executes.<\/li>\n<li>Eventually, we will finalize our window using the root.mainloop() statement which prevents the window from shutting down as soon as it opens.<\/li>\n<\/ul>\n<h4>4. The final code:<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Importing necessary libraries to extract lyrics from song using Python\r\nfrom tkinter import *\r\nimport tkinter.messagebox as mb\r\n\r\nimport json\r\nimport requests\r\n\r\n# Functions\r\ndef extract_lyrics():\r\nglobal artist, song\r\nartist_name = str(artist.get())\r\nsong_name = str(song.get()).lower()\r\nlink = 'https:\/\/api.lyrics.ovh\/v1\/'+artist_name.replace(' ', '%20')+'\/'+song_name.replace(' ', '%20')\r\n\r\nreq = requests.get(link)\r\njson_data = json.loads(req.content)\r\n\r\ntry:\r\nlyrics = json_data['lyrics']\r\n\r\nexec(\"print(lyrics)\")\r\n\r\nmb.showinfo('Lyrics printed', f'The lyrics to the song you wanted have been extracted, and have been printed on your command terminal.')\r\nexcept:\r\nmb.showerror('No such song found',\r\n'We were unable to find such a song in our directory. Please recheck the name of the artist and the song, and if it correct, we apologize because we do not have that song available with us.')\r\n\r\n\r\n# Initializing the window\r\nroot = Tk()\r\nroot.title(\"DataFlair Song Lyrics Extractor\")\r\nroot.geometry(\"600x200\")\r\nroot.resizable(0, 0)\r\nroot.config(bg='CadetBlue')\r\n\r\n# Placing the components\r\nLabel(root, text='DataFlair Song Lyrics Extractor', font=(\"Comic Sans MS\", 16, 'bold'), bg='CadetBlue').pack(side=TOP,fill=X)\r\n\r\nLabel(root, text='Enter the song name: ', font=(\"Times New Roman\", 14), bg='CadetBlue').place(x=20, y=50)\r\nsong = StringVar()\r\nEntry(root, width=40, textvariable=song, font=('Times New Roman', 14)).place(x=200, y=50)\r\n\r\nLabel(root, text='Enter the artist\\'s name: ', font=(\"Times New Roman\", 14), bg='CadetBlue').place(x=20, y=100)\r\nartist = StringVar()\r\nEntry(root, width=40, textvariable=artist, font=('Times New Roman', 14)).place(x=200, y=100)\r\n\r\nButton(root, text='Extract lyrics', font=(\"Georgia\", 10), width=15, command=extract_lyrics).place(x=220, y=150)\r\n\r\n# Finalizing the window\r\nroot.update()\r\nroot.mainloop()<\/pre>\n<h3>Python Song Lyrics Extractor Output<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-extract-song-lyrics-output.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-103307\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-extract-song-lyrics-output.webp\" alt=\"python extract song lyrics output\" width=\"1883\" height=\"796\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-extract-song-lyrics-output.webp 1883w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-extract-song-lyrics-output-768x325.webp 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-extract-song-lyrics-output-1536x649.webp 1536w\" sizes=\"auto, (max-width: 1883px) 100vw, 1883px\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Congratulations! You have now created your own GUI to extract Lyrics from song using the only in-built Python libraries where you only have to provide it the name of the song and the artist.<\/p>\n<p>Have fun coding with it!\ud83d\ude0a<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2551,&quot;href&quot;:&quot;https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/19dpFIpGyIzppqz3lfiuW12aF2xniHaff\\\/view?usp=drive_link&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20260601071004\\\/https:\\\/\\\/drive.google.com\\\/file\\\/d\\\/19dpFIpGyIzppqz3lfiuW12aF2xniHaff\\\/view?usp=drive_link&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-06-02 06:34:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-05 16:10:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-10 17:45:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-14 05:59:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-18 08:03:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-21 10:34:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-25 12:39:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-29 16:10:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-02 16:39:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-07 03:43:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-11 05:36:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-16 08:04:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-19 08:25:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-23 07:47:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-26 15:54:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-29 18:53:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-08-02 11:02:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-08-05 11:19:45&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-08-05 11:19:45&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Python project, we will build a GUI-based Lyrics Extractor from Song using the Tkinter, requests and JSON libraries and messagebox module. It is a beginner level project, where you will learn how&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":103306,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[25444,25474,21082,22734,25440,25441,25443,25442],"class_list":["post-102152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-extract-lyrics-from-song-using-python","tag-python-extract-song-lyrics","tag-python-project","tag-python-project-for-beginners","tag-python-songs-lyrics-extractor","tag-python-songs-lyrics-extractor-project","tag-python-songs-lyrics-extractor-source-code","tag-songs-lyrics-extractor-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Song Lyrics Extractor in Python - DataFlair<\/title>\n<meta name=\"description\" content=\"Create GUI Based Python Project to extract lyrics from song in easy steps using Tkinter, requests and JSON libraries &amp; messagebox modules.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Song Lyrics Extractor in Python - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Create GUI Based Python Project to extract lyrics from song in easy steps using Tkinter, requests and JSON libraries &amp; messagebox modules.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-07T03:30:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-30T15:53:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Song Lyrics Extractor in Python - DataFlair","description":"Create GUI Based Python Project to extract lyrics from song in easy steps using Tkinter, requests and JSON libraries & messagebox modules.","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:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/","og_locale":"en_US","og_type":"article","og_title":"Song Lyrics Extractor in Python - DataFlair","og_description":"Create GUI Based Python Project to extract lyrics from song in easy steps using Tkinter, requests and JSON libraries & messagebox modules.","og_url":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-10-07T03:30:40+00:00","article_modified_time":"2026-06-30T15:53:28+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Song Lyrics Extractor in Python","datePublished":"2021-10-07T03:30:40+00:00","dateModified":"2026-06-30T15:53:28+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/"},"wordCount":797,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp","keywords":["Extract lyrics from song using python","python extract song lyrics","Python project","python project for beginners","Python Songs Lyrics Extractor","Python Songs Lyrics Extractor Project","Python Songs Lyrics Extractor source code","Songs Lyrics Extractor project"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/","url":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/","name":"Song Lyrics Extractor in Python - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp","datePublished":"2021-10-07T03:30:40+00:00","dateModified":"2026-06-30T15:53:28+00:00","description":"Create GUI Based Python Project to extract lyrics from song in easy steps using Tkinter, requests and JSON libraries & messagebox modules.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/10\/python-project-song-lyrics-extractor.webp","width":1200,"height":628,"caption":"python project song lyrics extractor"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-extract-song-lyrics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Python Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/python\/"},{"@type":"ListItem","position":3,"name":"Song Lyrics Extractor in Python"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=102152"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102152\/revisions"}],"predecessor-version":[{"id":148828,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/102152\/revisions\/148828"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/103306"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=102152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=102152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=102152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}