diff --git a/README.md b/README.md index 69b594c..15974a1 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,16 @@ vim keys.py The API key of MISP is available in the Automation section of the MISP web interface. To test if your URL and API keys are correct, you can test with examples/last.py to -fetch the last 10 events published. - +fetch the events published in the last x amount of time (supported time indicators: days (d), hours (h) and minutes (m)). +last.py ``` cd examples -python3 last.py -l 10 +python3 last.py -l 10h # 10 hours +python3 last.py -l 5d # 5 days +python3 last.py -l 45m # 45 minutes ``` + ## Debugging You have two options there: