Quickstart
This guide will help you get started with the ShkolaFit API. We'll walk you through setting up an API client and making your first API request. After that, we’ll point you to the right resources to help you explore and fully utilize our powerful REST API.
Before making requests to the ShkolaFit API, ensure you retrieve your API key Settings » API.
Choose your client
To begin using the ShkolaFit API, you'll need to choose an API client. We provide support for cURL, JavaScript, Python, and PHP clients. Below are the installation steps for each.
# cURL is likely pre-installed on your system
curl --version
Making your first API request
After installing your client, you’re ready to make your first API call to ShkolaFit. Below is an example of sending a GET request to the Schools endpoint to retrieve a list of schools. In the cURL example, the results are limited to 10 schools.
curl -G https://api.shkolafit.com/v1/fetchMyData \
-H "Authorization: Bearer {tokenID}"
Response Example
Result
{
"apirequest":
{
"tid": "{tokenID}",
"trequestmade": "fetchMyData",
"ttimemade": "2025-01-22T08:30:00Z",
"trequestcost": 1
},
"requestresult":
{
"data":
{
"uid": "abc123",
"uname": "John Doe",
"email": "johndoe@example.com",
"utype": "regular",
"created_at": "2025-01-01T12:00:00Z"
}
}
}
This ensures you can verify your token and retrieve your account details.
What's next?
Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the ShkolaFit API: