RapidAPI logo

Sign Up

Log In

salah

FREE
By Javad
Updated 2 months ago
2.6/10
Popularity Score
7785ms
Latency
100%
Success Rate

salah API Documentation

Calculate muslim prayertimes via an simple to use api, apparently the api docs does not render so i would recommend checking out our github at https://github.com/javadsm/salah.

Logo By Palauenc05 - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=49088088

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETgettimes
GETgettimes

Only api endpoint, gets times for current date

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
latNUMBER
REQUIREDLatitude
lngNUMBER
REQUIREDLongitude
timezoneNUMBER
REQUIREDCurrent timezone in hours
dateSTRING
REQUIREDFormat is {month} {day} {year}, you can use any delimiter you want such as - / or :
Optional Parameters
methodSTRING
OPTIONALDefault is MWL see API documentation for more
Request Snippet
unirest.get("https://javad-salah-v1.p.rapidapi.com/{lat}/{lng}/{timezone}/?method={method}&date={date}")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://javad-salah-v1.p.rapidapi.com/{lat}/{lng}/{timezone}/?method={method}&date={date}")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication