Skip to content

eightysteele/cartodb-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CartoDB python client

A simple CartoDB client to perform requests against the CartoDB API. Internally it uses OAuth

installing

pip install -e git+git://github.com/javisantana/cartodb-python.git#egg=cartdob

quick start

user =  '[email protected]'
password =  'XXXX'
CONSUMER_KEY='XXXXXXXXXXXXXXXXXX'
CONSUMER_SECRET='YYYYYYYYYYYYYYYYYYYYYYYYYY'
cartodb_domain = 'vitorino'
cl = CartoDB(CONSUMER_KEY, CONSUMER_SECRET, user, password, cartodb_domain)
try:
    print cl.sql('select * from mytable')
except CartoDBException as e:
    print ("some error ocurred", e)

About

cartodb python client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%