diff --git a/templates/csharp/guides/search/saveObjectsMovies.mustache b/templates/csharp/guides/search/saveObjectsMovies.mustache index f9397250c62..61a5cea9af7 100644 --- a/templates/csharp/guides/search/saveObjectsMovies.mustache +++ b/templates/csharp/guides/search/saveObjectsMovies.mustache @@ -20,7 +20,7 @@ class SaveObjectsMovies // parse json var movies = JsonSerializer.Deserialize>(content); - // initiate client and index + // initiate client and index with your app ID and write API key {{> snippets/init}} // push data to algolia diff --git a/templates/dart/guides/search/saveObjectsMovies.mustache b/templates/dart/guides/search/saveObjectsMovies.mustache index 3b49b25fd2b..0c0fe341410 100644 --- a/templates/dart/guides/search/saveObjectsMovies.mustache +++ b/templates/dart/guides/search/saveObjectsMovies.mustache @@ -3,7 +3,7 @@ import 'dart:convert'; {{> snippets/import}} void main() async { - // initiate client + // initiate client with your app ID and write API key {{> snippets/init}} // read json file from url diff --git a/templates/go/guides/search/saveObjectsMovies.mustache b/templates/go/guides/search/saveObjectsMovies.mustache index 74a728e9c1f..b9b04a50f88 100644 --- a/templates/go/guides/search/saveObjectsMovies.mustache +++ b/templates/go/guides/search/saveObjectsMovies.mustache @@ -29,7 +29,7 @@ func saveObjectsMovies() { return } - // initiate client + // initiate client with your app ID and write API key {{> snippets/init}} // push data to algolia diff --git a/templates/java/guides/search/saveObjectsMovies.mustache b/templates/java/guides/search/saveObjectsMovies.mustache index c543f3ac93d..e8d01f8399f 100644 --- a/templates/java/guides/search/saveObjectsMovies.mustache +++ b/templates/java/guides/search/saveObjectsMovies.mustache @@ -20,7 +20,7 @@ public class saveObjectsMovies { List movies = mapper.readValue(stream, new TypeReference>() {}); stream.close(); - // Connect and authenticate with your Algolia app + // Connect and authenticate with your Algolia app using your app ID and write API key {{> snippets/init}} // Save records in Algolia index diff --git a/templates/php/guides/search/saveObjectsMovies.mustache b/templates/php/guides/search/saveObjectsMovies.mustache index 5cc0b19a253..c61afd9c127 100644 --- a/templates/php/guides/search/saveObjectsMovies.mustache +++ b/templates/php/guides/search/saveObjectsMovies.mustache @@ -7,7 +7,7 @@ $url = "https://dashboard.algolia.com/api/1/sample_datasets?type=movie"; $response = file_get_contents($url); $movies = json_decode($response ?: "[]", true); -// Connect and authenticate with your Algolia app +// Connect and authenticate with your Algolia app using your app ID and write API key {{> snippets/init}} // Save records in Algolia index diff --git a/templates/python/guides/search/saveObjectsMovies.mustache b/templates/python/guides/search/saveObjectsMovies.mustache index 0180a0df645..ec0f3b44d76 100644 --- a/templates/python/guides/search/saveObjectsMovies.mustache +++ b/templates/python/guides/search/saveObjectsMovies.mustache @@ -6,7 +6,7 @@ import requests url = "https://dashboard.algolia.com/api/1/sample_datasets?type=movie" movies = requests.get(url).json() -# Connect and authenticate with your Algolia app +# Connect and authenticate with your Algolia app using your app ID and write API key _{{> snippets/init}} # Save records in Algolia index diff --git a/templates/ruby/guides/search/saveObjectsMovies.mustache b/templates/ruby/guides/search/saveObjectsMovies.mustache index d6c441d1255..bbd7d607c28 100644 --- a/templates/ruby/guides/search/saveObjectsMovies.mustache +++ b/templates/ruby/guides/search/saveObjectsMovies.mustache @@ -6,7 +6,7 @@ uri = URI('https://dashboard.algolia.com/api/1/sample_datasets?type=movie') response = Net::HTTP.get_response(uri) movies = JSON.parse(response.body) -# Connect and authenticate with your Algolia app +# Connect and authenticate with your Algolia app using your app ID and write API key {{> snippets/init}} # Save records in Algolia index diff --git a/templates/scala/guides/search/saveObjectsMovies.mustache b/templates/scala/guides/search/saveObjectsMovies.mustache index b169b3d7afe..e994a3829e8 100644 --- a/templates/scala/guides/search/saveObjectsMovies.mustache +++ b/templates/scala/guides/search/saveObjectsMovies.mustache @@ -19,7 +19,7 @@ object Main { val result = Source.fromURL(url).mkString val movies = JsonMethods.parse(result).extract[Seq[Map[String, Any]]] - // Connect and authenticate with your Algolia app + // Connect and authenticate with your Algolia app using your app ID and write API key {{> snippets/init}} // Save records in Algolia index diff --git a/templates/swift/guides/search/saveObjectsMovies.mustache b/templates/swift/guides/search/saveObjectsMovies.mustache index 66d7ec6a7e4..bf81deb22e6 100644 --- a/templates/swift/guides/search/saveObjectsMovies.mustache +++ b/templates/swift/guides/search/saveObjectsMovies.mustache @@ -16,7 +16,7 @@ func saveObjectsMovies() async throws { #endif let movies = try JSONDecoder().decode([AnyCodable].self, from: data!) - // Connect and authenticate with your Algolia app + // Connect and authenticate with your Algolia app using your app ID and write API key {{> snippets/init}} do {