Jundullah You can now generate an image using the API. It returns a square image with a compass and the direction of the Qibla.
https://api.aladhan.com/v1/qibla/{latitude}/{longitude}/compass/{size}
.
size
is optional and is basically the size of the length and width in pixels of the image size you need. If you don't specify a size, you'll get an image at 1000 px by 1000 px.
Example, for Dubai:
https://api.aladhan.com/v1/qibla/25.276987/55.296249/compass/756 will produce an image that's 756 px by 756 px.
The maximum size you can request is 4000.