Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

NotNalin/rtadubai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtadubai [UNMAINTAINED]

Unofficial API for RTA (Dubai)

Warning

This library is no longer maintained, because:

  1. Most features don't work anymore.
  2. salik.ae is protected with Cloudflare, blocking any web scraping attempts.
  3. rta.ae now verifies the g-recaptcha-response field in requests, stopping web scraping.
  4. 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.

Installing

pip install rtadubai

Installing Development Version

pip install git+https://github.com/NotNalin/rtadubai

Examples

Getting Nol Card balance

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"]

More examples