dapnetapisendcall
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| dapnetapisendcall [2022/01/30 12:18] – [Example for python3] dj7lc | dapnetapisendcall [2026/01/30 13:06] (aktuell) – Fix urls dj7lc | ||
|---|---|---|---|
| Zeile 2: | Zeile 2: | ||
| ===== Example for curl from linux console ===== | ===== Example for curl from linux console ===== | ||
| + | |||
| + | ===== HAMNET ===== | ||
| < | < | ||
| - | curl -H " | + | curl -H " |
| </ | </ | ||
| + | |||
| + | ===== INTERNET ===== | ||
| + | |||
| + | < | ||
| + | curl -H " | ||
| + | </ | ||
| + | |||
| ===== Example for python3 ===== | ===== Example for python3 ===== | ||
| Zeile 12: | Zeile 21: | ||
| import requests | import requests | ||
| - | url = ' | + | # HAMNET |
| + | url = ' | ||
| + | |||
| + | # INTERNET | ||
| + | #url = ' | ||
| headers = {' | headers = {' | ||
| Zeile 24: | Zeile 37: | ||
| print(response) | print(response) | ||
| </ | </ | ||
| + | |||
| + | ===== make sure to select the correct DAPNET server ===== | ||
| + | When you are connected to HAMNET (either through the air or via VPN) you can use the HAMNET node http:// | ||
| + | |||
| + | If you're not connected to HAMNET please use the server connected to the public internet http:// | ||
| + | |||
| ===== calls to more than one callsign ===== | ===== calls to more than one callsign ===== | ||
| - | It is also possible to hand over more than one call sign to the API. The call signs then have to be comma separated. | + | It is also possible to hand over more than one call sign to the API. The call signs then have to be comma separated |
| < | < | ||
| Zeile 36: | Zeile 55: | ||
| ===== calls to more than one tx group ===== | ===== calls to more than one tx group ===== | ||
| - | The tx groups have to be comma separated. | + | The tx groups have to be comma separated |
| < | < | ||
dapnetapisendcall.1643545082.txt.gz · Zuletzt geändert: 2022/01/30 12:18 von dj7lc