Unofficial API for RTA (Dubai)
Warning
This library is no longer maintained, because:
- Most features don't work anymore.
- salik.ae is protected with Cloudflare, blocking any web scraping attempts.
- rta.ae now verifies the
g-recaptcha-response
field in requests, stopping web scraping. - This was for a school project, and I no longer have a use for it or the time to maintain it.
If you have any questions, feel free to contact me.
pip install rtadubai
pip install git+https://github.com/NotNalin/rtadubai
from rtadubai import Nol
card = Nol.Card("Your nol card number")
balance = card.balance
# --------------------OR----------------------------
details = Nol.details("Your nol card number")
balance = details["balance"]