Skip to content

Add group profile update methods #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 19, 2019

Conversation

YayC
Copy link
Contributor

@YayC YayC commented Aug 6, 2019

Adds group profile update methods using the /groups endpoint. See https://developer.mixpanel.com/docs/http#section-group-analytics

Also adds missing $remove method for both /groups and /engage, and makes the modifiers argument optional in all profile update methods (user + group) on MessageBuilder.

if (null != modifiers) {
final String[] keys = JSONObject.getNames(modifiers);
if (keys != null) {
for(String key : keys) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for(String key : keys) {
for (String key : keys) {

@patedit patedit merged commit 97ffefe into mixpanel:master Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants