- C#
- Dart
- Go
- Java
- JavaScript
- Kotlin
- PHP
- Python
- Ruby
- Scala
- Swift
Latest version: Install version 7 of the C#/.NET API clients by adding the The C#/.NET API clients are open source and generated from OpenAPI specifications.
Algolia.Search
package from NuGet.
For example:Building ASP.NET apps?
Check the additional information about dependency injection.
Test your installation
To test your installation, try running a short program that adds a record to a test index, searches your index, and prints the results.1
Create account
If you haven’t already, create an Algolia account.
2
Copy code
Copy the following code into a new project or file.
Replace
ALGOLIA_APPLICATION_ID
and ALGOLIA_API_KEY
with values from your account.
Make sure to use an API key with addObject and search permissions.In production, use environment variables for your credentials.
3
Run code
Run the code, depending on your development environment.If the command is successful,
you’ll see the API response as a native object in your programming language.