Skip to content

Commit

Permalink
Merge pull request #56 from CartoDB/fix-docs
Browse files Browse the repository at this point in the history
minor fix in docs
  • Loading branch information
alrocar committed Jun 13, 2017
2 parents 0d2fadd + 13bfa2c commit eb82e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ As an example, next code snippet makes a SQL query to a dataset
::

from carto.auth import APIKeyAuthClient
from carto.sql import SQLCLient
from carto.sql import SQLClient

USERNAME="type here your username"
USR_BASE_URL = "https://{user}.carto.com/".format(user=USERNAME)
auth_client = APIKeyAuthClient(api_key="myapikey", base_url=USR_BASE_URL)

sql = SQLCLient(auth_client)
sql = SQLClient(auth_client)

try:
sql.send('select * from mytable')
Expand Down

0 comments on commit eb82e84

Please sign in to comment.