0097 | upic.me Geolocation Search API

Tuesday, April 13th, 2010 Posted in Misc | 5 Comments »

All APIs are returned in json format. No authentication is required but some api requests are cached so there may have some duplicate result during time.

API URL: http://upic.me/api.geolocation.php

parameters:
– lat : float => latitude (cannot be 0) min -90 max 90
– lng : float => longitude (cannot be 0) min -180 max 180

result:

array(
    "result" : string => 'success', 'empty', 'error',
    "count" : int => number of result found (only for result = 'success')
    "images" : array(
        array(
            "md5id" : string(32),
            "url" : string,
            "thumbnail" : string,
            "distance" : float,
            "lat" : float,
            "lng" : float,
        ),
        array(
            "md5id" : string(32),
            "url" : string,
            "thumbnail" : string,
            "distance" : float,
            "lat" : float,
            "lng" : float,
        ),
        ...
    )
    "message" : string => only if error occurred
)

Tags: ,

0096 | เบื้องหลังความแรงของ upic.me

Friday, February 19th, 2010 Posted in IP Network, Web Server | 6 Comments »

อธิบายสั้นๆ ง่ายๆ ด้วยสองรูปนี้

ว่าแต่… แรงจริงเรอะ (ฮาาาาา)

Tags: , , ,