Blitzortung.org Forum

Full Version: Using the API for a charity project?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! Is there a way to use the APi for a charity project?
The way is to get a station and to keep it running. As active station operator you can access the data.
Hi everyone. I heve one problem:
I am an active user (336; station 1003). My login password, which I use to access the service, does not work for downloading data from data.blitzortung.org/Data/Protected. Does access to the data require a different username and password?
(2024-07-09, 09:19)NavsimPolska Wrote: [ -> ]Hi everyone. I heve one problem:
I am an active user (336; station 1003). My login password, which I use to access the service, does not work for downloading data from data.blitzortung.org/Data/Protected. Does access to the data require a different username and password?

I have set you as active user (you recently got a Red version). Welcome aboard

That should work but did you respect the url format (didn't forget the @ in the url, I often do) ?

https://username:password@data.blitzortu...trikes.php
(2024-07-09, 09:40)Eric.Wouters Wrote: [ -> ]
(2024-07-09, 09:19)NavsimPolska Wrote: [ -> ]Hi everyone. I heve one problem:
I am an active user (336; station 1003). My login password, which I use to access the service, does not work for downloading data from data.blitzortung.org/Data/Protected. Does access to the data require a different username and password?

I have set you as active user (you recently got a Red version). Welcome aboard

That should work but did you respect the url format (didn't forget the @ in the url, I often do) ?

https://username:password@data.blitzortu...trikes.php
(2024-07-09, 12:16)NavsimPolska Wrote: [ -> ]
(2024-07-09, 09:40)Eric.Wouters Wrote: [ -> ]I have set you as active user (you recently got a Red version). Welcome aboard

That should work but did you respect the url format (didn't forget the @ in the url, I often do) ?

https://username:password@data.blitzortu...trikes.php

Sure. Yes. I remembered about the format login:password@.... And still, it doesn't let me in to the address you provided. We've been using the username RED since 2014, we've just returned to the project now. But it doesn't want to let us in. Is it OK: https://336:password@data.blitzortung.or...trikes.php ?
Try your username `NavsimPolska` instead of your user number.

It is also possible to enter the url without username password combination. In this case the browser asks you for the credentials. Enter username and password in the popup window.

In Python scripts I'm using `urllib.request.HTTPPasswordMgrWithDefaultRealm()`. I can provide a code snippet if requested.
Thanks!
Problem is resolved