You can make up API calls which you can say you'd implement later. As long as these are not tricky blocks, you'll be fine.
But I have also been to places that demand actual working code which is compiled and is tested against cases
Usually there the problem is simpler, so there's that