Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rorkh/source
Source Query library for Crystal
https://github.com/rorkh/source
crystal-lang gmod source source-query-library
Last synced: 30 days ago
JSON representation
Source Query library for Crystal
- Host: GitHub
- URL: https://github.com/rorkh/source
- Owner: Rorkh
- License: mit
- Created: 2023-04-16T12:20:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-01T15:05:43.000Z (over 1 year ago)
- Last Synced: 2024-10-25T01:24:03.985Z (3 months ago)
- Topics: crystal-lang, gmod, source, source-query-library
- Language: Crystal
- Homepage: https://rorkh.github.io/source/
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# source
[Source Query](https://developer.valvesoftware.com/wiki/Server_queries) library for Crystal
[![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://rorkh.github.io/source/index.html "Go to project documentation")
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
source:
github: Rorkh/source
```2. Run `shards install`
## Usage
```crystal
require "source"query = Source::Query.new "37.230.162.62", 27015
info = query.infoputs info.players
query.close
```## Contributing
1. Fork it ()
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](https://github.com/Rorkh) - creator and maintainer