Google Photos is one of Google's best efforts. The cloud-based service not only backs up photos, but taps into Google Assistant for help creating collages, albums, and more. The new Google Photos Library API will allow developers to port Google Photos, with all its tools, into their own application.
Imagine your company makes digital picture frames. Wouldn't it be helpful if your product could connect to a cloud-based photo storage service to make your customers' experience even better. Well, now you can.
"People create and consume photos and videos in many different ways, and we think it should be easier to do more with the photos you've taken, across all the apps and devices you use," said Google. "That's why we're introducing a new Google Photos partner program that gives you the tools and APIs to build photo and video experiences in your products that are smarter, faster and more helpful."
The API offers several core features. It lets users access their Google Photos library whenever and wherever they wish. The REST API lets developers tap into the power of Google Photos to improve their product. It supports base behaviors such as connecting, uploading, and sharing from within third-party apps. Users will be able to organize albums, add titles, add locations, create shared libraries, and easily transfer and collaborate with others.
More importantly, it carries over Photos' search tools. For example, the REST API fully supports search based on the photo's subject, location, description, and media format.
"With the Library API, you don't have to worry about maintaining your own storage and infrastructure, as photos and videos remain safely backed up in Google Photos," said Google.
The API puts machine intelligence to work. App writers can make use of Photos' smart filters, such as content categories, to make it easier for users to find what they're looking for. Google also made sure the experience is hassle free. Developers can offload common tasks such as thumbnailing and cross-platform deep links so they can focus on what makes their own product unique.
Google is launching the Google Photos Library API as a developer preview. Developers interested in testing the API will need to join the Google Photos Partner Program to get started. Once enrolled, Google will provide the necessary credentials to access the API. Documentation, including the application, is available here.