There are two ways you can bring data to Radar.
The most commonly used services are available as one-click installers. The collection of one-click installers is Radar collections. Using this method, you can add data to Radar with a single click. If you are not familiar working with APIs, this is the recommended way.
Go to Radar collections docs section to know how it works.
This way lets you add any API you want. Open Radar, click the
+ icon in the top-right corner.
The minimum requirement to add an API is Name and URL. You can also add query parameters, body parameters, headers, authentication headers if needed.
For a better understanding, let's display the latest Bitcoin price on Radar. Coincap provides a public API to fetch Bitcoin price. We will use that. You can also watch the process in a 2 min YouTube video.
For post requests, select POST from the dropdown and click the Body tab to add body parameters. Following body parameters are supported.
- Form data.
- Raw body.
- GraphQL query and variables.
Radar will let you know if the API returns an error or there's an error in your input format. Fix the issues and click on "Next" to add an API.
After adding an API, you need to mention which data point you want Radar to display. Check customizing the value to know how.