Usage: livefyre-geo-collection (-t | -g ) url livefyre-geo-collection (-t | -g ) fetch livefyre-geo-collection (-t | -g ) archive livefyre-geo-collection (-t | -g ) stream livefyre-geo-collection -v | --version livefyre-geo-collection -h | --help Commands: url print the API URL of the GeoJSON fetch fetch one page of GeoJSON and return the response to stdout archive fetch all the GeoJSON and stream the response to stdout. stream stream real-time updates to stdout Arguments: URN of Livefyre Collection Options: -t, --tile specify the GIS tile to access like z,x,y -g, --geometry determine the tile from a GeoJSON geometry (JSON string) -h, --help show this help message and exit -v, --version show version and exit Examples: # Get all historic content from a collection + geometry ⚡ livefyre-geo-collection urn:livefyre:client-demo-accounts.fyre.co:site=372680:article=custom-1426705037726:collection -g "$(cat test/fixtures/usa.geojson)" archive # Get real-time updates from a collection + geometry ⚡ livefyre-geo-collection urn:livefyre:client-demo-accounts.fyre.co:site=372680:article=custom-1426705037726:collection -g "$(cat test/fixtures/usa.geojson)" stream # Get URL for provided tile of Collection ⚡ livefyre-geo-collection urn:livefyre:labs.fyre.co:site=315833:article=ben-geo-1:collection \ -t 3,3,1 \ url https://labs.bootstrap.fyre.co/bs3/v3.1/labs.fyre.co/315833/YmVuLWdlby0w/geojson/3/7/1.json # Fetch one page of content fromthe tile ⚡ livefyre-geo-collection urn:livefyre:labs.fyre.co:site=315833:article=ben-geo-1:collection \ -t 3,3,1 \ fetch { "paging": { "hasPrev": false, "limit": 50 }, "type": "FeatureCollection", "features": [], "authors": [] } # Example of sourcing a GeoJSON feature from a file ⚡ node ./bin/cli.js urn:livefyre:labs.fyre.co:site=315833:article=ben-geo-1:collection -g "$(cat test/fixtures/ks.json)" url