CartoDB / cartodb-nodejs

Node.js package for easy access to CartoDB's APIs
BSD 4-Clause "Original" or "Old" License
46 stars 34 forks source link

cartodb_url param on CartoDB instantiation #33

Open busla opened 9 years ago

busla commented 9 years ago

Since I host CartoDB myself I needed to allow for an additional parameter cartodb_url and change resources.json to reflect the change.

Creating a client can now be run with:

var client = new CartoDB({
  user: secret.USER, 
  api_key: secret.API_KEY,
  /* e.g. http://myusername.cartodb.com */
  cartodb_url: ''
});

https://github.com/Vizzuality/cartodb-nodejs/compare/master...busla:master

You want a PR?

impronunciable commented 9 years ago

A pr would be nice since you can test your own instance. Otherwise let me know and I'll make the changes.