Does 'google-drive' Web Component replaces the Google Drive Web APIs? - api

The google-apis together with google-drive makes it super easy to add Google drive app integration to websites. But it seems that it doesn't have many options other than uploading files using app to the user google drive account.
I want to allow users to upload large files to my own google drive storage, will google web components achieve such task or I will need to dive into Google Drive Web APIs server side scripting, using PHP as an example.
Will Google Web Components support more features in the future like allowing users to upload to app google storage (my own google drive) ?
Thank you.

Google Web Components not Polymer components. They are wrappers around Google API's like Drive. That said, I would pose this question in the context of the Drive API rather than in Polymer.

Related

Is there an API to access Autodesk Drive?

I'm trying to manage files from Autodesk Drive, I know there is a Forge API to access some Autodesk Apps but I haven't been able to find enough information to use it for Autodesk Drive (https://drive.autodesk.com/).
Doing a GET request to query hubs shows Autodesk360 hubs but nothing for Autodesk Drive.
No, for the moment there is no public API for Autodesk Drive.
If you want to have the same functionality as with (now discontinued) A360, you will have to rely on Fusion360 hub - this is what now you get redirected to, if you try to login to https://a360.autodesk.com/.
Fusion360 hub is supported by Data Management API and it can be used without Fusion360 app itself.

Accessing a public google drive without authentication using Corona sdk

I have two public folders in my google drive and I want my app to be able read images from one folder and read and write images to another folder. Is there a way to do this using the google api or any GET method and hopefully without needing to authorize or authenticate the user's google account? Thank you!
It's a cross platform application being developed in Lua using the Corona sdk
Unfortunately, you cannot access a particular drive without any authentication/authorization.
Every request your application sends to the Drive API must include an
authorization token. The token also identifies your application to
Google.
Same question was also raised in this SO post.
But there is an alternative if you go further in the answer of the SO post. This link maybe useful if you want to try the alternative.

How to open documents with Office365 in my web application?

We have a cloud based audit application. While performing audit a user typically uploads a lot of documents. Currently in order to view the documents he has to download them. Business requirement is that on clicking the document it should directly open up in another browser tab using office 365 just like dropbox/onedrive. The user should be able to view, edit, save it on server (without downloading) and close it. How to achieve that in our application?
Our webapp is built using ReactJS, NodeJS & MongoDB. Whenever a user uploads a document it gets saved in a AWS S3 bucket.
I went through Microsoft Graph API and OneDrive RestAPI's. Looks like the only solution is to use the OneDrive API's to save files in OneDrive instead of S3. And then it should allow you to use the Office365 apps. Is this the right solution? Am I missing anything?
Is there any other solution?
While the easiest solution is indeed to store the documents in OneDrive, there's also another way. You can enroll in Microsoft's Cloud Storage Partners Program and implement the WOPI protocol on your service. This would allow the Office Online viewers/editors to integrate with your service's data directly.
You need to use both aws and O365 api to reach a working solution. Try the following steps (PS: I have not tried this. But I have saved edited documents from Office 365 to AWS)
Read the uploaded document from AWS using AWS api's and upload it to office doc using office doc api.
Edit the doc using office docs api.
Save the doc back to S3

access user arbitrary folders with chrome localstorage API

I'm developing an app on Google chrome which could be able to read and write files to arbitrary folders on the user’s hard drive, such as their My Pictures or My Documents folder.
I want my app to has its one folder, like "Users/Username/App", so users could be able to access some of the data, created and edited by the app. How can I do this?
I read the book "Using the HTML5 Filesystem API", so I know it's actually not possible with HTML5 Filesystem API alone. Same thing was possible by opera 11, 12. (see: http://dev.opera.com/articles/view/file-i-o-api-for-widgets/). Chorome mediaGalleries API do same things but just for media file but I want to use html, xml and office files
It doesn't sound like you've looked at the list of Chrome App APIs. Have you? Among them is the fileSystem API, which is evolving quickly to include directory access.

Google drive API and auth

I want to create a web app letting any user upload a file to my Google drive and then be able to view it through the browser.
So far looking at Google's examples it seems I have to auth to my Google Drive on the server side (makes sense....) but also end-users have to auth before uploading anything to my drive using Oauth. Is there a way to prevent having to ask users to authenticate prior to uploading documents given that I am authorized through my server to my Google Drive account?
Allowing anyone to view a document is more straightforward through the use of a public folder...