updating API wraper and adding private API testing with dummy API key