From 2121119365f080de2733483cca746b17d275b372 Mon Sep 17 00:00:00 2001 From: W1CDN Date: Sun, 23 Apr 2023 21:13:06 -0500 Subject: [PATCH] Update docs. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2d8076..95c2f4e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ direwolf logs into a REST API in JSON format. 1. Set up database file with `python init_db.py`. 2. Run `app.py` with either a Python call or a real WSGI server. You can use screen to detach the session. - - Default URL is http://127.0.0.1:5000 + - Default URL is http://127.0.0.1:5001 - Example `waitress` and `screen` scripts are included, see - `api_waitress.py` and - `start-aprs_api.sh` @@ -20,6 +20,9 @@ You can use screen to detach the session. -`/packets` - gives the most recent packets, sorted descending by time received. - argument `n` will return a specific number of packets, default 10. E.g., `https://digi.w1cdn.net/aprs_api/packets?n=1` returns one packet. + - argument `from` will return packets from the named station-SSID (no wildcards). + E.g., `https://digi.w1cdn.net/aprs_api/packets?n=1&from=W1CDN-1` returns + one packet from W1CDN-1. Example of an object packet sent by W1CDN-1 and digipeated by K0UND-2: ```