public function addUrl($url, $niceName = null, $priority = -100, $category = '', $postProcessing = 3, $script = '')
    {
        $params = [
            'name'     => $url,
            'priority' => $priority,
            'category' => $category,
            'pp'       => $postProcessing,
            'script'   => $script
        ];
        if ($niceName) {
            $params['nzbname'] = $niceName;
        }

        $url = $this->buildUrl('addurl', $params);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true);
    }