Using REST APIs in a web application | Quick PHP Tutorial

preview_player
Показать описание
In this video I show you how to create a simple web application which converts a location into latitude and longitude using the Google Maps API. Then it uses those coordinates to pull images taken in that location from the Instagram API.

Final PHP file used in this tutorial:

Example Google Maps API call:

Example Instagram API call using Disneyland's coordinates:

Chrome extension I'm using to make JSON responses readable in the browser:

Outro music:
Licensed under Creative Commons: By Attribution 3.0
Рекомендации по теме
Комментарии
Автор

Perfect. I am getting into APIs and it's frustrating how most tutorials assume you have knowledge of knowing what to do with the API data instead of explaining how to parse it. Thank you!

kockgunner
Автор

Personally, I don't think you went too fast at all. In fact, I was glad it wasn't long and drawn out. Fast, concise, and put together very well.

CCampbellKC
Автор

I really like this more technical example of APIs. I usually don't dig into the developer side of things, but I appreciate that you do

Автор

Found your channel randomly researching APIs and your application coincidentally does exactly what I wanted to do. Thx for the tuts sir, you are awesome!

EZraw
Автор

i think im gonna watch every vid uve ever made - stellar stuff for a 15 yrs long php coder who needs to play catchup - fantastically fast, to the point and incredible - thanks so much.. def going to look into using this for future apps..

fstarockaburns
Автор

You are easily the best web coding tutorial guy I've ran into so far. Cheers!

juissijakismet
Автор

Learning about API's and I've watched many videos and I'll say - This one trumps them all in being informative, clear and concise ! ! Looking forward to more ! Cheers !

JonoChong
Автор

Usually I find a site with information so I can read because people talk too slow making it almost not worth the time to watch some videos. You however make each sentence full of information but very concise, where I feel like I need to hear each word as its valuable to the video.

danielpettus
Автор

Pretty cool application REST API on PHP. Thank you man. One of the best programming channel on the Youtube!

ilmakeyouone
Автор

I don't understand people who complain he speaks too fast. Just slow down the video or pause if you need to. I think in the entirety of Youtube, this guy does the best with concepts, with fun and working examples. For UX, go find Nick Babich - his Medium (UX Planet) articles are next level.

eshwarenm
Автор

great production quality. one of if not the best production quality ive seen in a programming tutorial

joebazooks
Автор

Just wanted to say thanks! I've been struggling to get started with the Linnworks API all day as I've never done anything like it. Thanks to this tutorial I've managed to get going and actually understand what I'm doing now. Great video!

glynnjohnson
Автор

Excellent. Your videos are full of useful information.
And do not consider talking slow. Everything is perfect the way it is.

FaizKhan-fmkg
Автор

I really like your fast way of teaching Man 😊, thanks. I become sleepy when listening to some other guys 😴.

WaqasKhan-lmyo
Автор

I was looking for something like this in order to fully understand how rest apis work, thank you so much sir!

pierreugaz
Автор

you are awesome! I'm a Jack of too many trades and master of none. I've done an ounce of udp and tcp server work and a bit of php. your video here was exactly what I needed to get started on this topic. in particular, I like the no library approach, even the simple forms drudgery. it is best when simple examples limit number of toolsets used. here you have html and php. I'm going to now look for a server tutorial from you. great stuff! thanks!

mkmabl
Автор

Just what I needed, perfect. Short and quick. no bs.

jona
Автор

man, thank you so much for this.
I knew what the concept of API is but every example was way too much difficult, you explained the usage quickly, understandable and efficient way))

adamrajnoha
Автор

I learned a lot about Rest API after watching this video. Also I learned about AJAX through one your video and created a really small but cool application about Instagram trend search.
Unfortunately Instagram has now restricted the usage of its endpoints. But anyway, this is really fun to learn.

atabish
Автор

Please keep making these videos.
I found them very helpful and I'm comprehending without too much trouble.
Thank you a lot.

LidongYang