google_photos 1.0.4 copy "google_photos: ^1.0.4" to clipboard
google_photos: ^1.0.4 copied to clipboard

Autogenerated Google Photos API client. Use this package to access the Google Photos REST API.

Google Photos Autogenerated API client #

Google Photos does not yet have a first-party Dart SDK, so this is an unofficial API client autogenerated from Google Photo's API discovery doc

Caveat lector: Although this library is completely autogenerated using discoveryapis_generator, it is also not tested. I'm using it in my own projects and have not run into any problems, but please open an issue if you run into any problems.

Getting Started #

This API client is designed to be used with Dart's standard HTTP library. However, most of the endpoints require authentication headers to function properly.

Flutter #

You can use the google_sign_in package to get these headers, and extend the HTTP BaseClient to inject the auth headers on behalf of the API client. See the example directory.

In future, perhaps the Dart or Flutter teams will provide better integration of HTTP clients with the google_sign_in package.

Everything else #

Use the existing googleapis_auth library to get an authenticated HTTP client.

1
likes
30
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

Autogenerated Google Photos API client. Use this package to access the Google Photos REST API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

_discoveryapis_commons, http

More

Packages that depend on google_photos