proper getting from API and parsing it