Trying to get api working.