pushover 0.2.0

Dlang API for pushover.net notification API


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Pushover Dlang API

Alpha bindings for https://pushover.net/api notification API

"Pushover uses a simple, versioned REST API to receive messages from your application and send them to devices running our device clients. To simplify the user registration process and usage of our API, there are no complicated out-of-band authentication mechanisms or per-call signing libraries required, such as OAuth. HTTP libraries available in just about every language, or even from the command line, can be used without any custom modules or extra dependencies needed. See our FAQ for examples in different programming languages."

Boost-licensed. Use at your peril.

Example code:

import kaleidic.api.pushover; import std.datetime; import std.stdio; void main(string[] args) {

auto api=PushoverAPI("application token,"user key");
PushoverMessage message;
message=message.setMessage("message text")
    .setTitle("message title")
    .setUrl("google.com")
    .setUrlTitle("google")
    .setPriority(PushoverMessagePriority.high)
    .setTimeStamp(DateTime(2013,1,1));
auto ret=api.sendMessage(message);
writefln("%s",ret["status"]);
writefln("%s",ret["request"]);

}

Authors:
  • Laeeth Isharc
Dependencies:
none
Versions:
0.3.1 2017-Apr-21
0.3.0 2016-Apr-11
0.2.15 2016-Apr-11
0.2.1 2016-Apr-11
0.2.0 2016-Mar-13
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 65 downloads total

Score:
0.5
Short URL:
pushover.dub.pm