Skip to content

Rorkh/source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Rorkh - creator and maintainer