Is it possible to access say a text file that I've placed in these storage accounts and use them as regular files?. I've tried with mechanize and urllib, but I'm not able to succeed. I'm not interested in using the API's because of the limitations that it may impose. Could someone suggest a way for this, or atleast a way to access the account via ftp or other methods. Thanks in advance.
For google Drive there is a very good API-Documentation:
Google Drive: https://developers.google.com/drive/web/quickstart/quickstart-python
Dropbox API: https://www.dropbox.com/developers/core/start/python
I've tested the GDrive API by myselfe, and it works like a charm, i can' say anything about Dropbox API, but shouldn't be much different.
If you mean with Limitations access Limitations google Drives Limitations are
10.000.000 Requests/Day
10 Request/Second/User
Related
I was pondering the idea of a script/program that will auto upload to Youtube from cloud storage. I'm sure this has already been done and would appreciate it if someone could put me on the right path.
Thanks
Your are not giving a lot of detail informations e.g. what cloud you use? Maybe i'm keeping it way too simple though:
I guess this problem can be splited in to two parts:
Download to video to your local system. There are a lot of articles/documentation for all kind of cloud storage provider e.g. google cloud
Use the provided YouTube API documentation to upload your video you just fetched to your local system.
You may want to delete the video on your local file system.
Actually I'm doing a attendance management system which gets the users Id, in time and uploads it to google sheet. Now the catch is inorder to write in google sheet we need internet, I know I can use Microsoft excel instead, But for certain reason I need to use Google sheets (because it includes a google script). Now I need to know whether I can write to google sheets without the internet or not!!
I understand that you want offline access to Sheets using Python. If I understood the situation correctly, you only need to give an eye to this guide about OAuth 2.0 for Desktop Apps, especially the part about calling Google APIs. Please, ask me any doubts about this approach.
I'd like to use the Dropbox API (with access only to my own account) to generate a link to SomeFile.xlsx that I can put in an email to multiple Dropbox account holders, all of whom are presumed to have access to the file. I'd like for the same link, when clicked on, to talk to Dropbox to figure out where SomeFile.xlsx is on their local filesystem and open that up directly.
In other words, I do NOT want to link to the cloud copy of the file. I want to link to the clicker's locally-synced version of the file.
Does Dropbox have that service and does the API let me consume it? I haven't been able to discover the answer from the documentation yet.
No, Dropbox doesn't have an API like this.
I'm working on an app which wraps Google Docs (using GAE/Python), and I want to keep track of who is viewing these docs in real-time. I can't find any APIs for this in the Google Drive SDK.
What's a good way to do this? Naively, I might imagine repeatedly polling each document individually and parsing the returned HTML. I expect there to be ~150 docs total in the system; would this be too inefficient?
Realtime api is not for using with gdocs, only for your own custom formats. Instead see the changes api in drive but you wont be able to detect viewers only modifications https://developers.google.com/drive/manage-changes
I am not sure if this meets your requirement but there is a Realtime API available in the Drive SDK.
The catch is that it is JavaScript only. It does have Events that your web client can be notified off like CollaboratorJoinedEvent and CollaboratorLeftEvent.
I want to save the first three images of a Google Images Search to my local drive.
For that, I need an API. Google has the Google Image Search API, but it seems that it's deprecated now.
Is there an alternative for it?
If not, is it against Google's TOS to parse the webpage itself?
Thanks.
You can use the Custom Search API now instead. And here's a starting point.
Hope that helps.