API documentation
2018/09/17 (v1.2)
=================

Make a GET request to: 
https://parrotgeek.com/iccid/api.php?key=YOURKEY&action=ACTION

Possible responses for all actions 
==================================
BAD_API_KEY (Status code 403) - there is not a valid key parameter
SERVER_ERROR (Status code 500) - there is a server error
BAD_ACTION (Status code 400) - action is not on the below list

Actions list
============

changeddate
===========
Extra input: None
Response: The date that the ICCID was last changed, in UNIX timestamp (seconds since 1970/1/1 00:00 GMT)

currdate
========
Extra input: None
Response: The date that the current ICCID was last verified to work, in UNIX timestamp (seconds since 1970/1/1 00:00 GMT)

iccid
=====
Extra input: None
Response: NO_ICCID, or the current ICCID
Note: There is no longer a delay compared to my website. (Changed in API v1.1 2018-08-01)

isclosed
========
Extra input: &iccid=<ICCID> (the ICCID to check)
Response: IS_CLOSED, NOT_CLOSED, or RATE_LIMIT (status code 503). Limit is 1 request per 5 minutes.
Note: This only works for ICCIDs that you got through this API or site (i.e. you can't ask it to check random ICCIDs).

test
====
Extra input: None
Response: "OK" if the server is working, or "CHECKER_ERROR" if the ICCID checking server is unresponsive (Added in API v1.2 2018-09-17)