-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download tasks from Soaringspot #1419
Comments
There is @kedder s openvario menu that does that. |
“compman”, specifically https://github.com/kedder/openvario-compman, but that’s intended for Openvario use outside of XCSoar. Another vector to get a task into XCSoar is to link your WeGlide account with XCSoar, declare your competition task to WeGlide, and then download that in XCSoar. But yes, it’d still be nice if XCSoar could download a Soaringspot task on its own. |
They have public api: http://download.naviter.com/soaringspot/api/index.html |
Any takers? |
I could try but need some help with questions since I haven't done any contributions to XCSoar and have limited C++ experience |
I thought only POST in the API needed an API key but apparently the GET requests also do so all I get is 401. |
Only advice I can give is maybe have a look at the Compman code to see if you find anything useful there. |
Hmmm, seems like compman doesn't use the API but just goes to the soaringspot homepage and does some web scraping. |
All examples i found of getting soaringspot data use HTTP requests instead of the API (compman to i believe) So you can just make a test competition and get an API key and secret but even then i do not know how to get it to work. Maybe you could just contact naviter? And ask them how their api is intended to be used. |
The API keys are only valid for your own competition. I suggest contacting
Naviter, or using one of the 'proxies' like soarscore.
…On Mon, May 6, 2024 at 12:18 PM kobedegeest ***@***.***> wrote:
All examples i found of getting soaringspot data use HTTP requests instead
of the API (compman to i believe)
So you can just make a test competition and get an API key and secret but
even then i do not know how to get it to work.
The api claims you can use https://api.soaringspot.com/browser/#/v1 to
browes the api responses but i tried this with api key and secret generated
from a simple test competition but no luck.
Maybe you could just contact naviter? And ask them how their api is
intended to be used.
—
Reply to this email directly, view it on GitHub
<#1419 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACODF4YP3MOB6YEYYRS2ILZA5RHTAVCNFSM6AAAAABHEOK3X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVG43TQMZWGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Update: i did manage to get something out of that hall browser (even without the api key) But it seems not all competitions work so maybe the competition needs to have made an api key to enable acces via the api. |
I have written an e-mail to Naviter about how we should proceed with their API |
Naviter API is not very usable for this purpose, because there's no public API and one needs an account (with the key) to use it. At least that was the case when I looked at it few years ago. The way compan downloads a task is by using another web service, https://soarscore.com to download tasks. Soarscore in turn just parses HTML with the task description on soaringspot. |
GlideAndSeek also provide a nice public translation service API: Task data JSON interface documentation: [edit] |
XCSoar version
7.42 android
What should XCSoar do differently, what functionality should be added?
I would like to click a button and then the task for the selected competition would be downloaded, enabled and declared (if logger is connected).
What are you trying to do, what is the use case for the suggestion?
On a competition morning, it is nice if I don't have to type the task in by hand
The text was updated successfully, but these errors were encountered: