Yes, you should be able to use API as long as you declare the functions that you want to use.