Skip to content

Commit

Permalink
Updated screenshots and README.md formatting (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Nov 19, 2023
1 parent f97134b commit f928760
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ A scenario where you want to poll the API for your configuration:
```bash
# A simple example of the Apprise CLI
# pulling down previously stored configuration
apprise -vvv --body="test message" --config=http://localhost:8000/get/{KEY}
apprise -vvv --body="test message" \
--config=http://localhost:8000/get/{KEY}
```

You can also leverage the `import` parameter supported in Apprise configuration files if `APPRISE_CONFIG_LOCK` isn't set on the server you're accessing:
Expand All @@ -378,7 +379,8 @@ If you used tagging, then you can notify the specific service like so:

```bash
# Configuration is automatically loaded from our server.
apprise -vvv --tag=devops --body="Tell James GitLab is down again."
apprise -vvv --tag=devops \
--body="Tell James GitLab is down again."
```


Expand Down Expand Up @@ -407,12 +409,13 @@ We could trigger our notification to our friends now like:

```bash
# Trigger our service:
apprise -vvv --tag=devteam --body="Guys, don't forget about the audit tomorrow morning."
apprise -vvv --tag=devteam \
--body="Guys, don't forget about the audit tomorrow morning."
```

### AppriseConfig() Pull Example

Using the [Apprise Python library](https://github.com/caronc/apprise), you can easily access and load your saved configuration off of this API in order to use for future notifications.
Using the [Apprise Python library](https://github.com/caronc/apprise), you can easily access and load your saved configuration from this API in order to use for future notifications.

```python
import apprise
Expand Down
Binary file modified Screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f928760

Please sign in to comment.