Skip to content

Commit

Permalink
Re-add API playground
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Nov 20, 2023
1 parent 7246b58 commit 7d2a01e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/redesign/components/APIDocumentationPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,17 @@ export default function APIDocumentationPage({
}}
/>
<VariableParameterExplorer countryId={countryId} metadata={metadata} />
<Section title="API playground">
<p>
Try out the API in this interactive demo.
</p>
<iframe
src={`https://policyengine-policyengine-api-demo-app-xy5rgn.streamlit.app/~/+/?mode=${countryId}`}
title="PolicyEngine API demo"
height="500px"
width={"100%"}
/>
</Section>
<Footer />
</>
)
Expand Down

0 comments on commit 7d2a01e

Please sign in to comment.