Created
December 23, 2025 06:04
-
-
Save kuldeepiitg/a4593ffec1081bb4b6bbd1b2e31fffa7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import json | |
| import re | |
| import sys | |
| import requests | |
| # Ensure correct usage | |
| if len(sys.argv) != 4: | |
| print("Usage: upload_category_dishes.py <userId> <restaurantId> <dataFile>") | |
| sys.exit(1) | |
| user_id = sys.argv[1] | |
| restaurant_id = sys.argv[2] | |
| # File path to the CSV file | |
| csv_file_path = sys.argv[3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment