Skip to content

Porting all MNotify BMS's API as a typed interface for Java developers - an unofficial implementation

License

Notifications You must be signed in to change notification settings

dvc-77/MnotifyJavaClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNOTIFY JAVA CLIENT

A typed Java Rest client interface for MNotify BMS APIs

Usage

Here's a basic example of how to use the Mnotify Java Client Library:

import com.mnotify.MnotifyClient;

import com.mnotify.MnotifyClientConfiguration;


public Test {

    public static void main(String[] args) {

        // Create a client using your API key
        MnotifyClient client = MnotifyClientConfiguration.buildClientFrom("YOUR_API_KEY");


        // Use the client to interact with the API
        Campaign campaign = client.campaign();
        Contact contact = client.contact();
        Group group = client.group();
        MessageTemplate messageTemplate = client.messageTemplate();
        ReportsAndStats reportsAndStats = client.reportsAndStats();

        // Use these objects to interact with the corresponding parts of the API

        // For example:

        campaign.createCampaign("Campaign Name","Campaign Message");

    }

}

Still under construction

About

Porting all MNotify BMS's API as a typed interface for Java developers - an unofficial implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages