This document provides an overview of using APIs, Postman, and Python to build a web application. It discusses researching and selecting an API, making requests using Postman, and constructing query strings. It then covers integrating an API into a Django web framework application in Python. The document demonstrates building a prototype app that retrieves economic indicator data from the World Bank API and displays it. It identifies opportunities for further developing the app, such as adding additional indicators and views.
22. Django Web Framework
• Django Project has multiple applications:
• Core application
• Module “applications” represent a single aspect of a project.
• DB: SQLite for development only (PostGres, MySQL, NoSQL)
• APPS are registered in the settings.py file:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
[… ecc.]
’analista.apps.AnalistaConfig’….. (ecc)
]
30. Model: Economic Indicators
GDP:
Monetary measure of the market value of all final goods and
services produced in a period (quarterly or yearly) of time.
GNI:
Total domestic and foreign output claimed by residents of a
country, consisting of gross domestic product (GDP), plus factor
incomes earned by foreign residents, minus income earned in
the domestic economy by nonresidents.
FDI:
Investment in the form of a controlling ownership in
a business in one country by an entity based in another
country.[1].
Sources: https://en.wikipedia.org/wiki/Gross_domestic_product; https://en.wikipedia.org/wiki/Foreign_direct_investment;
https://en.wikipedia.org/wiki/Gross_national_income