#thingssharing
Explore tagged Tumblr posts
Text
API INTEGRATION IN SWIFT(part 1)
API means Application Programming Interface
It's main purpose is to bring applications together in order to perform a designed function.
It helps us to make repetitive yet complex processes highly reusable with a little bit if code.
Overview of API
![Tumblr media](https://64.media.tumblr.com/960ca75dd89d390e37c9ca88e7a905f5/0e5a66c74080408c-83/s640x960/f9bb9132f8af909c94e5957d4fdb2ac54c382444.jpg)
Via theory wise first in order to get the data from API we need to send a request.
So, we prepare a request object.
A Request object contains
• URL
• Header Parameters
• Body Data
In code wise we need to follow several steps to achieve that task of getting the data via API
![Tumblr media](https://64.media.tumblr.com/ad1795242e292773e1fdaa80e9d3e086/0e5a66c74080408c-7f/s540x810/d6feb27bbcef76422ee79d1249145966f52af33a.jpg)
So theory wise get to know these things.
We will continue this in the next part🤗
Happy learning!!
#swiftprogramming#swiftlanguage#learnwithkdp#developers & startups#thingssharing#api integration#swift app development company#url request#data parsing
5 notes
·
View notes