In this article, we will learn to fetch data from nested JSON in API using URLSession in Swift programming language.

Also, please check out my article, Fetch Data From API Using URLSession, to start with a simpler example.

Prerequisites

  1. MacOS
  2. XCode