Adding API's to websites and using local server (MAMP)