keolo / mixpanel_client

Ruby interface to the Mixpanel Data API
MIT License
148 stars 72 forks source link

Filter by Properties #65

Open ehubbell opened 4 years ago

ehubbell commented 4 years ago

This lib is good for basic queries but it'd be GREAT if we could filter by additional properties :)

For instance, it'd be great if I could query something like the following:

data = @client.request(
  'events/properties',
  event: @event,
  name: @name,
  filter: ['organizer_id'],
  type: 'unique',
  unit: 'day',
  interval: 7,
  limit: 10
)