This is a java implementation of the ManyChat API.
Setup
Usage
Contributing
License
Add the library to your build file.
build.gradle:
...
repositories {
jcenter()
}
...
dependencies {
compile 'io.github.nsotgui:manychat-api:0.0.5'
}
// Instantiates the client
ManyChatAPIClient manyChatAPIClient = ManyChatAPIFactory.getManyChatAPIClient("<manychat api key>");
// Gets the custom fields
List<CustomField> customFields = manyChatAPIClient.getCustomFields();
for (CustomField field : customFields)
System.out.println("Field: " + field);
See Example for a simple example.
See Spring Framework for an example using the Spring Framework.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This library is available under the Apache License, Version 2.0.