The REST API connector allows you to quickly access data from a huge range of APIs and use the data to create data-driven scenes and objects in Unreal. It supports single URL queries.

Step-by-Step

  1. Click the Add Source button in the DS editor window.
  2. Click the API button.
  3. Click the REST API button
  4. In the Name field, enter a reference name for the data source.
  5. In the Endpoint URL field enter the URL to query the chosen API e.g. https://datausa.io/api/data?drilldowns=Nation&measures=Population
  6. Optionally you can set the Request Frequency to a custom frequency by ticking the box to activate and then entering a number in the text field.
  7. Click the Verify button to check the API can be connected to. If it can be, you should receive a series of success messages.
  8. Click the Next button.
  9. In the Select Data screen you can optionally untick the boxes for any data values you don’t want to use.
  10. Click the Finish button to add the REST API as a source. You will return to the DS Editor main screen and can access the API data in Unreal.

Find out how to use behaviours to create data-driven objects

Revision: 9
Last modified: May 25, 2021

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment