.net programming, computers and assorted technology rants

Posts tagged “API

Google Releases .NET Framework API’s

Courtesy David Ramel, VisualStudioMagazine.com

The company announced general availability of theGoogle APIs Client Library for .NET version 1.8.1 in a blog post by Dan Ciruli of the Google Cloud Platform Team. "This library is an open source effort, hosted at NuGet, that lets developers building on the Microsoft .NET Framework to integrate their desktop or Windows Phone applications with Google’s services," he said.

He noted that the company tries to make its APIs accessible to developers working with any platform, from almost every language on nearly any hardware, with support for REST, HTTP and JSON. "However, to be truly useful on many platforms, it helps to have a client library–one that packs a lot of functionality like handling auth, streaming media uploads and downloads, and gives you native language idioms," he said.

That usefulness comes in the library’s integration with OAuth 2.0, the capability to stream media uploads and downloads, support of batching requests, and more. "Whether you are plugging Google Calendar into your .NET Framework-based application, translating text in a Windows Phone app or writing a PowerShell script to start Google Compute Engine instances, the Google APIs Client Library for .NET can save you tons of time," Ciruli said.

The library, hosted on NuGet, sports dozens of APIs, letting developers work with AdSense, Blogger, Cloud SQL database management, YouTube features and more. The new .NET library joins other client libraries for Java, JavaScript, Objective-C, PHP (in beta) and Python. Early-stage work is being done on libraries for Go, Node.js, Ruby and the Google Web Toolkit.

A Getting Started page and APIs Explorer are available for developers who want to dive into the new library.

Google said no major changes have been made from the release candidate version, but the documentation has been expanded.

Just one day after the .NET library announcement, Google on Tuesday announced a project to extend Android to the new breed of wearable computing devices, called Android Wear. The company is first focusing on computerized watches, which will provide all kinds of information at a glance, monitor your health and fitness, get answers to spoken questions as with Apple’s Siri and control other devices, among other capabilities. You can now sign up to gain access to a developer preview, intended only for development and testing, while an Android Wear SDK is promised "in the coming months." The preview focuses on notification APIs to help developers enhance their app notifications to create useful UXes. To aid in the development testing, Google is providing a Design Principles for Android Wear page.

Also this week, Google announced a paper to provide information on working with various existing configuration management tools on its Google Compute Engine, a "virtual datacenter" provided via a host of virtual machines (VMs).

"Over the last decade, a vibrant ecosystem of open source tools has emerged to manage the complexity of large-scale compute deployments," said solutions architect Matt Bookman in a blog post. "These tools allow you to deploy changes more rapidly, recover faster from failures, and take unused resources out of service, enabling you to keep your services’ uptime high and operational costs low."

He noted that an existing Compute Engine API and gcutil command-line tool are available for resource management, but technical leads and others might find it useful to also work with tools designed for software management.

"Puppet, Chef, Salt and Ansible are configuration management tools that provide software and resource management," Bookman said. "They are open source and support Google Compute Engine. If your organization already uses one of these tools for managing other systems, we hope to help you get started using it with Google Compute Engine."

This getting-started guidance is available in the recent paper, "Compute Engine Management with Puppet, Chef, Salt, and Ansible." It discusses working with the Puppet, Chef, Salt andAnsible configuration management tools.


Amazon Web Services Releases Command-Line Interface

Courtesy AWS Blog


Graphical user interfaces (e.g. the AWS Management Console) are great, but nothing beats the expressiveness of the command line!

Today we are releasing the AWS Command Line Interface (CLI). The AWS CLI provides a single, unified interface to a very large collection of AWS services. After downloading and configuring the CLI you can drive Amazon EC2, Amazon S3, Elastic Beanstalk, the Simple Workflow Service, and twenty other services (complete list) from your Linux, OS X, or Windows command line.

Read More…


Google Releases Realtime API For Drive Apps

Courtesy Information Week

Google has released a new application programming interface (API) that allows developers to implement real-time collaboration in Google Drive apps.

Users of Google Docs, as well as Spreadsheets and Slides, now have the ability to edit a document at the same time others are doing so, and each can see the changes input by collaborators in real time. This is made possible by a technology called operational transformation, also featured in the now-discontinued Google Wave, which ensures the rapid transference of changes over a network.

Now developers who create apps that rely on Google Drive for storage can provide their users with the ability to interact and work together in real time.

“With the new Google Drive Realtime API, you can now easily add some of the same real-time collaboration that powers Google Drive to your own apps,” explained Brian Cairns, a software engineer at Google, in a blog post. “This new API handles network communication, storage, presence, conflict resolution and other collaborative details so you can focus on building great apps.”

[ How should Apple compete against rivals like Google and Samsung? Read Is Apple Losing War Of Words? ]

The makers of three apps have already integrated the Google Drive Realtime API into their code.

One is Neutron Drive, an online code editor. Using Google’s Realtime API, Neutron Drive allows multiple programmers to make changes to the same file at the same time. Version control systems like Git allow a similar sort of collaboration, but not in real time — changes to code stored in a Git repository must be merged, which may create conflicting versions of a file if the same lines of the program were revised by different collaborators. These conflicts can be reconciled, but real-time collaboration provides a way to avoid conflicts on the fly.

Paul Bailey, the developer who created Neutron Drive, said in an email that he found the API to be extremely useful because it makes adding real-time features so easy. “I think you’ll see a new wave of apps that will use this technology,” he said. “Before this API, I struggled with how to implement real-time features into Neutron Drive and now Google has made this easy and scalable — two of the best things a developer likes to hear.”

Bailey acknowledged that not everyone needs real-time collaboration capabilities. “A lot of developers are lone rangers who code by themselves,” he said. “So for them, it probably won’t make much of a difference. However, others like to pair program or may need help from a friend.”

He also said he expects real-time collaboration will be useful in apps for students and teachers.

The two other apps that have been updated to utilize the Drive Realtime API are Gantter, a free online project-scheduling tool and diagram editor, and draw.io, a diagramming application.

In addition, Google has created a collaborative colored cube puzzle — a Rubik’s Cube for those not concerned about trademark lawsuits — to demonstrate how frustrating it can be to have multiple people all trying to solve the same puzzle.

Those committed to investigating the technology further can stop by the Drive Realtime API Playground and the Google Drive Realtime API technical documentation.