Numerology API - C#

Numerology API with C# 🟣

Integrate Numerology API into your C# application.

Installation

No package to install. This example uses HttpClient, built into .NET 8 and later.

Example Code

using System.Net.Http.Headers;
using System.Text;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");

var body = """
    {
      "name": "Asha Rao",
      "birthDate": "1990-06-15"
    }
    """;
var response = await http.PostAsync(
    "https://api.vedika.io/v2/astrology/numerology/complete",
    new StringContent(body, Encoding.UTF8, "application/json"));
Console.WriteLine((int)response.StatusCode);
Console.WriteLine(await response.Content.ReadAsStringAsync());

Get Started Free

Try our sandbox API with no authentication required

Try Sandbox Read Docs