From eccb92ebc4270cad7084c852d794db4923ca7930 Mon Sep 17 00:00:00 2001 From: andrewxhill Date: Mon, 11 Apr 2016 16:15:32 -0400 Subject: [PATCH] moved to two examples --- doc/api_docs.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/api_docs.md b/doc/api_docs.md index 7b32778..9d66ea3 100644 --- a/doc/api_docs.md +++ b/doc/api_docs.md @@ -25,11 +25,13 @@ OBS_GetDemographicSnapshot({{point geometry}}) | account name | The name of your CartoDB account where the Data Observatory has been enabled | example_account | | point geometry | A WKB point geometry. You can use the helper function, CDB_LatLng to quickly generate one from latitude and longitude | CDB_LatLng(40.760410,-73.964242) | -### API Example +### API Examples + +__Get the Demographic Snapshot at Camp David__ ```text https://example_account.cartodb.com/api/v2/sql?q=SELECT * FROM -OBS_GetDemographicSnapshot(CDB_LatLng(40.760410,-73.964242)) +OBS_GetDemographicSnapshot(CDB_LatLng(39.648333, -77.465)) ``` ### API Response