I hereby claim:
- I am cmdelaserna on github.
- I am cmdelaserna (https://keybase.io/cmdelaserna) on keybase.
- I have a public key ASARP0DYq-F_LIyF_fh7yZfHzWmhMe_YUweoaDcb1WdWoAo
To claim this, I am signing this object:
{
I hereby claim:
To claim this, I am signing this object:
{
/* | |
Processing 2.0’s new JSON methods | |
Data parsing from a CartoDB table | |
*/ | |
String api = "{account}.cartodb.com/api/v2/sql?q"; //CartoDB table | |
String query = "SELECT%20*%20FROM%20{table_name}"; //define sql query | |
String name; | |
int cartodb_id; |
/*map: cdb.io/VGx3Ko */ | |
#madrid_mercados { | |
first/marker-fill: #f2ff00; | |
first/marker-opacity: 0.01; | |
first/marker-width: 80; | |
first/marker-line-width: 0; | |
first/marker-placement: point; | |
first/marker-allow-overlap: true; | |
first/marker-comp-op: lighten; |
import org.json.*; | |
/* | |
CartoDB API | |
Simple skecth to get data from a table | |
Processing 1.5 | |
*/ | |
//define API call | |
String api = "https://viz2.cartodb.com/api/v2/sql?q="; //CartoDB table |