You are here

CodePen API - SDKs

Codepen is a browser-based HTML, CSS, and JavaScript code editor that supplies an instant preview of what is being programmed. Codepen is also described as a playground for front end developers, a community hub, and forum. The Codepen API can be used to access stored HTML, CSS, and JavaScript files stored on HTTPS endpoints, and to also perform auto-forking. In order to fill pens with different values, developers can make POST requests to the Codepen endpoint with data formatted in JSON. Using this prefill editors function, a user can programmatically update their project titles, library dependencies, CSS colors used, HTML processing, and more.