gets news api working