add quake player count
This commit is contained in:
parent
46398dde86
commit
65673b7ea3
1 changed files with 1 additions and 1 deletions
|
@ -10,4 +10,4 @@ uri = URI(url)
|
|||
response = Net::HTTP.get(uri)
|
||||
json_data = JSON.parse(response)
|
||||
|
||||
puts json_data['response']['player_count']
|
||||
puts "time: #{Time.now}\nplayers: #{json_data['response']['player_count']}"
|
||||
|
|
Loading…
Add table
Reference in a new issue