An Introduction to Kodou
Kodou eliminates the multiple stages of software development so your ideas turn into live code.
The steps to using Kodou once you sign up are
- Get your API key
- Select a function
- Call live functions via the API
app.kodou.io, is where you find your API key in the API panel. The Search panel lets you describe the code you want as search terms and select a result. Or skip that step when you want to specify the set of dependencies for a language environment (i.e., Pypi/Python or Maven/Java).
Use your favorite IDE to make calls to live functions at https://api.kodou.io. For example, Visual Studio Code has a REST client extension and IntelliJ has a built-in REST client. Or keep it on the command line with curl to feel like a scripting environment.
Here is an example of making Numpy (Python) function calls.
Kodou users can share and highlight their solutions on our Komposer network.
If you are an Airtable user and want to use a Kodou function that converts webform fields into Airtable columns you can do the following. A Komposer created a Java function that transforms form fields into the correct type for the Airtable columns. This is just one possible encoding scheme.
The Kodou setup call encodes the Airtable keys within the resulting sessionid (JWT token). Of course, this is just one way of managing the state.
You can test the Kodou code using API calls. In this case, it would be used in a web form like below where the action URL for the button is the Kodou API.
The addFormXXJsonToAirtable function expects the form's hidden fields to hold session information and whether to package the fields as a JSON string. The HTML code below is held in a Webflow HTML Embed element in the form.
Try it out. The responses are on the scale of milliseconds.