add method to send api request, add test, fix logging warning, update readme