Skip to content

Commit

Permalink
GitHub #62 - Add application limitations to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmk committed Dec 24, 2014
1 parent 884176e commit 8b86c71
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,23 @@ $messageStatus->hasCalledBack();
$messageStatus->calledBackAt();
```

## Getting application limitations

[Pushover.net](https://pushover.net) allows you to send 7,500 messages per month for each application you own. Sending more than that limit will result in rejected requests from the service.

Pushy provides 3 convenience methods on the client to retrieve your app's message limit, remaining messages, and timestamp for when the limit is reset. These values are available after making any other request to Pushover.

```php
// Call limit for the application per month.
$pushy->getAppLimit();

// Calls remaining for the month.
$pushy->getAppRemaining();

// Timestamp for when calls remaining is reset to limit.
$pushy->getAppReset();
```

## Command-line Interface

Included in Pushy is a convenient script to send messages from the command line.
Expand Down

0 comments on commit 8b86c71

Please sign in to comment.