Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 625 Bytes

File metadata and controls

23 lines (17 loc) · 625 Bytes

#ChangeOrgApiUser.get

Returns information about the specified user.

Reference: [https://github.com/change/api_docs/blob/master/v1/documentation/resources/users.md#get-usersuser_id]

Example

var client=new ChangeOrgApiClient({
	api_key	: 'YOUR_API_KEY',
	secret 	: 'YOUR_SECRET_KEY'
});

var user=new ChangeOrgApiUser(client);

user.get(79853981,function(response) {
	console.log(JSON.stringify(response.getData()));
});

// Console Output:
// {"user_id":12345678,"name":"John Doe","location":"...","city":"...","state_province":"...","country_name":"...","country_code":"..."}