Issue getting data in votable format

Affiliation
American Association of Variable Star Observers (AAVSO)
Tue, 07/05/2022 - 19:03

Hi all,
I hope this is the correct forum for this question

I have an issue getting data in votable format.
When I use this link I get an error returned:
https://www.aavso.org/vsx/index.php?view=query.votable&coords=78.2910921733331+33.3128844170188&size=35.0&unit=2&order=9

If I change it to this, it works fine:
https://www.aavso.org/vsx/index.php?view=results.get&coords=78.2910921733331+33.3128844170188&size=35.0&unit=2&order=9

Could someone take a look?

Thanks in advance,

Nick

Affiliation
American Association of Variable Star Observers (AAVSO)
votable problem

I think the problem is a non-ascii character in the return stream.

I'm looking into this.

George

Affiliation
American Association of Variable Star Observers (AAVSO)
AAVSO API's

There are other methods for getting VSX information:   https://www.aavso.org/apis-aavso-resources

What are you looking for?

George

Affiliation
American Association of Variable Star Observers (AAVSO)
Hi George,

I am working on…

Hi George,

I am working on the exoplanet plugin for Nina.
I'm looking to get a list of variable stars around a target star, but in a format that's programmatically readable.
Basically I want to check for variable stars within an image and mark them, so the user knows they are not usable as comparison stars.

If there's a different option, maybe with a json format, that would be great too.

Thanks, Nick

Affiliation
American Association of Variable Star Observers (AAVSO)
I think I will use this…

I think I will use this instead:
https://www.aavso.org/vsx/index.php?view=api.list&ra=78.291092&dec=+33.3128&radius=1&tomag=18&format=json

That seems to give what I need.
I don't think it was an option, when I was first working on the plugin.
 

Thanks again, Nick