Wiki: Non-developers can Easily use your Public API - Ask me How

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

This talk explores how to make a complex public API accessible to non-developers who lack coding and engineering infrastructure skills. The speaker shares the journey of developing a visual programming interface using block-based coding to help advertisers automate campaign optimization rules. Through iterative user testing, the team discovered that traditional SDKs were too difficult for non-engineers, leading to a successful visual solution inspired by Scratch. Ultimately, this approach empowers users to implement custom business logic safely and fosters strong user engagement through the IKEA effect.

Key points

  • 1:17 The speaker introduces the core mission of making public APIs accessible to non-engineers so they can experience the power of programming.
  • 2:27 An overview of the company’s open web recommendation platform and how advertisers interact with it as a business marketplace.
  • 5:40 Research revealed that non-technical users faced three barriers to using the API: defining business logic, programming skills, and engineering operations.
  • 7:57 The initial attempt involved building a simple TypeScript SDK, which ultimately failed user testing because non-programmers could not read or write the code.
  • 10:01 Inspired by Scratch and Blockly, the team shifted to a visual programming editor where users drag and drop blocks to build automation rules.
  • 18:35 Running untrusted generated code via eval required robust server-side validation and security measures to prevent server crashes and injection attacks.
  • 20:36 The resulting architecture functions as a domain-specific serverless platform tailored for ad campaign management.
  • 21:45 Data shows that active users steadily create more rules over time, driven by the satisfaction of building solutions themselves.

Takeaways

  • Identify the actual non-technical barriers users face before designing developer tools for them.
  • Visual programming interfaces like block-based editors can successfully bridge the gap for non-developers.
  • Validate assumptions early through direct user testing with your target audience rather than internal developers.
  • Ensure strict server-side validation and security precautions when executing dynamically generated code.

Questions this talk answers

  • How can you make a complex public API usable for non-technical users?
  • What are the architectural and security implications of running dynamically generated code on your servers?
  • How do you choose between building a traditional SDK versus a visual low-code interface for your customers?

Technologies

TypeScript, JavaScript, Blockly

Tags

api design, architecture, developer experience, low code, security, visual programming