A crystal lang wrapper over the Jitsu API
-
Add the dependency to your
shard.yml
:dependencies: jitsu_client: github: hostari/jitsu_client
-
Run
shards install
require "jitsu_client"
client = Jitsu::Client.new
client.set_host("https://jitsu.mycompany.com")
client.set_token("my_auth_token_from_jitsu")
Jitsu::Event.create({ data: { my_data: 1 } }.to_json, client: client)
- Fork it (https://github.com/hostari/jitsu_client/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Xavi Ablaza - creator and maintainer