User.get: Difference between revisions
Jump to navigation
Jump to search
w>Mpolo m Fix req |
m 2 revisions imported |
(No difference)
|
Latest revision as of 08:07, 7 May 2021
Component to get user info. If you are a Safe Creative partner you will get more detail (Country info right now).
Info
- Component name: user.get
- Signature: Requires signature using the shared key's private key
- Timestamp: Requires ztime parameter
Parameters
- sharedkey*: Your application shared key
- ztime*: Z-Timestamp
- code*: user code
- locale: locale
* Required parameter
Returns
- user
- code User code
- name: Public name
- country: Country code and localized name (Only partners)
- entrydate: Entry date
- human-url: User profile url if available
Example
REQUEST:
https://api.safecreative.org/v2/ ?code=0907240000121 &component=user.get &locale=en &sharedkey=zy9x4ol0ctg3btyswq7b5wi9 &ztime=1271749826106 &signature=3b2d5552b5cd969c370ce70dae280a76dc844895
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?> <user> <code>0907240000121</code> <name>John Doe</name> <country> <code>ES</code> <name>Spain</name> </country> <entrydate>2009-07-24T10:34:55Z</entrydate> <human-url>http://www.safecreative.org/user/john.doe</human-url> </user>