https://github.com/imryan/popcornnotify-swift
🍿 Send simple emails and text messages from PopcornNotify.
https://github.com/imryan/popcornnotify-swift
email-sender popcornnotify sms-api
Last synced: about 1 month ago
JSON representation
🍿 Send simple emails and text messages from PopcornNotify.
- Host: GitHub
- URL: https://github.com/imryan/popcornnotify-swift
- Owner: imryan
- License: mit
- Created: 2018-03-05T02:56:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T19:32:49.000Z (over 6 years ago)
- Last Synced: 2025-12-06T11:41:11.052Z (6 months ago)
- Topics: email-sender, popcornnotify, sms-api
- Language: Swift
- Homepage: https://popcornnotify.com
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍿 PopcornNotify
[](https://travis-ci.org/imryan/PopcornNotify)
[](http://cocoapods.org/pods/PopcornNotify)
[](http://cocoapods.org/pods/PopcornNotify)
[](http://cocoapods.org/pods/PopcornNotify)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
* Has no dependencies!
## Installation
PopcornNotify is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'PopcornNotify'
```
## Usage
```swift
// Setup PopcornNotify with API key
let popcorn = PopcornNotify(withAPIKey: "api:key")
// Notify!
popcorn.notify(recipients: "theboys@github.com", "2125551234",
message: "Hello, world!", subject: "Hello") { (error) in
if let error = error {
print("Error:", error.localizedDescription)
}
}
```
## Author
Ryan Cohen, notryancohen@gmail.com
## License
PopcornNotify is available under the MIT license. See the LICENSE file for more info.