Prowl API Library
Developers Last Update Started Language Tools License |
Kevin Gardthausen 2013-07-25 2013-06-28 VB.Net 4.0 Visual Studio 2012 GNU GPL v3 |
Visual Basic .NET 4.0 implementation of the Prowl API (http://www.prowlapp.com/api.php).
Project includes command line client and test project. Also works with Mono framework.
What is Prowl?
Prowl is the Growl client for iOS. Push to your iPhone, iPod touch, or iPad notifications from a Mac or Windows computer, or from a multitude of apps and services. Easily integrate the Prowl API into your applications.
Support
- Home Page: https://www.nugardt.com/open-source/prowl-api/
- Code: https://github.com/NuGardt/prowl-api
- Prowl: http://www.prowlapp.com
- Issue Tracking: http://jira.nugardt.com:9080/browse/NPA
- Create issue via e-Mail: npa-jira [at] nugardt [dot] com
- E-mail: [email protected]
- Twitter: https://www.twitter.com/NuGardt
- Facebook: https://www.facebook.com/NuGardt
Download
NuGardt Prowl Client
NuGardt Prowl API Library
Open source
Download the source at https://github.com/NuGardt/prowl-api
Subversion (SVN):
1 |
svn checkout https://github.com/NuGardt/prowl-api |
Git:
1 |
git clone https://github.com/NuGardt/prowl-api.git |
Created in Microsoft Visual Studio 2012 with Visual Basic .NET 4.0.
Usage
Library is thread safe. Original library is signed by NuGardt.
Calling a method (Sync)
1 2 3 4 5 6 7 8 9 10 11 12 |
Const ApiKey = "<< Your API Key >>" Dim Result As ProwlResult = Nothing Dim Ex As Exception = Nothing Ex = ProwlService.AddNotification(ApiKey := ApiKey, Application := "My App", Event := "Notification", Description := "My app is online.", Result := Result, ProviderKey := Nothing, Priority := eProwlPriority.Emergency, URL := "https://www.nugardt.com") |
Calling a method (Async)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Const ApiKey = "<< Your API Key >>" Private Sub Start() Dim AsyncResult as System.IAsyncResult AsyncResult = ProwlService.AddNotificationBegin(Key := Nothing, ApiKey := ApiKey, Application := "My App", Event := "Notification", Description := "My app is online.", Result := Result, ProviderKey := Nothing, Priority := eProwlPriority.Emergency, URL := "https://www.nugardt.com") End Sub Private Sub MyCallback(ByVal Result As IAsyncResult) Dim Ex As Exception Dim Response As ProwlResult = Nothing Dim Key As Object = Nothing Ex = ProwlService.AddNotificationEnd(Result:=Result, Key:=Key, Response:=Response) 'Your code to do something with the result or exception... End Sub |
License
NuGardt Prowl API
Copyright (C) 2013 NuGardt Software
https://www.nugardt.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Leave a Reply
You must be logged in to post a comment.