shlogg · Early preview
Shakhzhakhan Maxudbek @xinitd

Learning XML With Python Requests Library

XML explained in simple terms, used for storing structured data & creating custom tags. Example: breakfast menu with name, price, description & calories. Working with XML & Python Requests library to extract data.

What is XML? XML mean Extensible Markup Language, which need for storing structured data and group any items. In XML markup language you may create tags with any names. The most popular examples of XML - Sitemaps and RSS feeds.
Example of XML file:

<breakfast_menu>
   <food>
       <name>Belgian Waffles</name>
       <price>$5.95</price>
       <description>Two of our famous Belgian Waffles with plenty of real maple syrup</description>
       <calories>650</calories> </food>
   <food>
       <name>Strawberry Belgian Waffles</name>
       <price>$7.95</price>
       <description>Light Belgian...