github.com/jetthoughts/broolik-crystal
0.1 / published May 31, 2019 / repository
Affiliate Links Checker for Crystal
Broolik: Affiliate Links Checker for Crystal
TODO: Write a description here
Installation
-
Add the dependency to your
shard.yml:dependencies: broolik: github: jetthoughts/broolik-crystal -
Run
shards install
Usage
require "broolik"
client = Broolik.client
link = client.create_link({
"url" => "http://jetthoughts.com",
"device" => "iphone",
"country" => "UKR"
})
puts "Link validation status is: #{link.status}"
link.redirects.each do |redirect|
puts "Following '#{redirect.url}' got '#{redirect.status_code}'
end
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/broolik-crystal/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
Contributors
- Paul Keen - creator and maintainer