linkshort
A crystal wrapper for the LinkShort API
Installation
-
Add the dependency to your
shard.yml
:dependencies: linkshort: github: Tch1b0/LinkShort.cr branch: master
-
Run
shards install
Usage
require "linkshort"
Create a new LinkShort
instance
linkshort = LinkShort::LinkShort.new
Create a new Linker
linker = linkshort.create "the-link-i-want-to-shorten.com"
Contributing
- Fork it (https://github.com/Tch1b0/LinkShort.cr/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
- Tch1b0 - creator and maintainer