captain
-
Last updated on May 13th, 2026 by captain
Diving in Google Drive APIs – List Files and Folders
Today, we are going to actually start playing with Google Drive APIs. Previous parts served as the basis for implementing web apps using Google APIs. In part 3, we will use Google Drive’s file listing functions to list files and folders and display them on a page. I assume you have already gone through the authentication and Installation process. I have shared my code on GitHub, where we are moving toward building a simple web app to list our Google Drive files and perform operations, etc. The following is a simple function that fetches the latest 100 files from the user’s…
-
Last updated on May 13th, 2026 by captain
Diving in Google Drive APIs – Authentication
In Part 2 of the Google Drive Series, we are going to dig into the most important and confusing concept of connecting with Google APIs. Yes, I wrote ‘confusing’ because many developers get confused when they need to implement connectivity for their applications to Google APIs. I will try to make this concept easier in this post. I assume you have read the first part of this series and have created a project in Google Developers Console, and before that, have downloaded the PHP Client libraries to play with.
-
-
Last updated on April 11th, 2026 by captain
Learn How To Interact With An API Using WordPress Standard Functions
To interact with APIs is a very common thing in Web Development, WordPress gives us the utility functions to interact with APIs. As you know to interact with an API requires good knowledge of cURL and many other things, WordPress takes this responsibility and wrap the inner stories into utility functions for you. “wp_remote_get“ is the function that gets the data for you from an API. All you have to do is just put the endpoint as an argument and voila! It’s magic. This function basically takes two arguments 1. $url – Resource to retrieve data from. This must be in a…




