# Code Snippets

In addition to the API playground, the API page for a deployment contains ready to use code snippets that will call the predict API for that deployment and get predictions.

# Python

This is an example of a Python code snippet for the titanic dataset. There is detailed description of this exact same piece of code in the Python usage page .

# R

This code snippet has the same functionality, but in the R programming language.