'Get job details from GoDocker and return the job.
Pass job_id to the http_get_request method.'

def get_task(self, job_id):

    job = False
    if self.auth.token:
        result = self.auth.http_get_request(('/api/1.0/task/' + str(job_id)), {'Authorization': ('Bearer    ' + self.auth.token)})
        job = result.json()
    return job
