Unfinished implementation for consuming rest apis