Skip to content

Commit 2ac4065

Browse files
release: v0.1.4
1 parent c273b13 commit 2ac4065

45 files changed

Lines changed: 11279 additions & 6312 deletions

Some content is hidden

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

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var city = search!.Cities![0];
4747
<!-- BEGIN:DOMAINS -->
4848
| Accessor | Endpoints | What it covers |
4949
|----------|-----------|----------------|
50-
| `roxy.Astrology` | 28 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
50+
| `roxy.Astrology` | 33 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
5151
| `roxy.VedicAstrology` | 43 | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
5252
| `roxy.Numerology` | 20 | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
5353
| `roxy.Tarot` | 10 | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Type `roxy.` to see every domain. Type `roxy.Astrology.` to see every endpoint i
107107
<!-- BEGIN:DOMAINS -->
108108
| Accessor | Endpoints | What it covers |
109109
|----------|-----------|----------------|
110-
| `roxy.Astrology` | 28 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
110+
| `roxy.Astrology` | 33 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
111111
| `roxy.VedicAstrology` | 43 | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
112112
| `roxy.Numerology` | 20 | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
113113
| `roxy.Tarot` | 10 | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |

docs/llms-full.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,21 @@ await roxy.Astrology.FixedStars.PostAsync(new() { Date = new Date(1990, 7, 15),
113113

114114
// Arabic lots calculator - seven Hermetic parts including Part of Fortune and Spirit
115115
await roxy.Astrology.ArabicLots.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 } });
116+
117+
// Asteroid goddesses calculator - Ceres, Pallas, Juno, and Vesta natal positions
118+
await roxy.Astrology.Asteroids.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 } });
119+
120+
// Black Moon Lilith calculator - mean and true lunar apogee in the natal chart
121+
await roxy.Astrology.Lilith.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 } });
122+
123+
// Secondary progressions calculator - progressed chart, progressed Sun and Moon
124+
await roxy.Astrology.Progressions.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 }, TargetDate = new Date(2025, 7, 15) });
125+
126+
// Solar arc directions calculator - directed chart at one degree per year
127+
await roxy.Astrology.SolarArc.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 }, TargetDate = new Date(2025, 7, 15) });
128+
129+
// Annual profections calculator - lord of the year and yearly time lord by age
130+
await roxy.Astrology.Profections.PostAsync(new() { Date = new Date(1990, 7, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 }, TargetDate = new Date(2025, 8, 4) });
116131
```
117132

118133
---

specs/openapi.json

Lines changed: 7956 additions & 6308 deletions
Large diffs are not rendered by default.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
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 RoxyApi.Models;
7+
using System.Collections.Generic;
8+
using System.IO;
9+
using System.Threading.Tasks;
10+
using System.Threading;
11+
using System;
12+
namespace RoxyApi.Astrology.Asteroids
13+
{
14+
/// <summary>
15+
/// Builds and executes requests for operations under \astrology\asteroids
16+
/// </summary>
17+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
18+
public partial class AsteroidsRequestBuilder : BaseRequestBuilder
19+
{
20+
/// <summary>
21+
/// Instantiates a new <see cref="global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder"/> and sets the default values.
22+
/// </summary>
23+
/// <param name="pathParameters">Path parameters for the request</param>
24+
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
25+
public AsteroidsRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/astrology/asteroids{?lang*}", pathParameters)
26+
{
27+
}
28+
/// <summary>
29+
/// Instantiates a new <see cref="global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder"/> and sets the default values.
30+
/// </summary>
31+
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
32+
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
33+
public AsteroidsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/astrology/asteroids{?lang*}", rawUrl)
34+
{
35+
}
36+
/// <summary>
37+
/// Calculate the natal positions of the four classical asteroid goddesses, Ceres, Pallas, Juno, and Vesta, for any birth moment. Each asteroid returns its tropical zodiac sign, degree, house placement, daily speed, retrograde status, and a plain language interpretation of its meaning in the chart. Chiron is available through the natal chart endpoint, so this endpoint stays focused on the four asteroid goddesses for natal reports and relationship astrology.
38+
/// </summary>
39+
/// <returns>A <see cref="global::RoxyApi.Models.AsteroidsResponse"/></returns>
40+
/// <param name="body">The request body</param>
41+
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
42+
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
43+
/// <exception cref="global::RoxyApi.Models.RoxyError">When receiving a 400 status code</exception>
44+
/// <exception cref="global::RoxyApi.Models.RoxyError">When receiving a 401 status code</exception>
45+
/// <exception cref="global::RoxyApi.Models.RoxyError">When receiving a 405 status code</exception>
46+
/// <exception cref="global::RoxyApi.Models.RoxyError">When receiving a 429 status code</exception>
47+
/// <exception cref="global::RoxyApi.Models.RoxyError">When receiving a 500 status code</exception>
48+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
49+
#nullable enable
50+
public async Task<global::RoxyApi.Models.AsteroidsResponse?> PostAsync(global::RoxyApi.Models.AsteroidsRequest body, Action<RequestConfiguration<global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder.AsteroidsRequestBuilderPostQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
51+
{
52+
#nullable restore
53+
#else
54+
public async Task<global::RoxyApi.Models.AsteroidsResponse> PostAsync(global::RoxyApi.Models.AsteroidsRequest body, Action<RequestConfiguration<global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder.AsteroidsRequestBuilderPostQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
55+
{
56+
#endif
57+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
58+
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
59+
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
60+
{
61+
{ "400", global::RoxyApi.Models.RoxyError.CreateFromDiscriminatorValue },
62+
{ "401", global::RoxyApi.Models.RoxyError.CreateFromDiscriminatorValue },
63+
{ "405", global::RoxyApi.Models.RoxyError.CreateFromDiscriminatorValue },
64+
{ "429", global::RoxyApi.Models.RoxyError.CreateFromDiscriminatorValue },
65+
{ "500", global::RoxyApi.Models.RoxyError.CreateFromDiscriminatorValue },
66+
};
67+
return await RequestAdapter.SendAsync<global::RoxyApi.Models.AsteroidsResponse>(requestInfo, global::RoxyApi.Models.AsteroidsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
68+
}
69+
/// <summary>
70+
/// Calculate the natal positions of the four classical asteroid goddesses, Ceres, Pallas, Juno, and Vesta, for any birth moment. Each asteroid returns its tropical zodiac sign, degree, house placement, daily speed, retrograde status, and a plain language interpretation of its meaning in the chart. Chiron is available through the natal chart endpoint, so this endpoint stays focused on the four asteroid goddesses for natal reports and relationship astrology.
71+
/// </summary>
72+
/// <returns>A <see cref="RequestInformation"/></returns>
73+
/// <param name="body">The request body</param>
74+
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
75+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
76+
#nullable enable
77+
public RequestInformation ToPostRequestInformation(global::RoxyApi.Models.AsteroidsRequest body, Action<RequestConfiguration<global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder.AsteroidsRequestBuilderPostQueryParameters>>? requestConfiguration = default)
78+
{
79+
#nullable restore
80+
#else
81+
public RequestInformation ToPostRequestInformation(global::RoxyApi.Models.AsteroidsRequest body, Action<RequestConfiguration<global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder.AsteroidsRequestBuilderPostQueryParameters>> requestConfiguration = default)
82+
{
83+
#endif
84+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
85+
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
86+
requestInfo.Configure(requestConfiguration);
87+
requestInfo.Headers.TryAdd("Accept", "application/json");
88+
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
89+
return requestInfo;
90+
}
91+
/// <summary>
92+
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
93+
/// </summary>
94+
/// <returns>A <see cref="global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder"/></returns>
95+
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
96+
public global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder WithUrl(string rawUrl)
97+
{
98+
return new global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder(rawUrl, RequestAdapter);
99+
}
100+
/// <summary>
101+
/// Calculate the natal positions of the four classical asteroid goddesses, Ceres, Pallas, Juno, and Vesta, for any birth moment. Each asteroid returns its tropical zodiac sign, degree, house placement, daily speed, retrograde status, and a plain language interpretation of its meaning in the chart. Chiron is available through the natal chart endpoint, so this endpoint stays focused on the four asteroid goddesses for natal reports and relationship astrology.
102+
/// </summary>
103+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
104+
public partial class AsteroidsRequestBuilderPostQueryParameters
105+
{
106+
/// <summary>Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.</summary>
107+
[QueryParameter("lang")]
108+
public global::RoxyApi.Astrology.Asteroids.PostLangQueryParameterType? Lang { get; set; }
109+
}
110+
}
111+
}
112+
#pragma warning restore CS0618
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// <auto-generated/>
2+
using System.Runtime.Serialization;
3+
using System;
4+
namespace RoxyApi.Astrology.Asteroids
5+
{
6+
/// <summary>Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.</summary>
7+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
8+
public enum PostLangQueryParameterType
9+
{
10+
[EnumMember(Value = "en")]
11+
#pragma warning disable CS1591
12+
En,
13+
#pragma warning restore CS1591
14+
[EnumMember(Value = "tr")]
15+
#pragma warning disable CS1591
16+
Tr,
17+
#pragma warning restore CS1591
18+
[EnumMember(Value = "de")]
19+
#pragma warning disable CS1591
20+
De,
21+
#pragma warning restore CS1591
22+
[EnumMember(Value = "es")]
23+
#pragma warning disable CS1591
24+
Es,
25+
#pragma warning restore CS1591
26+
[EnumMember(Value = "hi")]
27+
#pragma warning disable CS1591
28+
Hi,
29+
#pragma warning restore CS1591
30+
[EnumMember(Value = "pt")]
31+
#pragma warning disable CS1591
32+
Pt,
33+
#pragma warning restore CS1591
34+
[EnumMember(Value = "fr")]
35+
#pragma warning disable CS1591
36+
Fr,
37+
#pragma warning restore CS1591
38+
[EnumMember(Value = "ru")]
39+
#pragma warning disable CS1591
40+
Ru,
41+
#pragma warning restore CS1591
42+
}
43+
}

src/Generated/Astrology/AstrologyRequestBuilder.cs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,26 @@
55
using RoxyApi.Astrology.ArabicLots;
66
using RoxyApi.Astrology.AspectPatterns;
77
using RoxyApi.Astrology.Aspects;
8+
using RoxyApi.Astrology.Asteroids;
89
using RoxyApi.Astrology.Astrocartography;
910
using RoxyApi.Astrology.CompatibilityScore;
1011
using RoxyApi.Astrology.CompositeChart;
1112
using RoxyApi.Astrology.FixedStars;
1213
using RoxyApi.Astrology.Horoscope;
1314
using RoxyApi.Astrology.Houses;
15+
using RoxyApi.Astrology.Lilith;
1416
using RoxyApi.Astrology.LocalSpace;
1517
using RoxyApi.Astrology.LunarReturn;
1618
using RoxyApi.Astrology.MoonPhase;
1719
using RoxyApi.Astrology.NatalChart;
1820
using RoxyApi.Astrology.PlanetMeanings;
1921
using RoxyApi.Astrology.PlanetaryReturns;
2022
using RoxyApi.Astrology.Planets;
23+
using RoxyApi.Astrology.Profections;
24+
using RoxyApi.Astrology.Progressions;
2125
using RoxyApi.Astrology.RelocationChart;
2226
using RoxyApi.Astrology.Signs;
27+
using RoxyApi.Astrology.SolarArc;
2328
using RoxyApi.Astrology.SolarReturn;
2429
using RoxyApi.Astrology.Synastry;
2530
using RoxyApi.Astrology.TransitAspects;
@@ -51,6 +56,11 @@ public partial class AstrologyRequestBuilder : BaseRequestBuilder
5156
{
5257
get => new global::RoxyApi.Astrology.Aspects.AspectsRequestBuilder(PathParameters, RequestAdapter);
5358
}
59+
/// <summary>The asteroids property</summary>
60+
public global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder Asteroids
61+
{
62+
get => new global::RoxyApi.Astrology.Asteroids.AsteroidsRequestBuilder(PathParameters, RequestAdapter);
63+
}
5464
/// <summary>The astrocartography property</summary>
5565
public global::RoxyApi.Astrology.Astrocartography.AstrocartographyRequestBuilder Astrocartography
5666
{
@@ -81,6 +91,11 @@ public partial class AstrologyRequestBuilder : BaseRequestBuilder
8191
{
8292
get => new global::RoxyApi.Astrology.Houses.HousesRequestBuilder(PathParameters, RequestAdapter);
8393
}
94+
/// <summary>The lilith property</summary>
95+
public global::RoxyApi.Astrology.Lilith.LilithRequestBuilder Lilith
96+
{
97+
get => new global::RoxyApi.Astrology.Lilith.LilithRequestBuilder(PathParameters, RequestAdapter);
98+
}
8499
/// <summary>The localSpace property</summary>
85100
public global::RoxyApi.Astrology.LocalSpace.LocalSpaceRequestBuilder LocalSpace
86101
{
@@ -116,6 +131,16 @@ public partial class AstrologyRequestBuilder : BaseRequestBuilder
116131
{
117132
get => new global::RoxyApi.Astrology.Planets.PlanetsRequestBuilder(PathParameters, RequestAdapter);
118133
}
134+
/// <summary>The profections property</summary>
135+
public global::RoxyApi.Astrology.Profections.ProfectionsRequestBuilder Profections
136+
{
137+
get => new global::RoxyApi.Astrology.Profections.ProfectionsRequestBuilder(PathParameters, RequestAdapter);
138+
}
139+
/// <summary>The progressions property</summary>
140+
public global::RoxyApi.Astrology.Progressions.ProgressionsRequestBuilder Progressions
141+
{
142+
get => new global::RoxyApi.Astrology.Progressions.ProgressionsRequestBuilder(PathParameters, RequestAdapter);
143+
}
119144
/// <summary>The relocationChart property</summary>
120145
public global::RoxyApi.Astrology.RelocationChart.RelocationChartRequestBuilder RelocationChart
121146
{
@@ -126,6 +151,11 @@ public partial class AstrologyRequestBuilder : BaseRequestBuilder
126151
{
127152
get => new global::RoxyApi.Astrology.Signs.SignsRequestBuilder(PathParameters, RequestAdapter);
128153
}
154+
/// <summary>The solarArc property</summary>
155+
public global::RoxyApi.Astrology.SolarArc.SolarArcRequestBuilder SolarArc
156+
{
157+
get => new global::RoxyApi.Astrology.SolarArc.SolarArcRequestBuilder(PathParameters, RequestAdapter);
158+
}
129159
/// <summary>The solarReturn property</summary>
130160
public global::RoxyApi.Astrology.SolarReturn.SolarReturnRequestBuilder SolarReturn
131161
{

0 commit comments

Comments
 (0)