Mindmap
IA3 Mind Maps

Inhalt der Mindmap
IA3 Mind Maps
Data Interface
- JSON
- A lightweight, easy-to-read format that uses a simple syntax to represent data
- Syntax: { "key1":"value1", "key2":"value2", "key3":"value3", .....}
- XML
- A simple text-based format for representing structured information
- Syntax: <dataset> <record> <key1>value1</key1> <key2>value2</key2> </record> </dataset>
- Marvel API
- Character Data
- Parameters
- name
- Return only characters matching the specified full character name
- nameStartsWith
- Return characters with names that begin with the specified string
- modifiedSince
- Return only characters which have been modified since the specified date.
- comics
- Return only characters which appear in the specified comics
- series
- Return only characters which appear the specified series
- events
- Return only characters which appear in the specified events
- stories
- Return only characters which appear the specified stories
- name
- Parameters
- Documentation available
- Characters
- Events
- Comics
- Stories
- Keys
- Public key
- 5278347ba23518bc6348d7b5ff78d4cf
- Private key
- eafec30b32a48ec5f9f6fdaf8426df39f6179aba
- Limit of 3000 calls the application can make per day.
- Public key
- Errors
- Code
- integer
- the http status code of the error
- Status
- string
- a description of the error
- Code
- Results structure
- Data types
- integer
- string
- a container
- array (entity type)
- Data types
- Base endpoint
- http(s)://gateway.marvel.com/
- Authentication
- timestamp
- hash
- Character Data
- Marvel API
- JSON
Data Structures
- JSON
- Written as name/value pairs (aka key/value pairs).
- Uses keys - must be strings, written with double quotes.
- Array values must be of type string, number, object, array, boolean or null.
- XML
- XML documents are formed as element trees. An XML tree starts at a root element and branches from the root to child elements.
- JSON
Data Specifications
- Data Types
- JSON
- a string, number, object (JSON object), array, Boolean, null
- Cant be a function, date or undefined
- XML
- Boolean, integer, decimal, string, duration, dateTime, date, time.
- JSON
- Data Types
Digital methods of exchanging data
- JSON
- Translations
- JSON can very easily be translated into JavaScript.
- JavaScript can be used to make HTML in your web pages.
- CSS may easily be expressed in JSON notation
- JSON can very easily be translated into JavaScript.
- Advantages
- JSON is shorter, quicker to read and write and can use arrays. It also can be parsed and used by lots of programming languages,
- JSON is parsed into a ready-to-use JavaScript object.
- Translations
- XML
- Disadvantages
- XML is much more difficult to parse
- XML is longer, harder to read and write and slower overall.
- Disadvantages
- JSON
Data Exchange Protocols
- REST
- A set of principles that define how Web standards, such as HTTP and URIs, are supposed to be used
- HTTP is a protocol for fetching resources such as HTML documents. It is the foundation of any data exchange on the Web.
- Principles include uniform Interface, Client-sever, Stateless, Cacheable and Layered system.
- If an application follows all six principles they can be evaluated as RESTful
- A set of principles that define how Web standards, such as HTTP and URIs, are supposed to be used
- REST
Developmental Tools
- Python -> flask, requests, JSON
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Year 12 Digital Technologies Mindmap am IA3 Mind Maps, erstellt von Amaya Kannangara am 08/06/2023.
- Erstellt von
- Amaya Kannangara
- Aufrufe
- 0
- Bewertung
