Placing the WordPress function I created here in case it's of any use to someone else
function front_page_news () {
$json = file_get_contents('https://discuss.infosecforge.io/api/discussions');
$obj = json_decode($json, true);
for($i = 0; $i < 12; ++$i) {
$posturl = $obj['data'][$i]['id'];
$thistitle = trim($obj['data'][$i]['attributes']['title']);
$thisurl = '<a class="recent-items" href="https://discuss.infosecforge.io/d/' . $posturl . "-". $obj['data'][$i]['attributes']['slug'] . '">';
$thisitem .= "<div class='recent-list'><div class='icon'><i class='fal fa-crosshairs'></i></div>" . $thisurl . $thistitle. "<br></a></div>";
}
return $thisitem;
}
add_shortcode( 'fpn', 'front_page_news' );