curl -X POST "https://fikrista.com//api/calculate-age" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"birthdate": "01-01-1990",
"calendar_type": "gregorian"
}'
curl -X POST "https://fikrista.com//api/calculate-baby-age" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"birthdate": "01-01-2023",
"calendar_type": "gregorian"
}'
curl -X POST "https://fikrista.com//api/calculate-age-difference" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"first_birthdate": "01-01-1990",
"second_birthdate": "01-01-2000",
"calendar_type": "gregorian"
}'
curl -X POST "https://fikrista.com//api/convert-date" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date": "01-01-2023",
"from": "gregorian",
"to": "hijri"
}'
curl -X POST "https://fikrista.com//api/zodiac-traits" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"birthdate": "01-05-1990",
"calendar_type": "gregorian"
}'
curl -X POST "https://fikrista.com//api/birthday-wish" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "أحمد"
}'
curl -X POST "https://fikrista.com//api/metal-prices" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"metal": "gold",
"country": "saudi",
"karat": "24",
"period": "daily",
"language": "ar"
}'
curl -X POST "https://fikrista.com//api/gold-prices" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "saudi",
"karat": "all",
"period": "daily",
"language": "ar"
}'
curl -X POST "https://fikrista.com//api/silver-prices" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "saudi",
"purity": "999",
"period": "daily",
"language": "ar"
}'
curl -X POST "https://fikrista.com//api/currency-rates" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"currency": "SAR",
"from_currency": "USD",
"period": "daily",
"language": "ar"
}'
curl -X POST "https://fikrista.com//api/celebrities-by-birthday" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"birthdate": "15-05-1990",
"calendar_type": "gregorian"
}'
curl -X POST "https://fikrista.com//api/current-hijri-date" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[]'
fetch('https://fikrista.com//api/calculate-age', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
birthdate: '01-01-1990',
calendar_type: 'gregorian',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/calculate-baby-age', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
birthdate: '01-01-2023',
calendar_type: 'gregorian',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/calculate-age-difference', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
first_birthdate: '01-01-1990',
second_birthdate: '01-01-2000',
calendar_type: 'gregorian',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/convert-date', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
date: '01-01-2023',
from: 'gregorian',
to: 'hijri',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/zodiac-traits', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
birthdate: '01-05-1990',
calendar_type: 'gregorian',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/birthday-wish', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'أحمد',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/metal-prices', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
metal: 'gold',
country: 'saudi',
karat: '24',
period: 'daily',
language: 'ar',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/gold-prices', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
country: 'saudi',
karat: 'all',
period: 'daily',
language: 'ar',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/silver-prices', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
country: 'saudi',
purity: '999',
period: 'daily',
language: 'ar',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/currency-rates', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
currency: 'SAR',
from_currency: 'USD',
period: 'daily',
language: 'ar',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/celebrities-by-birthday', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
birthdate: '15-05-1990',
calendar_type: 'gregorian',
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
fetch('https://fikrista.com//api/current-hijri-date', {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/calculate-age",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'birthdate' => '01-01-1990',
'calendar_type' => 'gregorian',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/calculate-baby-age",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'birthdate' => '01-01-2023',
'calendar_type' => 'gregorian',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/calculate-age-difference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'first_birthdate' => '01-01-1990',
'second_birthdate' => '01-01-2000',
'calendar_type' => 'gregorian',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/convert-date",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '01-01-2023',
'from' => 'gregorian',
'to' => 'hijri',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/zodiac-traits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'birthdate' => '01-05-1990',
'calendar_type' => 'gregorian',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/birthday-wish",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'أحمد',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/metal-prices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'metal' => 'gold',
'country' => 'saudi',
'karat' => '24',
'period' => 'daily',
'language' => 'ar',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/gold-prices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'country' => 'saudi',
'karat' => 'all',
'period' => 'daily',
'language' => 'ar',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/silver-prices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'country' => 'saudi',
'purity' => '999',
'period' => 'daily',
'language' => 'ar',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/currency-rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'currency' => 'SAR',
'from_currency' => 'USD',
'period' => 'daily',
'language' => 'ar',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/celebrities-by-birthday",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'birthdate' => '15-05-1990',
'calendar_type' => 'gregorian',
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://fikrista.com//api/current-hijri-date",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"X-API-KEY: YOUR_API_KEY",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}