A geographical Internet Protocol API