Site icon Visser I/O

API

About

visser.io provides free usage of its API in JSON format. You are free to use the provided tools and resources for non-commercial use.

Commercial use is not allowed without prior approval.

Resources

Convert country code to country name

Convert country code and city to PHP timezone

Usage

To receive the response in JSON format, send a GET request to:

https://visser.io/tools/api/?format=json&resource=...

Replace … with the slug of the resource (e.g. convert-country-code-to-country-name) add add the required arguments after (e.g. country_code, etc.) depending on the resource.

Response

A successful request will return the following:

{
    "status": "success",
    ...
}

A failed request will return the following:

{
    "status": "fail",
    "message": "ERROR MESSAGE",
}
Exit mobile version