def website_url(resource = '', params = {})
      api_url = ENV['ZENATON_API_URL'] || ZENATON_API_URL
      url = "#{api_url}/#{resource}"

      if params.is_a?(Hash)
        params[API_TOKEN] = @api_token
        append_params_to_url(url, params)
      else
        add_app_env("#{url}?#{API_TOKEN}=#{@api_token}&", params)
      end
    end
def website_url(resource = '', params = {})
      api_url = ENV['ZENATON_API_URL'] || ZENATON_API_URL
      url = "#{api_url}/#{resource}"

      if params.is_a?(Hash)
        params[API_TOKEN] = @api_token
        append_params_to_url(url, params)
      else
        add_app_env("#{url}?#{API_TOKEN}=#{@api_token}&", params)
      end
    end
Gets the url for zenaton api
 @param resource [String] the endpoint for the api
 @param params [Hash|String] query params to be url encoded
 @return [String] the api url with parameters