Help With API Integration. I am new to Hubspot

Hi, I am new to Hubspot and Even Coding. I just created my site using a predefined theme in Hubspot. On one of the pages. When I click on a button, I need data from other websites to need to be printed. I know this can be achieved through some API calls. but I don’t know what to write and where to? Please let me know

Hey @PrasadKD

For this kind of functionality you’re going to need to do some custom coding and use javascript’s fetch api.

This SO has a basic example of populating a div with content retrieved from an API using fetch.

APIs can be daunting but once you get the hang of them it quite easy!