Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msabaeian/license_plate_reservation
This script helps you to reserve a time for your car at License plate replacement center of Iran
https://github.com/msabaeian/license_plate_reservation
Last synced: 21 days ago
JSON representation
This script helps you to reserve a time for your car at License plate replacement center of Iran
- Host: GitHub
- URL: https://github.com/msabaeian/license_plate_reservation
- Owner: msabaeian
- Created: 2021-08-05T07:03:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T12:28:57.000Z (over 3 years ago)
- Last Synced: 2024-11-12T04:35:18.062Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This script helps you to reserve a time for your car at License plate replacement center of Iran quickly.
# USE IT ON YOUR OWN RISK!I'm not a python developer, I learn python in 2hours for this project so the code might smell (might? it must!)
#### Module Installation
```
pip install -r requirements.txt
```#### Usage
edit this section with your car and office details```
main(
sessId="u47416ovhco4l8bou8m2d2v7o3",
user_id="3460297",
office = "177842",
service_type = ServiceType.Enteghal,
pelak_type = CarType.SavariShakhsi,
pelak_first = "47",
pelak_middle = CarPelakType.V,
pelak_last = "264",
pelak_city_number = "34"
)
```then run
```
python3 script.py
```#### Info
find sessId (PHPSESSID) and user_id (epolicenopardaz_userid) in your browser cookie details and replace them
extract office code from the website:
```
https://nobatdehi.epolice.ir/office/177842 => 177842
```