How To Work With Any API (API Tutorial using URL Requests)

Learn how to work with any API using either their SDK or manually with web requests (This video is sponsored by 1 Year Free Hosting: Use code CHRIS for an additional $25!)

In this video, I’ll show an example of the Spotify API which has an iOS SDK and also an example of an OCR Text Extractor API from RapidAPI where we use Swift to manually make URL requests to the API endpoints.

You’ll learn how to construct a web request in Swift, specify the header parameters, http body, http method and more!

CodeWithChris Resource links:

Get a customized roadmap for your app and start building it in 7 days:

My Courses and Training:

ALL my recording equipment and recommended books:

To continue learning how to make apps with us, be sure to subscribe to our channel:

And we also have a thriving Facebook community where you can meet like-minded iOS learners and get support on your own iOS app development journey!

My guide for Xcode on Windows:

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like-minded learners! Learning something new is always more fun with other people!


CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Xcode and app building from my course and materials!

Here’s just a sample of the success stories my students have sent in:

#API #ApplicationProgrammingInterface #CodeWithChris

Post Author: hatefull