In my compagny, we all have Microsoft environment.
Is there a way to interface Google Colab with a sharepoint like we can do with google Drive ?
Thanks !
If the file can be shared publicly, you can use wget.
!wget --content-disposition https://org.sharepoint.com/personal/user_org/folder/filename.ext?download=1
Notice that ?download=1 is added to replace the ?xxxxxxxx from the normal shared URL.
If you cannot share publicly, I am not sure, but maybe some sharepoint API can be used.
Related
Hoping someone can help or push me in the right direction with a requirement a client has requested.
My client works in a secure restricted environment where external translation services are blocked or prohibited.
Currently using a paid Azure translator cognitive services subscription with S1 plan of blob storage. I have created 'source' and 'target' containers, generated SAS keys and followed a online tutorial with a basic C# code. If I upload a document to be translated via Azure storage explorer into the 'source' container, run the C# code via VS code this will translate the document and place into the 'target' container which can be downloaded.
My question is what is the easiest and fastest way to make this user friendly?
I am not a developer although do have a basic grasp on API and a little python but developing something like this is far beyond my skillsets.
Any suggestions or recommendations would be greatly apricated.
Thanks in advance!
https://github.com/MicrosoftTranslator/DocumentTranslation
has an application that performs all the necessary document translation tasks. Provided as source and as compiled binary.
Command line for Windows, Linux, MacOS
doctr translate <source folder OR document> [<target folder>] --to <language code>
Graphical User Interface for Windows
I looked thru the internet and didn't found a solution how to make this:
I want to make google extension which will use Google API or something to connect the extension to Google drive and create/update files there( i will need mostly plain text documents to store there arrays). i will need it only for personal use, so any hacks are also acceptable.
Have anyone done anything like this before? i just need the starting point.
I have made an example that is available on Github. It is available here. It transforms the some emails from GMails into PDFs stored in Drive.
You can reuse it, you simply need to copy the Drive part and not the GMail API part. The steps you'll need to follow are :
Use the Chrome identity API to retrieve an access token for the Drive API
Use the Drive API javascript client to upload your text files. The tricky part is to upload it properly, use the examples on the github project to see what the request should look like.
Google Docs have a feature "Web Clipboard" to help users easily copy and paste cross google documents. (you can refer to https://drive.googleblog.com/2010/02/a-web-clipboard-for-google-docs.html)
But I am wondering that if there's any Web API or official way to access those API.
I try to find in Google Document List APi (https://developers.google.com/google-apps/documents-list/), I can't find any related stuff.
The original goal for me is I want to copy some screenshot/images/text from my Windows OS.
And I want to paste into my GoogleDoc Document.
But it can't be done unless the screenshot/image/text is update/upload into Web Clipboard.
I keep finding any related integrated tools or extension, but I still can't find anyone.
Could someone give me some suggestions?
There is no official way to access this API, sorry.
There is clearly an API of sorts, just not documented. I'd suggest looking at extensions like this one and trying to reverse-engineer the protocol so you can see what endpoints it is calling.
But it sounds like a lot of work.
I have been asked to adapt some web forms from using Google Site Search to GSA. The target server is locked down in such a way that I can't easily test functionality. I was therefore wondering if there is a way to emulate a Google Search Appliance in a a local development environment?
Would the Onebox emulator provide me with this?
There is an old VMWare image available but it has not been updated since 2008.
These days I keep most of my development notes and documentations in Google Docs. There are time that I'd like to download everything. How is this possible on a Mac and Linux computers, without doing each one individually? Google used to have the ability to download all spreadsheets. However, I can no longer find this functionality.
I would like to have the documents in Open Office or HTML format. Thanks.
If you install google gears into your browser: http://gears.google.com/
You can use the built-in offline functionality inside of google docs
If you really want to roll up your sleeves, use the gdata API
http://code.google.com/p/gdatacopier/
I looked into Joe's answer. gdatacopier is a useful tool to bulk download documents. Here's one example that I use to download all my spreadsheets from a named folder.
gdoc-cp.py -e csv -g spreadsheets -o /tmp -u me#gmail.com -p password -f "MyFolder"
There are several examples in the documentation. One limitation is that it does not seem to work for hosted domains. All email addresses must be foo#gmail.com.
Bulk uploads seem quite doable too. Getting this example to work was straight forward.
http://www.webmonkey.com/tutorial/Create_Automated_Backups_in_Google_Docs_Using_the_GData_API
GDocBackup http://gs.fhtino.it/gdocbackup
C#, Open Source, runs on Win + Net and Linux + Mono (not tested on Mac + Mono, sorry).
You can do this easily with the Google Drive API. I have a blog post featuring a short Python script that exports a Google Sheet as CSV. You can take that example, and make these changes to make it work for you:
Source MIMEtype goes from Sheets to Docs -- for all G Suite/Google Apps (import) MIMEtypes, see this page
Destination MIMEtype changes from CSV to whatever you want that's supported (Open Office & HTML included) -- for all export MIMEtypes, see this page
If you prefer to use something other than Python, use that example as pseudocode, then create your solution in any language supported by the Google APIs Client Libraries. Sample code in other languages can also be found on this page.
Once you're done, stick it in some cron job to run it regularly without you having to think about it -- you may have to add timestamping to the exported filenames to prevent overwrites. Hope this helps!