YUNOVA · Python programming

Module 17: APIs & First Web App

Notes for offline study · 30 November 2026

Python requests se API call karna

Key points

  • requests library से Python किसी website या API से data माँगता है।
  • जवाब के साथ एक code आता है जो बताता है सब ठीक है या नहीं।
  • 200 का मतलब ठीक और 404 का मतलब वह चीज़ मिली ही नहीं।

Python me JSON data read karna

Key points

  • JSON data dictionary जैसा दिखता है, नाम और value के जोड़ों में।
  • एक command से वह सीधे Python dictionary बन जाता है।
  • अंदर की value key लिखकर निकाली जाती है।

Flask se pehla web app banana

Key points

  • Flask एक छोटी library है जिससे Python में website बनती है।
  • पहले app बनाया जाता है, फिर उसे चलाया जाता है।
  • चलने पर वह आपके अपने computer के पते पर खुलती है।

Flask me route aur HTML template

Key points

  • Route तय करता है कि कौन-सा पता खुलने पर कौन-सा function चले।
  • अकेला slash घर वाले पते के लिए होता है।
  • HTML file templates नाम के folder में रखी जाती है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.

Notes: APIs & First Web App | YUNOVA