SlideShare a Scribd company logo
!"#$%"$&'($)"'%*+,$%"$*+-($.(/&('%'$%"$+$0123$4)5$
6,$".7(.$%"$7(8(9":$+$;(<$4::$6,$)=%>",$?@+,A"
Postman & Python:
!"#!"#$%&'%()*+,-,.%/$,&0
!"#$%"$&'($)"'%*+,$%"$*+-($.(/&('%'$%"$+$0123$4)5$
6,$".7(.$%"$7(8(9":$+$;(<$4::$6,$)=%>",$?@+,A"
Postman & Python:
!" !"#$%&'%() +,-,.%/$,&0
What	will	I	learn?
How	to:
• Research	and	choose	an	API	suited	for	your	application
• Use	Postman	for	making	requests	to	APIs
• Construct	query	strings	with	parameters
• Annotate	and	share	Postman	research
• Start	developing	a	Python	Django	Web	App
Chapter	I:	APIs
671*85)9,#:-8('%#).#34+52#;<<=#> ;<?=
2"&.C(B$>%%:'BGG###H:."A.+**+<9(#(<HC"*G,(#'G:."A.+**+<9(#(<I+:6I76.(C%".=I(C96:'('IJKLLLI+:6I(C","*=IC",%6,&('I'&.A(G.('(+.C>GMLJKGLNGJN
$%)@%#34+#)5#A,5'#B8-#C8D-#311/##08.5)E,-2
! 5'$6%$(+'=$%"$D6,7$%>($7+%+$="&$'((-$6,$4)5$7"C&*(,%+%6",O$$
! 5'$6%$(+'=$%"$9(+.,$%>($'=,%+P$"D$C+99$'%.&C%&.(O$
!"#$%&'()*+#",-'-
Impact	of	API	on	Development
For	REST	requests	in	JSON:	
• Is	the	correct	type	of	data	available?	
• Language?	Currency?	Year-Range?
• Are	there	examples	of	query	strings/calls?	
• Are	the	endpoints	well	documented?	
• Are	the	parameters	clearly	defined?
• Is	it	easy	to	construct	a	query	string?
• How	complex	is	the	data	object	to	parse	in	the	program?
• Should	I	implement	client-side	caching	of	API	calls?	
• 100% Uptime/Availability?
Chapter	II:	Postman	for	Developers
485'F&.#
08FFD.)'C#
HD-9,C
34+#I88*5
1,)),&0'".*0%*
2%#34.%25
Our	prototype	must	show	GDP/PIL	in	Italy
GDP:	
Monetary measure of	the	market	value	of	all	final	goods	and	
services	produced	in	a	period	(quarterly	or	yearly)	
of time. Nominal	GDP estimates	are	commonly	used	to	
determine	the	economic	performance	of	a	whole	country	or	
region,	and	to	make	international	comparisons.
Source:	https://en.wikipedia.org/wiki/Gross_domestic_product
World	Bank	API:	Example
Constructing	an	API	call	with	query	parameters
http://api.worldbank.org/countries/it/indicators/NY.GDP.MKTP.CD?format=json&per_page=500&date=1975:2015
Endpoint Query	parameters
0&5,#H'DEC2#$8-*E#M&.N#34+#G8@DF,.'&')8.
34'56$*270829'$$:26'#'5*-*#,2
;#"52!"#$%2&'()27081
I (,7:"6,%$
I deC"&,%.6('G,-Gef$.(D(.'$%"
%#"I76A6%$52S$C"&,%.=$C"7(
Y(HAH$g.+h69Z
I dG6,76C+%".'Gf$7+%+$*(+,'$
(C","*6C$6,76C+%".'$
I TVH[?)HX^3)HF?
[."''$?"*('%6C$)."7&C%
671*8-,#'%,#H%&1,#8B#G&'&2#I(8#Q,'%8E5#8B#34+#@&**5
./0#1&+'1&'2&#/-&/#'3-%40/-
./0#1&+'1&'56-78'
TS312B$>%%:'BGG7+%+>(9:7('-H#".97<+,-H".AG-,"#9(7A(<+'(G+.%6C9('GbLMLijI7(8(9":*(,%I<('%I:.+C%6C('G
485'F&.#'8#'%,#-,5@D,R
4JHIQ3S#T+2#
6.',-#1&-&F,',-5#'8#-,'-),9,#,@8.8F)@#E&'&
Postman	UI:	Add	info	in	“Description”
Add	a	description	to	clarify	research	
goals	and	to	enlighten	your	colleagues.
6.',-#.8',5#8.#'%,#B8*E,-
477$+$7('C.6:%6",$
%"$%>($D"97(.H
F.(+%($+$
'>+.(+<9($96,-$D".$
="&.$%(+*k 2(9(C%$<&%%",
d86(#$6,$#(<f
W),(#).#$,A
[(,(.+%('$+,$4)5$
7"C&*(,%+%6",$;(<$:+A(
H&9,#34+#-,PD,5'#'8#&#@8**,@')8.
0(/&('%$,+*(B$
F.(+%($+$&,6/&($
,+*($D".$%>($
.(/&('%
2+8($%>($.(/&('%$
6,$+,$(P6'%6,A$
C"99(C%6",l$".$
F.(+%($+$C"99(C%6",
Chapter	III:	from	Postman	to	Python
X8D-#B)-5'#GY&.O8#3112#3.&*)5'&
>%%:'BGG7"C'H7@+,A":."@(C%HC"*G(,GJHJJG6,%."G%&%".6+9LJG
F"**+,7$YFU5Z$%"$('%+<96'>$+$?@+,A" :."@(C%B$
! 9 !"#$%&'#!()$*+,#-,.-&"/0,*(1+),/*
m(.6D=$:."@(C%$#".-'B$
! < :=%>",$*+,+A(H:=$.&,'(.8(.$
3>($"&%(. *='6%(G .""%$76.(C%".=$6'$@&'%$+$
C",%+6,(.$D".$="&.$:."@(C%H$5%'$,+*($
7"(',n%$*+%%(.$%"$?@+,A"l$="&$C+,$
.(,+*($6%$%"$+,=%>6,A$="&$96-(H
*+,+A(H:=B$4$C"**+,7I96,($&%696%=$%>+%$
9(%'$="&$6,%(.+C%$#6%>$%>6'$?@+,A"$
:."@(C%$6,$8+.6"&'$#+='H$V"&$C+,$.(+7$+99$
%>($7(%+69'$+<"&%*+,+A(H:= 6, 7@+,A"I
+7*6,$+,7$*+,+A(H:=H
5,,(. *='6%(G 76.(C%".=$6'$%>($+C%&+9$
)=%>",$:+C-+A($D".$="&.$:."@(C%H$5%'$
,+*($6'$%>($)=%>",$:+C-+A($,+*($="&n99$
,((7$%"$&'($%"$6*:".%$+,=%>6,A$6,'67($6%$
Y(HAH *='6%(H&.9'ZH
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)
]
Analista/	resides	at	parent	level	of	directory	
analista/
__init__.py	
admin.py	
apps.py	
migrations/	
__init__.py	
models.py	
tests.py	
views.py	
manage.py
MTV	vs.	MVC?
Django	uses	MTV
Model(M) is	a	model	of	the	data	access	layer.	It	defines:
- How	to	access	data
- How	to	validate	data
- What	are	the	relationships	between	the	data
Template	(T) is	the	presentation	layer.	It	defines:		
- How	something	should	be	displayed	on	a	Web	page
View	(V)	is the	business	logic	layer.	Defines	the	logic	that:	
- Accesses	the	model	and	references	the	appropriate	template(s).
F8E,*5[1C2#U6@8.8F)@#H.&15%8'V
;($D"C&'$",B
! V(+.
! m+9&(
! F"&,%.=
9),(5[1C2#-,.E,-5#'%,#',F1*&',
;($"<%+6,$%>($
.(/&('%(7$D69($
6,$&.9'H:=H
;($":(,G(76%$
86(#'H:=$%"$
:."A.+*$%>($
:.('(,%+%6",$
9+=(.H$$
9),(5[1C2#4-8O-&F#'%,#9),(#).',O-&',#34+#-,PD,5']
D"-*12
;($6,%(A.+%($%>($4)5$
.(/&('%$D."*$)S23X4T
I 1,7:"6,%$
I c&(.=$'%.6,A
3"$86(# (,%6.($.(/&('%
86'6%$%>($;(<'6%(B
>%%:'BGG+,+96'%+::HA96%C>H
*(
E'($[""A9($F>."*($",9=
F>+.%$.(,7(.'$6,$
d'6*:9(]C>+.%H>%*9f
',F1*&',5K5)F1*,^@%&-'[%'F*
Let’s	Build	an	App!
AnalistApp
https://analistapp.glitch.me
NOTE:	Use	only	Google	Chrome	to	view	prototype
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
There	are	many	possibilities	
for	further	development:
We	can	do	more	research	on	the	API	to	learn	what	other	resources	are	
available	to	us.
We	can	make	new	requests	using	different	economic	indicators
• GNI
• FDI
(see	previous	page)
We	can	develop	new	views	that	will	display	different	economic	
indicators	in	views.py.
We	should	return	to	wireframes	to	develop	user	stories	and	our	epic.
4-8'8'C1,#8B#'%,#311*)@&')8.
:G4K4+L#).#+'&*C2#?``a> ;<?a
Other	information
Goodbye	to	POSTMAN	for	Google	Chrome:
• http://blog.getpostman.com/2017/11/01/goodbye-postman-chrome-
app/
You	can	download	the	native	POSTMAN	application	here:
• https://www.getpostman.com/apps
Works	Cited
Django	Girls	Tutorial	(Italiano):	https://tutorial.djangogirls.org/it/
Django	Girls	Tutorial	(Inglese):	
https://www.gitbook.com/book/djangogirls/djangogirls-tutorial/details
Django	Documentation:	https://docs.djangoproject.com/en/1.11/intro/tutorial01/
Postman	Community	Survey:
http://pages.getpostman.com/rs/067-UMD-991/images/Postman-Survey-Results-
Infographic.pdf
Programmable	Web:	
https://www.programmableweb.com/news/programmableweb-api-directory-
eclipses-17000-api-economy-continues-surge/research/2017/03/13
Ultimate	Django:	https://ultimatedjango.com/
World	Bank	API:	
https://datahelpdesk.worldbank.org/knowledgebase/articles/898581-api-basic-
call-structure

More Related Content

KEY
Device deployment
KEY
Evolving systems and the link to service orientation
KEY
Massive device deployment - EclipseCon 2011
PDF
Comunidad educativa pdf
PDF
Independent Learning: The Internet and Its Implications for Education
KEY
Rails by example
KEY
Young Lions Media 2011 / SPYL509
PDF
Tvl simple value winner
Device deployment
Evolving systems and the link to service orientation
Massive device deployment - EclipseCon 2011
Comunidad educativa pdf
Independent Learning: The Internet and Its Implications for Education
Rails by example
Young Lions Media 2011 / SPYL509
Tvl simple value winner

What's hot (20)

PDF
Changing climate change before it changes us
PDF
All about Apache ACE
PDF
Marketing Digital - parte 3
PDF
Google Earth Getting Started
PDF
IoT Context-aware mobile services - Jarno Malaprade - Tietotalo
PDF
Addiction treatments brochure
PDF
Varias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
PDF
323 n ministerial
PDF
NRI Report
PDF
5 detox scams to avoid
PDF
Patricia sarrias activitat2
PDF
Diseño centro de diseño en andalucía
PDF
Les serrures abloy par vedis
PDF
Ellzey 5611 module 3
PDF
Self Review and Personal Growth
PDF
How to Execute Effective Media Relations
PDF
If songs were lines in a conversation. Nick Drake
PDF
Content exchanges for_trailblazers
PDF
Noung — Snakes of the Tonle Sap
PDF
Kasdorf, EPUB 3: Not Your Father’s EPUB
Changing climate change before it changes us
All about Apache ACE
Marketing Digital - parte 3
Google Earth Getting Started
IoT Context-aware mobile services - Jarno Malaprade - Tietotalo
Addiction treatments brochure
Varias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
323 n ministerial
NRI Report
5 detox scams to avoid
Patricia sarrias activitat2
Diseño centro de diseño en andalucía
Les serrures abloy par vedis
Ellzey 5611 module 3
Self Review and Personal Growth
How to Execute Effective Media Relations
If songs were lines in a conversation. Nick Drake
Content exchanges for_trailblazers
Noung — Snakes of the Tonle Sap
Kasdorf, EPUB 3: Not Your Father’s EPUB
Ad

Similar to Postman & Python: Harmonious Development (20)

PPTX
Grant's Copy of APIs 101 Workshop.pptx
PDF
[GDSC-ADYPU] APIs 101 with Postman
PDF
API 101 event.pdf
PPTX
Nishit - APIs 101 Workshop.pptx
PDF
A Beginner's Guide to API Testing in Postman
PPTX
40+ tips to use Postman more efficiently
PDF
POST/CON Keynote 2019
PDF
POST/CON 2019 Workshop: Fundamentals
PPT
Postman.ppt
PDF
Facebook & Twitter API
PDF
Building RESTful APIs
PPTX
POSTMAN.pptx
PPTX
Test automation of ap is using postman
PDF
API_Testing_with_Postman
DOCX
Api testing bible using postman
ODP
Accelerate Quality with Postman Advance
PDF
Coding 100-session-slides
PPTX
Postman PowerPoint template is a free template with a postman illustration an...
PDF
Session 8 Android Web Services - Part 1.pdf
PDF
Building an API with Django and Django REST Framework
Grant's Copy of APIs 101 Workshop.pptx
[GDSC-ADYPU] APIs 101 with Postman
API 101 event.pdf
Nishit - APIs 101 Workshop.pptx
A Beginner's Guide to API Testing in Postman
40+ tips to use Postman more efficiently
POST/CON Keynote 2019
POST/CON 2019 Workshop: Fundamentals
Postman.ppt
Facebook & Twitter API
Building RESTful APIs
POSTMAN.pptx
Test automation of ap is using postman
API_Testing_with_Postman
Api testing bible using postman
Accelerate Quality with Postman Advance
Coding 100-session-slides
Postman PowerPoint template is a free template with a postman illustration an...
Session 8 Android Web Services - Part 1.pdf
Building an API with Django and Django REST Framework
Ad

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Spectroscopy.pptx food analysis technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectroscopy.pptx food analysis technology
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Postman & Python: Harmonious Development