# Samples for the Google Photos Library API are available from the [Google Photos sample
repository](https://github.com/googlesamples/google-photos) on GitHub. In
addition, you can find code snippets on each page of this developer's guide.

## Samples on GitHub

The [GitHub repository](https://github.com/googlesamples/google-photos) contains
a sample that shows the search and list functionality of the Library API
as implemented in an online photo frame using Node JS.

The [GitHub repositories for each client
library](https://developers.google.com/photos/library/guides/client-libraries) contain multiple samples that
show how to use the Library API in different languages.

### Troubleshooting

If you're having trouble using the samples, make sure that you've done the
following:

- Set up a Google Developer's project.
- [Enabled the API](https://developers.google.com/photos/library/guides/get-started#enable-the-api).
- [Set up OAuth credentials](https://developers.google.com/photos/library/guides/get-started#request-id).

The OAuth credentials need to be added to the sample project. For details, see
the README.
\`

## Code snippets in the developer's guide

Each page in the developer's guide includes code snippets and REST calls that
illustrate particular features of the API. Some of the guides available for
features include the following:

- [Managing albums](https://developers.google.com/photos/library/guides/manage-albums)
- [Listing library contents, albums, and media
  items](https://developers.google.com/photos/library/guides/list)
- [Searching media and applying filters](https://developers.google.com/photos/library/guides/apply-filters)