@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api IP2Proxy Proxy Detection
@base https://api.ip2proxy.com
@version 1.0
@auth ApiKey key in query
@endpoints 1
@toc root(1)

@endpoint GET /
@desc Check if an IP address is proxy
@required {ip: str # IP address (IPv4) for lookup purpose. If not present, the server IP address will be used for the lookup., key: str # API key. Please sign up free trial license key at ip2location.com}
@optional {package: str # Package name from PX1 to PX11. If not present, the web service will assume the PX1 package query., format: str(json/xml) # If not present, json format will be returned as the search result.}
@returns(200) Get response from IP2Proxy

@end
