Created
October 15, 2013 19:45
-
-
Save bertspaan/6997514 to your computer and use it in GitHub Desktop.
CitySDK: Ruby script to add data to node `pc.nlp4.3514`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'citysdk' | |
$email = ARGV[1] | |
$password = ARGV[2] | |
@api = CitySDK::API.new("api.citysdk.waag.org") | |
@api.authenticate(email, passw) | |
data = { | |
data: { | |
poi: "2coolmonkeys HQ" | |
} | |
} | |
@api.put("pc.nlp4.3514/2cm.koopsom", data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment