Add --test Flag to Fetch Only the First Page of Results #10

Merged
nick merged 2 commits from feature/add-test-flag-for-first-page-results into master 2025-05-22 10:51:20 -04:00
Showing only changes of commit 5be8659264 - Show all commits

View File

@ -87,6 +87,7 @@ python 753DataSync.py --results_per_page 100
| Argument | Description |
|----------------------|---------------------------------------------|
| `--results_per_page` | Optional. Number of results per API call (default: `100`) |
| `--test` | Optional. If set, only fetch the first page of results. |
---
@ -99,6 +100,7 @@ python 753DataSync.py --results_per_page 100
5. **📤 Add Features** — Sends data to ArcGIS feature layer.
6. **🧹 File Cleanup** — Deletes `.json`/`.log` files older than `PURGE_DAYS`.
7. **📑 Dynamic Logs** — Logs saved to `753DataSync_YYYY-MM-DD.log`.
8. **🧪 Test Mode** — Use the `--test` flag to fetch only the first page of results for testing purposes.
---