Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion samples/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Samples by API
The following samples show basic usage of various APIs. Throughout these samples, you will find code that relies on various authentication methods.
The following samples show basic usage of various APIs. **All samples require Node.js 8.x or greater**.

Throughout these samples, you will find code that relies on various authentication methods.
- **OAuth2** - To use the OAuth2 samples, create a credential in the cloud developer console, and save the file as `oauth2.keys.json` in the samples directory.
- **Service account** - To use the service account based samples, create a new service account in the cloud developer console, and save the file as `jwt.keys.json` in the samples directory.
- **API Key** - To use simple API keys, create a new API Key in the cloud developer console, then store the key in the `api_key` field of `config.json`.
Expand Down