3 ms·
Ask HN: How do you make pretty “demos” of your API on your landing page?
There are a number of variations to this question but feel free to answer whichever based on your own experience. Some examples:
1) Stripe: showing the code being animated in an IDE with the response https://stripe.com/
2) OpenAI: code that you can copy-paste https://openai.com/api/
Some folks make snappy video demos, other more interactive things. What do you do and how do you do it (e.g. tools, process)?
- ndimares 4y agoDepending on the nature of the API, you could wrap it in a react component (if that's likely what users would do), and then embed it onto your landing page so that people could interact with it.