public List<Event> getEvents(String artistName) throws IOException, EncoderException {
        String data = client.getData(artistName);
        return !(data == null || data.isEmpty()) ? dataHandler.parsJsonToEvents(data) : null;
    }