사용자 정보를 보여주는 API입니다.
지원 형식
xml, json
method
GET 방식만 지원
요청 주소(Request URL)
http://apis.daum.net/yozm/v1_0/user/show.[xml|json]
인증(Authorization)
OAuth
요청 변수(Request Parameters)
| 요청 변수 | 값 | 설명 |
|---|---|---|
| url_name | String |
|
| nickname | String |
|
출력 변수(Reponse Elements)
user_info
| 요청 변수 | 값 | 설명 |
|---|---|---|
| likes | String | 좋아 하는 것 |
| dislikes | String | 싫어 하는 것 |
| do_well_things | String | 잘 하는 것 |
| like_places | String | 자주 가는 곳 |
| introduce | String | 자기 소개 |
| job_type | String |
|
| job_name | String | 직업 이름 |
user
| 요청 변수 | 값 | 설명 |
|---|---|---|
| profile_big_img_url | String | 홈 우측 프로필 영역에 보이는 큰 이미지 |
| profile_img_url | String | 글 작성시 좌측에 달리는 이미지 |
| url_name | String | Daum ID |
| nickname | String | yozm 닉네임 |
| following_cnt | numeric | 친구 수 |
| follower_cnt | numeric | 인기 수 |
| age | numeric | 나이 |
| blood_type | String | 혈액형 |
| blog_url | String | 블로그 주소 |
| is_follow | boolean |
|
| is_follower | boolean |
|
| is_both_follow | boolean |
|
| msg_cnt | numeric | 유저가 쓴 msg수 |
| sex | String | 성별 |
출력 방식
XML
<info> <result_msg><![CDATA[OK]]></result_msg> <status>200</status> <user> <user_info> <likes><![CDATA[수다,모바일,친구]]></likes> <dislikes><![CDATA[거짓말,무반응,외톨이]]></dislikes> <do_well_things><![CDATA[공지,개선,발견]]></do_well_things> <like_places><![CDATA[다음,요즘]]></like_places> <introduce><![CDATA[즐거운 YOZM이 될 수 있도록 많은 응원 부탁드립니다!]]></introduce> <job_type><![CDATA[non]]></job_type> <job_name/> </user_info> <nickname><![CDATA[요즘엔]]></nickname> <url_name><![CDATA[yozm]]></url_name> <profile_img_url><![CDATA[http://cfile177.uf.daum.net/image/1726A01A4C66A42665D000]]></profile_img_url> <blog_url><![CDATA[http://blog.daum.net/yozm]]></blog_url> <profile_big_img_url><![CDATA[http://cfile90.uf.daum.net/image/1324C21A4C66A4267B8580]]></profile_big_img_url> <following_cnt>28</following_cnt> <follower_cnt>99999</follower_cnt> <age>2</age> <blood_type><![CDATA[N]]></blood_type> <is_follow>true</is_follow> <is_follower>false</is_follower> <is_both_follow>false</is_both_follow> <msg_cnt>314</msg_cnt> <sex><![CDATA[비공개]]></sex> </user> </info>
JSON
{
"result_msg":"OK",
"status":200,
"user":{
"msg_cnt":314,
"user_info":{
"like_places":"다음,요즘"
,"job_type":"non"
,"job_name":""
,"likes":"수다,모바일,친구"
,"introduce":"즐거운 YOZM이 될 수 있도록 많은 응원 부탁드립니다!"
,"dislikes":"거짓말,무반응,외톨이"
,"do_well_things":"공지,개선,발견"
}
,"is_follow":true
,"sex":"비공개"
,"nickname":"요즘엔"
,"blog_url":"http://blog.daum.net/yozm"
,"is_both_follow":false,"blood_type":"N"
,"is_follower":false
,"follower_cnt":99999
,"profile_big_img_url":"http://cfile90.uf.daum.net/image/1324C21A4C66A4267B8580"
,"profile_img_url":"http://cfile177.uf.daum.net/image/1726A01A4C66A42665D000"
,"following_cnt":28
,"age":2
,"url_name":"yozm"
}
}