API DOCUMENTATION
1. http://spic.kr/2/upload
Upload your photos only to the spickr. (OAuth Echo)
- Headers
- X-Verify-Credentials-Authorization
- X-Auth-Service-Provider
- Parameter
- media (required) : Binary image data
- message (Optional) : Message to post to twitter
- source (Optional) : API caller name
- recvr (Optional) : Twitter username for DM
- lat (Optional) : The location's latitude
- long (Optional) : The location's longitude
- Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp status="ok">
<id>a1b2c3</id>
<text>message</text>
<url>http://spic.kr/a1b2c3</url>
<type>jpg</type>
<user>
<id>123456</id>
<screen_name>username</screen_name>
</user>
</rsp>
2. http://spic.kr/upload
Upload your photos only to the spickr. (Duplicate)
- Parameter
- username (required) : Twitter username
- password (required) : Twitter password
- media (required) : Binary image data
- message (Optional) : Message to post to twitter
- source (Optional) : API source
- recvr (Optional) : Twitter username for DM
- lat (Optional) : The location's latitude
- long (Optional) : The location's longitude
- Response
<?xml version="1.0" encoding="UTF-8"?> <rsp status="ok"> <statusid>1234</statusid> <userid>123456</userid> <mediaid>a1b2c3</mediaid> <mediaurl>http://spic.kr/a1b2c3</mediaurl> </rsp>
3. Image URL
This URL structure to add spic.kr image into your application.
- Structure : http://spic.kr/show/[size]/[media-id]
- Size : normal, large, thumb, mini
- Example
URL : http://spic.kr/qcrje5 normal : http://spic.kr/show/qcrje5 normal : http://spic.kr/show/normal/qcrje5 large : http://spic.kr/show/large/qcrje5 thumb : http://spic.kr/show/thumb/qcrje5 mini : http://spic.kr/show/mini/qcrje5

rss