Google Doc and DropBox PHP api's - php

I want to add a list of all files from my google docs and from dropbox on my website(not a google site). The code of my website is mostly in PHP. I am unable to find a PHP guide for Google Docs list API and dropbox API. Any help is appreciated thanks in advance.

Here's Google APIs Client Library for PHP. Link
You probably need to check this as well: Google Drive SDK
There's a tab for PHP example

3rd Party Dropbox PHP SDK and the Docs for the API generally. You will specifically want to look into the /metadata and /files (GET) calls

Related

Youtube Analytics API Issue?

When reading through the Youtube API, i noticed that the base url for requestions was using version 3 https://www.googleapis.com/youtube/analytics/v3/,
However, when i was using the youtube ANalytics API PHP class, the URL being requested was version 1. https://www.googleapis.com/youtube/analytics/v1/ is this an issue, or is the PHP library just out of date? I really do not want to have to make another one class (reinvent the wheel), but i am skeptical about using outdated code. Thanks.
This is not a problem, the current version for the Analytics API is v1, as you can see in the API explorer.

Using Google docs API in local intranet

Is any way to use Google docs API in offline (local intranet)?
I need to open Excel file in browser like Google docs.
Thanks.
P.S. Language of programming - PHP

Youtube Analytics PHP cron

I want to start developing a tool that runs daily via cron for getting daily analytical data from one channel, or video, etc.. through the "Youtube Analytics API". And not what is the best way to approach it.
I have read the documentation of Google and and I have several questions:
I created the project in the console (https://code.google.com/apis/console/) but I doubt what kind of application I have to choose when I create a Client ID (Web Application, Service Account or Installed aplplication).
What PHP library use?
It's a very new API and not much information.
In the Google GData site there is a warning about that "Most newer Google APIs Google Data APIs are not Google Data APIs." and in the google-api-php-client, no examples of this API.
What is the best method for authentication in a cron?
As you can see I am very confuse, can someone help me, please?
Thank you.
1) It will be an installed application unless you will run it in a web server.
2) Use the official library, add the ytanalytics php library. Samples: https://github.com/youtube/yt-samples-php
3) You can do so by getting a refresh token from OAuth2 Playground and setting it in your youtube object.
Here it explains a little more.
And a step by step video.

Google Docs Embed on PHP Site

I've been reading through Google Docs API and having some trouble. I want to do the following:
Embed a Google Doc in my web application
Anyone who can access that page in the web app can edit the Google Doc, without having to sign in to their Google account
(If Possible) Show who made which changes using their identities in my web app, not their Google account.
There are a few ways you can embed. A quick Google search will yield several answers.
As far as I know, it's not possible to edit without signing into an account.
As this is related to (2), I don't think this is possible as all.

How to download source and implement Google OpenID+OAuth Hybrid protocol?

I want to build a website that allows user sign in with Openid, especially Google account. I wanna use Google Federated Login with Hybrid protocol. I found that link:
http://code.google.com/intl/vi-VN/apis/accounts/docs/OpenID.html
But I didnt find any link to download the source code. Anybody can help me? Thank you so much.
P/S: I only can use php, plz help me with php source code :D. Thanks again.
The OpenID+OAuth hybrid protocol is just OpenID with a very simple extension on top. Get yourself a decent PHP OpenID library and find/implement the very simple OAuth extension and you're good to go.
Well, you'll also need a library to perform the OAuth signing with the access token.

Categories