Learn API Documentation with JSON and XML

Learn API Documentation with JSON and XML

1h 19mIntermediate2017-01-30

Authors

Peter Gruenbaum

Peter Gruenbaum

Computer Programmer, Technical Writer

Course details

Document the ins and outs of the data sent and received by web APIs so that developers can understand how to build applications that can successfully use that data. Programming and technical writing expert Peter Gruenbaum knows that APIs are becoming increasingly more important, which is why, in this course, he shows you how to document structured data using data-interchange formats to help you establish strong, foundational skills in web API documentation. Peter shares the benefits of creating good documentation, explains the differences between responses and requests, and discusses how to work with common data types and collections—from numbers and text to arrays and dictionaries. He then shows how to create and document structured data using JSON and then XML. He wraps up the course by examining the pros and cons of available documentation and collaboration tools like wikis and knowledge bases.

Learning objectives
The purpose of documentation
Data types
Structured data
Writing JSON and XML
Markdown
Documenting one-level JSON responses
Documenting nested JSON responses
XML attributes and examples
Documenting XML
Structuring data documentation

Skills covered

XMLJSONAPIsFront-End Web DevelopmentLearningWeb DevelopmentProgramming LanguagesOpen SourceSoftware Development

Concepts

Introduction to JSON and XML Documentation

  • Welcome
  • What you should know
  • Using the exercise files
  • Why document JSON and XML
  • Data types and structured data
  • Tools for writing JSON and XML
  • Markdown
  • Markdown challenge
  • Markdown solution

JSON

  • JSON basics
  • JSON examples
  • Create JSON challenge
  • Create JSON solution
  • Documenting one-level JSON responses
  • Documenting nested JSON responses
  • Documenting JSON requests
  • Documenting JSON challenge
  • Documenting JSON solution

XML

  • XML basics
  • XML attributes and examples
  • Advanced XML
  • XML challenge
  • XML solution
  • Documenting XML
  • XML documentation challenge
  • XML documentation solution

Tools

  • Tools for structured data documentation
  • Using structured data for documentation

Conclusion

  • Next steps
40,000 Toman