source

Source Query library for Crystal

view - Documentation

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      source:
        github: Rorkh/source
  2. Run shards install

Usage

require "source"

query = Source::Query.new "37.230.162.62", 27015
info = query.info

puts info.players

query.close

Contributing

  1. Fork it (https://github.com/Rorkh/source/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors