Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 26 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T19:32:49.000Z (over 4 years ago)
- Last Synced: 2024-09-09T15:01:17.578Z (about 2 months ago)
- Topics: email-sender, popcornnotify, sms-api
- Language: Swift
- Homepage: https://popcornnotify.com
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍿 PopcornNotify
[![CI Status](http://img.shields.io/travis/imryan/PopcornNotify.svg?style=flat)](https://travis-ci.org/imryan/PopcornNotify)
[![Version](https://img.shields.io/cocoapods/v/PopcornNotify.svg?style=flat)](http://cocoapods.org/pods/PopcornNotify)
[![License](https://img.shields.io/cocoapods/l/PopcornNotify.svg?style=flat)](http://cocoapods.org/pods/PopcornNotify)
[![Platform](https://img.shields.io/cocoapods/p/PopcornNotify.svg?style=flat)](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: "[email protected]", "2125551234",
message: "Hello, world!", subject: "Hello") { (error) inif let error = error {
print("Error:", error.localizedDescription)
}
}
```## Author
Ryan Cohen, [email protected]
## License
PopcornNotify is available under the MIT license. See the LICENSE file for more info.