An open API service indexing awesome lists of open source software.

https://github.com/abdulrahman1s/muhammad-quotes

API to quickly fetch a random quote that Prophet Muhammad said.
https://github.com/abdulrahman1s/muhammad-quotes

islam muhammad muslim quotes wisdom

Last synced: 4 months ago
JSON representation

API to quickly fetch a random quote that Prophet Muhammad said.

Awesome Lists containing this project

README

        

Prophet Muhammad (Peace be upon him) quotes

#### Description
API to quickly fetch a random quote that Prophet Muhammad said.

## Examples

- Using `fetch` JavaScript/TypeScript
```js
const quote = await fetch("https://muhammad-quotes.deno.dev").then(r => r.text());

console.log(quote);
```

- Using `requests` Python
```py
import requests

quote = requests.get("https://muhammad-quotes.deno.dev").text

print(quote)
```

or run a [script](https://gist.github.com/abdulrahman1s/1d2abde29da68715d5f498b8c0505168) to automate the task every 3 hours.

#### License
Refer to the [LICENSE](LICENSE) file.


Show some ❤️ by Buying me a Coffee ☕