Samples icon indicating copy to clipboard operation
Samples copied to clipboard

Examples for Astronomy API

Results 19 Samples issues
Sort by recently updated
recently updated
newest added

Is it possible to access the API from non-Web hosted methods... using Excel VBA, VBScript, Powershell, or the like? I have a large list of items that I'm trying to...

What's wrong with this code in Pyhon??? I get always 422 error. ``` def q3(): # Query 3 payload3 = "{\"observer\":{\"latitude\":27.73,\"longitude\":-15.57,\"elevation\":0,\"from_date\":\"2024-04-30\",\"to_date\":\"2024-04-23\",\"time\":\"23:50:00\"}}" data = urllib.parse.urlencode(headers) data = data.encode('ascii') # data should...

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

i'm tring to connect from .net web form, thats the header i'm sending, and get 403, what can fix it? client.Headers.Add("Authorization: Basic " + Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes(ApplicationId + ":" + ApplicationSecret)));

I have created an application with this origin http://localhost:5173 but despite that I keep getting this error Access to fetch at 'https://api.astronomyapi.com/api/v2/bodies/events/Sun?latitude=22.57620861111111&longitude=88.35759838888889&elevation=15&from_date=2024-06-18&to_date=2024-07-18&time=17:19:12' from origin 'http://localhost:5173' has been blocked by CORS...

Hi, I'm getting this error when trying to access the API from a client (Android Tasker app) {"Message":"User is not authorized to access this resource with an explicit deny"} I...

Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3. Release notes Sourced from ws's releases. 6.2.3 Bug fixes Backported e55e5106 to the 6.x release line (eeb76d31). Commits d87f3b6 [dist] 6.2.3 eeb76d3 [security] Fix...

dependencies

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.21.0. Release notes Sourced from express's releases. 4.21.0 What's Changed Deprecate "back" magic string in redirects by @​blakeembrey in expressjs/express#5935 [email protected] by @​wesleytodd in expressjs/express#5954...

dependencies

## Description of the issue I use the demo site to generate a star chart: http://demo.astronomyapi.com/#/ However, when I change the data in observer (latitude, longitude or date), it returns...

Bumps [webpack](https://github.com/webpack/webpack) from 4.46.0 to 5.94.0. Release notes Sourced from webpack's releases. v5.94.0 Bug Fixes Added runtime condition for harmony reexport checked Handle properly data/http/https protocols in source maps Make...

dependencies