Welcome to the MyReCorp API documentation. This API allows you to retrieve icon resources for your application.
The base URL for all API requests is:
http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-[fileId].json
The API provides access to icon resources stored in four JSON files. Each file corresponds to a part of the data table.
http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-1.json
http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-2.json
http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-3.json
http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-4.json
All responses are returned in JSON format. Below is an example of the structure:
{
"id": "2",
"igroup": "font-awesome",
"tag": "500px",
"svg": "<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 448 512\">SVG Data<\/svg>"
}
fetch('http://api.myrecorp.com/resources/ami-icons/wp_rc_icons-1.json')
.then(response => response.json())
.then(data => console.log(data));