Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

carto-python examples

This folder contains usage examples of the carto-python API. This is not meant to be an extensive list of use cases.

For more information about the carto-python API, please refer to the source code documentation.

To run the examples:

cd carto-python/examples
virtualenv env
source env/bin/activate
pip install -r requirements.txt
export CARTO_ORG=YOUR_ORG_NAME
export CARTO_API_URL=https://YOUR_USER_NAME.carto.com/
export CARTO_API_KEY=YOUR_API_KEY
python EXAMPLE.py LIST_OF_PARAMETERS

For the list of available parameters for each example, please refer to the source code.