 async = require('async')
 
 STEAM_API_TOKEN = process.env.STEAM_API_TOKEN
-PLAYER_SUMMARY_URL = process.env.PLAYER_SUMMARY_URL + process.env.STEAM_API_KEY + '&steamids='
+FULL_PLAYER_URL = process.env.PLAYER_SUMMARY_URL + process.env.STEAM_API_KEY + '&steamids='
 
 integrations = []
 

        deferred.resolve(null)
    else
      console.log 'An error was encountered', error
      return error

  deferred.promise

  deferred.promise

isUserOnline = (user)->
  url = FULL_PLAYER_URL + user.id
  deferred = $q.defer()

  request url, (error, response, body)->
    console.log 'response:', response.statusCode
    if !error && response.statusCode is 200
      parsedResult = JSON.parse(body)
      player = parsedResult.response.players[0]
