Google just announced a nice bit of API code that will allow developers to to make it easy for readers of websites to download files to their Google Drive account.
Adding a Save to Drive button on your website is easy. You simply have to include the script and HTML tag below:
<script src="https://apis.google.com/js/plusone.js"></script> <div data-filename="My Statement.pdf" data-sitename="My Company Name" data-src="/path/to/myfile.pdf"> </div>
It isn’t hard to see how this could come in handy.
Related articles
- Google acknowledges Gmail, Drive, and Docs service disruption, Admin control panel/API outage (9to5google.com)
- Google Drive offline now lets you create & edit drawings, automatically access Docs, Sheets & Slides (9to5google.com)
- Google adds new profile pictures and one-click group chat to Drive (9to5google.com)
- Tesla’s Elon Musk in talks with Google over self driving vehicle tech, says sensor system still too expensive (9to5google.com)
- Chrome for iOS gets updated scroll, AirPrint/Cloud Print and save PDF to Google Drive options (9to5mac.com)
- Google releases free Quickoffice iPhone app for Google Apps for Business customers (9to5mac.com)
- Google still testing simpler homepage layout with dedicated app launcher button (9to5google.com)
- Google releases note-taking and organization service Google Keep for Android 4.0 and above (Video) (9to5google.com)
- Google Drive for iOS updated with landscape support on iPhone, faster loading/editing (9to5mac.com)
FTC: We use income earning auto affiliate links. More.
You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel
Comments