Using Web Services
[Pages:57]Using Web Services
Chapter 13
Python for Informatics: Exploring Information
Unless otherwise noted, the content of this course material is licensed under a Creative Commons Attribution 3.0 License. .
Copyright 2009- Charles Severance.
Data on the Web
? With the HTTP Request/Response well understood and well
supported there was a natural move toward exchanging data between programs using these protocols
? We needed to come up with an agreed way to represent data going
between applications and across networks
? There are two commonly used formats: XML and JSON
Sending Data across the lNetz
Python
Dictionary
Java
HashMap
a.k.a. lWire Protocolz - What we send on the lwirez
Agreeing on a lWire Formatz
Python
Dictionary
Chuck
De-Serialize
Serialize
303 4456
Java
HashMap
XML
Agreeing on a lWire Formatz
Python
Dictionary
{
"name" :
De-Serialize
"Chuck",
"phone" :
Serialize
"303-4456"
}
Java
HashMap
JSON
XML lElementsz (or Nodes)
? Simple Element
? Complex Element
Chuck
303 4456
Noah
622 7421
XML
Marking up data to send across the network...
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- amazon web services revenue
- amazon web services revenue 2018
- amazon web services profitability 2018
- amazon web services revenue history
- amazon web services financials
- amazon web services annual report
- amazon web services revenue 2019
- amazon web services strategic plan
- amazon web services cloud
- amazon web services growth
- amazon web services history
- amazon web services cloud platform