Skip to content

Commit 35147d4

Browse files
release: v0.1.20
1 parent 99b8ec1 commit 35147d4

131 files changed

Lines changed: 4727 additions & 373 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/llms-full.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,18 @@ await roxy.VedicAstrology.Ashtakavarga.PostAsync(new() { Date = new Date(1990, 7
274274

275275
// Get Shadbala (six-fold planetary strength) analysis - Shadbala Calculator API
276276
await roxy.VedicAstrology.Shadbala.PostAsync(new() { Date = new Date(1990, 7, 4), Time = new Time(10, 12, 0), Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 } });
277+
278+
// List all 17 avastha states - Planetary State Reference
279+
await roxy.VedicAstrology.Avasthas.GetAsync();
280+
281+
// Get avastha by ID - Planetary State Detail
282+
await roxy.VedicAstrology.Avasthas["dipta"].GetAsync();
283+
284+
// Get the twelve Arudha padas - Arudha Lagna Calculator API
285+
await roxy.VedicAstrology.Arudha.PostAsync(new() { Date = new Date(1990, 7, 4), Time = new Time(10, 12, 0), Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 } });
286+
287+
// Get Chara Karakas including Atmakaraka - Jaimini Karaka Calculator API
288+
await roxy.VedicAstrology.CharaKarakas.PostAsync(new() { Date = new Date(1990, 7, 4), Time = new Time(10, 12, 0), Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 } });
277289
```
278290

279291
---

specs/openapi.json

Lines changed: 1702 additions & 275 deletions
Large diffs are not rendered by default.
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
// <auto-generated/>
2+
#pragma warning disable CS0618
3+
using Microsoft.Kiota.Abstractions.Extensions;
4+
using Microsoft.Kiota.Abstractions.Serialization;
5+
using Microsoft.Kiota.Abstractions;
6+
using System.Collections.Generic;
7+
using System.IO;
8+
using System;
9+
namespace RoxyApi.Models
10+
{
11+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
12+
#pragma warning disable CS1591
13+
public partial class ArudhaRequest : IAdditionalDataHolder, IParsable
14+
#pragma warning restore CS1591
15+
{
16+
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
17+
public IDictionary<string, object> AdditionalData { get; set; }
18+
/// <summary>Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).</summary>
19+
public Date? Date { get; set; }
20+
/// <summary>Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.</summary>
21+
public double? Latitude { get; set; }
22+
/// <summary>Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.</summary>
23+
public double? Longitude { get; set; }
24+
/// <summary>Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.</summary>
25+
public Time? Time { get; set; }
26+
/// <summary>Timezone: IANA name (e.g. &quot;America/New_York&quot;, &quot;Europe/London&quot;) OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5.</summary>
27+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
28+
#nullable enable
29+
public global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone? Timezone { get; set; }
30+
#nullable restore
31+
#else
32+
public global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone Timezone { get; set; }
33+
#endif
34+
/// <summary>
35+
/// Instantiates a new <see cref="global::RoxyApi.Models.ArudhaRequest"/> and sets the default values.
36+
/// </summary>
37+
public ArudhaRequest()
38+
{
39+
AdditionalData = new Dictionary<string, object>();
40+
}
41+
/// <summary>
42+
/// Creates a new instance of the appropriate class based on discriminator value
43+
/// </summary>
44+
/// <returns>A <see cref="global::RoxyApi.Models.ArudhaRequest"/></returns>
45+
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
46+
public static global::RoxyApi.Models.ArudhaRequest CreateFromDiscriminatorValue(IParseNode parseNode)
47+
{
48+
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
49+
return new global::RoxyApi.Models.ArudhaRequest();
50+
}
51+
/// <summary>
52+
/// The deserialization information for the current model
53+
/// </summary>
54+
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
55+
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
56+
{
57+
return new Dictionary<string, Action<IParseNode>>
58+
{
59+
{ "date", n => { Date = n.GetDateValue(); } },
60+
{ "latitude", n => { Latitude = n.GetDoubleValue(); } },
61+
{ "longitude", n => { Longitude = n.GetDoubleValue(); } },
62+
{ "time", n => { Time = n.GetTimeValue(); } },
63+
{ "timezone", n => { Timezone = n.GetObjectValue<global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone>(global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone.CreateFromDiscriminatorValue); } },
64+
};
65+
}
66+
/// <summary>
67+
/// Serializes information the current object
68+
/// </summary>
69+
/// <param name="writer">Serialization writer to use to serialize this model</param>
70+
public virtual void Serialize(ISerializationWriter writer)
71+
{
72+
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
73+
writer.WriteDateValue("date", Date);
74+
writer.WriteDoubleValue("latitude", Latitude);
75+
writer.WriteDoubleValue("longitude", Longitude);
76+
writer.WriteTimeValue("time", Time);
77+
writer.WriteObjectValue<global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone>("timezone", Timezone);
78+
writer.WriteAdditionalData(AdditionalData);
79+
}
80+
/// <summary>
81+
/// Composed type wrapper for classes <see cref="double"/>, <see cref="string"/>
82+
/// </summary>
83+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
84+
public partial class ArudhaRequest_timezone : IComposedTypeWrapper, IParsable
85+
{
86+
/// <summary>Composed type representation for type <see cref="double"/></summary>
87+
public double? Double { get; set; }
88+
/// <summary>Composed type representation for type <see cref="string"/></summary>
89+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
90+
#nullable enable
91+
public string? String { get; set; }
92+
#nullable restore
93+
#else
94+
public string String { get; set; }
95+
#endif
96+
/// <summary>
97+
/// Creates a new instance of the appropriate class based on discriminator value
98+
/// </summary>
99+
/// <returns>A <see cref="global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone"/></returns>
100+
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
101+
public static global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone CreateFromDiscriminatorValue(IParseNode parseNode)
102+
{
103+
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
104+
var result = new global::RoxyApi.Models.ArudhaRequest.ArudhaRequest_timezone();
105+
if(parseNode.GetDoubleValue() is double doubleValue)
106+
{
107+
result.Double = doubleValue;
108+
}
109+
else if(parseNode.GetStringValue() is string stringValue)
110+
{
111+
result.String = stringValue;
112+
}
113+
return result;
114+
}
115+
/// <summary>
116+
/// The deserialization information for the current model
117+
/// </summary>
118+
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
119+
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
120+
{
121+
return new Dictionary<string, Action<IParseNode>>();
122+
}
123+
/// <summary>
124+
/// Serializes information the current object
125+
/// </summary>
126+
/// <param name="writer">Serialization writer to use to serialize this model</param>
127+
public virtual void Serialize(ISerializationWriter writer)
128+
{
129+
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
130+
if(Double != null)
131+
{
132+
writer.WriteDoubleValue(null, Double);
133+
}
134+
else if(String != null)
135+
{
136+
writer.WriteStringValue(null, String);
137+
}
138+
}
139+
}
140+
}
141+
}
142+
#pragma warning restore CS0618
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
// <auto-generated/>
2+
#pragma warning disable CS0618
3+
using Microsoft.Kiota.Abstractions.Extensions;
4+
using Microsoft.Kiota.Abstractions.Serialization;
5+
using System.Collections.Generic;
6+
using System.IO;
7+
using System;
8+
namespace RoxyApi.Models
9+
{
10+
/// <summary>
11+
/// The twelve Arudha padas of a birth chart, computed per the Jaimini rule with the classical exception applied.
12+
/// </summary>
13+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
14+
public partial class ArudhaResponse : IAdditionalDataHolder, IParsable
15+
{
16+
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
17+
public IDictionary<string, object> AdditionalData { get; set; }
18+
/// <summary>Zodiac sign of the Arudha Lagna (AL), the pada of the first house and the single most used value in this response. Repeated at the top level so a client rendering only the AL does not have to search the array.</summary>
19+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
20+
#nullable enable
21+
public string? ArudhaLagna { get; set; }
22+
#nullable restore
23+
#else
24+
public string ArudhaLagna { get; set; }
25+
#endif
26+
/// <summary>Zodiac sign of the Ascendant (Lagna), which anchors the twelve bhavas the padas are derived from.</summary>
27+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
28+
#nullable enable
29+
public string? LagnaRashi { get; set; }
30+
#nullable restore
31+
#else
32+
public string LagnaRashi { get; set; }
33+
#endif
34+
/// <summary>All twelve Arudha padas in bhava order, a1 through a12. Each carries the lord and the count it came from, so the derivation can be checked by hand.</summary>
35+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
36+
#nullable enable
37+
public List<global::RoxyApi.Models.ArudhaResponse_padas>? Padas { get; set; }
38+
#nullable restore
39+
#else
40+
public List<global::RoxyApi.Models.ArudhaResponse_padas> Padas { get; set; }
41+
#endif
42+
/// <summary>Zodiac sign of the Upapada (UL), the pada of the twelfth house, read for marriage and its durability. The second most used value, so it is also lifted to the top level.</summary>
43+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
44+
#nullable enable
45+
public string? Upapada { get; set; }
46+
#nullable restore
47+
#else
48+
public string Upapada { get; set; }
49+
#endif
50+
/// <summary>
51+
/// Instantiates a new <see cref="global::RoxyApi.Models.ArudhaResponse"/> and sets the default values.
52+
/// </summary>
53+
public ArudhaResponse()
54+
{
55+
AdditionalData = new Dictionary<string, object>();
56+
}
57+
/// <summary>
58+
/// Creates a new instance of the appropriate class based on discriminator value
59+
/// </summary>
60+
/// <returns>A <see cref="global::RoxyApi.Models.ArudhaResponse"/></returns>
61+
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
62+
public static global::RoxyApi.Models.ArudhaResponse CreateFromDiscriminatorValue(IParseNode parseNode)
63+
{
64+
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
65+
return new global::RoxyApi.Models.ArudhaResponse();
66+
}
67+
/// <summary>
68+
/// The deserialization information for the current model
69+
/// </summary>
70+
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
71+
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
72+
{
73+
return new Dictionary<string, Action<IParseNode>>
74+
{
75+
{ "arudhaLagna", n => { ArudhaLagna = n.GetStringValue(); } },
76+
{ "lagnaRashi", n => { LagnaRashi = n.GetStringValue(); } },
77+
{ "padas", n => { Padas = n.GetCollectionOfObjectValues<global::RoxyApi.Models.ArudhaResponse_padas>(global::RoxyApi.Models.ArudhaResponse_padas.CreateFromDiscriminatorValue)?.AsList(); } },
78+
{ "upapada", n => { Upapada = n.GetStringValue(); } },
79+
};
80+
}
81+
/// <summary>
82+
/// Serializes information the current object
83+
/// </summary>
84+
/// <param name="writer">Serialization writer to use to serialize this model</param>
85+
public virtual void Serialize(ISerializationWriter writer)
86+
{
87+
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
88+
writer.WriteStringValue("arudhaLagna", ArudhaLagna);
89+
writer.WriteStringValue("lagnaRashi", LagnaRashi);
90+
writer.WriteCollectionOfObjectValues<global::RoxyApi.Models.ArudhaResponse_padas>("padas", Padas);
91+
writer.WriteStringValue("upapada", Upapada);
92+
writer.WriteAdditionalData(AdditionalData);
93+
}
94+
}
95+
}
96+
#pragma warning restore CS0618

0 commit comments

Comments
 (0)