SegmentAnalytics.jl

SegmentAnalytics.jl is a client library implementation for the Twilio Segment platform written in pure Julia.

The package was inspired by segmentio / analytics-ruby and copies some of architectural approaches.

For now, only a minimal framework is implemented, including transport level and track API. But that works much faster than any other non Julia-native implementations. We are happy to accept commits for other APIs you need or help to implement it.

Example:

using SegmentAnalytics

analytics = SegmentAnalytics.Analytics(write_key="write_key")
payload = Dict(
  :event => "Event Name",
  :user_id => "User ID",
  :properties => Dict(:p1 => 1, :p2 => 2),
  :message_id => "custom-message-id"
)

track(analytics, payload)
2 Likes