{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1328","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1328/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1328/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1328/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1328","id":155549207,"number":1328,"title":"Implement RemoteAPI for Node","user":{"login":"susanlinsfu","id":15883441,"avatar_url":"https://avatars.githubusercontent.com/u/15883441?v=3","gravatar_id":"","url":"https://api.github.com/users/susanlinsfu","html_url":"https://github.com/susanlinsfu","followers_url":"https://api.github.com/users/susanlinsfu/followers","following_url":"https://api.github.com/users/susanlinsfu/following{/other_user}","gists_url":"https://api.github.com/users/susanlinsfu/gists{/gist_id}","starred_url":"https://api.github.com/users/susanlinsfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susanlinsfu/subscriptions","organizations_url":"https://api.github.com/users/susanlinsfu/orgs","repos_url":"https://api.github.com/users/susanlinsfu/repos","events_url":"https://api.github.com/users/susanlinsfu/events{/privacy}","received_events_url":"https://api.github.com/users/susanlinsfu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T16:42:24Z","updated_at":"2016-05-18T18:36:13Z","closed_at":null,"body":"I'd like to be able to connect to the datastore from any NodeJS application including my local. It would be great if the gcloud-node had the RemoteAPI implemented such as python(https://cloud.google.com/appengine/docs/python/tools/remoteapi)."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/comments/220118688","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1328#issuecomment-220118688","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1328","id":220118688,"user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T18:36:13Z","updated_at":"2016-05-18T18:36:13Z","body":"When you start the local datastore and it prints out \"Set these environment variables\", did you do that? Is that how you've been connecting to your local Datastore so far? By default, gcloud-node tries to talk to the remote API and assumes there is no emulator running. It has to be told to talk to the emulator, which can be done via the env var (`DATASTORE_EMULATOR_HOST`). If that is what you've been setting, you will have to unset it (or manually do it from the JS script: `delete process.env.DATASTORE_EMULATOR_HOST;`)."}}