CartoDB / cartodb

Location Intelligence & Data Visualization tool

Home Page:http://carto.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FEATURE (HELP?) REQUEST: Fetching list of all maps and their .json meta info

davidnmora opened this issue · comments

Context

Hello! I'm the lead software engineer at The Center on Rural Innovation. Our team absolutely loves CARTO, it's the backbone of our map building and publishing pipeline and a huge productivity boost.

GOAL: I'm currently using CARTO API's to create a storymap builder GUI for my team.

ATTEMPT: My first storymap attempt involved using CARTO VL and pulling data from our CARTO servers but proved highly redundant: my team builds great-looking maps quickly in Builder, but then we have to re-create all the styling etc in CARTO VL for the storymap application.

I could theoretically rebuild all of Builder's styling tools in a storymap application, but that seems unnecessary given I can get all that metadata from a map-download.carto/meta-info.json

TARGET SOLUTION: I'm looking to let my team create storymaps by importing layers they've already created in Builder.

(I've already done so by [manually downloading a map and parsing it] into a Carto.js-based map (https://github.com/ruralinnovation/carto-map-from-builder-export))

Here's where I'm feeling stuck (and a potential feature request comes in):

  1. How can I request a list of all maps I've created in Builder? (Can't find what I'm looking for in the import API) ie so storymap builders can select maps with layers they want to use
  2. (Nice to have, but not essential) How might I pull just the map-download.carto/meta-info.json rather than the entire zipped folder?

Many thanks for the help and excellent product!
David