keolo / mixpanel_client

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

change authentication method to fix #52 #53

Closed kranzky closed 7 years ago

kranzky commented 7 years ago

Fixes #52

See the authentication section here: https://mixpanel.com/help/reference/data-export-api

Looks like MixPanel have disabled the old authentication for the data export api some time in the last 24 hours

kranzky commented 7 years ago

@keolo they do now, except for four of the spec:externals tests when parallel is true:

rspec ./spec/mixpanel_client/events_externalspec.rb:20 # External calls to mixpanel when requesting events should raise an error for bad requests
rspec ./spec/mixpanel_client/events_externalspec.rb:77 # External calls to mixpanel when requesting events should return retention
rspec ./spec/mixpanel_client/events_externalspec.rb:88 # External calls to mixpanel when requesting events should return retention in csv format
rspec ./spec/mixpanel_client/properties_externalspec.rb:20 # External calls to mixpanel when requesting event properties should raise an error for bad requests

but I haven't introduced those failures; they were already there

keolo commented 7 years ago

Thanks Jason!