source
Source Query library for Crystal
Installation
-
Add the dependency to your
shard.yml
:dependencies: source: github: Rorkh/source
-
Run
shards install
Usage
require "source"
query = Source::Query.new "37.230.162.62", 27015
info = query.info
puts info.players
query.close
Contributing
- Fork it (https://github.com/Rorkh/source/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
- Rorkh - creator and maintainer