diff --git a/NorahUniversity/__pycache__/__init__.cpython-313.pyc b/NorahUniversity/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..e3b52a3 Binary files /dev/null and b/NorahUniversity/__pycache__/__init__.cpython-313.pyc differ diff --git a/NorahUniversity/__pycache__/settings.cpython-313.pyc b/NorahUniversity/__pycache__/settings.cpython-313.pyc new file mode 100644 index 0000000..68f0621 Binary files /dev/null and b/NorahUniversity/__pycache__/settings.cpython-313.pyc differ diff --git a/NorahUniversity/__pycache__/urls.cpython-313.pyc b/NorahUniversity/__pycache__/urls.cpython-313.pyc new file mode 100644 index 0000000..f0c7a3b Binary files /dev/null and b/NorahUniversity/__pycache__/urls.cpython-313.pyc differ diff --git a/NorahUniversity/__pycache__/wsgi.cpython-313.pyc b/NorahUniversity/__pycache__/wsgi.cpython-313.pyc new file mode 100644 index 0000000..117e984 Binary files /dev/null and b/NorahUniversity/__pycache__/wsgi.cpython-313.pyc differ diff --git a/db.sqlite3 b/db.sqlite3 index 6f6aa63..c972d8b 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/recruitment/__pycache__/__init__.cpython-313.pyc b/recruitment/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..99667ed Binary files /dev/null and b/recruitment/__pycache__/__init__.cpython-313.pyc differ diff --git a/recruitment/__pycache__/admin.cpython-313.pyc b/recruitment/__pycache__/admin.cpython-313.pyc new file mode 100644 index 0000000..75b09fa Binary files /dev/null and b/recruitment/__pycache__/admin.cpython-313.pyc differ diff --git a/recruitment/__pycache__/apps.cpython-313.pyc b/recruitment/__pycache__/apps.cpython-313.pyc new file mode 100644 index 0000000..bdcec30 Binary files /dev/null and b/recruitment/__pycache__/apps.cpython-313.pyc differ diff --git a/recruitment/__pycache__/dashboard.cpython-313.pyc b/recruitment/__pycache__/dashboard.cpython-313.pyc new file mode 100644 index 0000000..f504eb2 Binary files /dev/null and b/recruitment/__pycache__/dashboard.cpython-313.pyc differ diff --git a/recruitment/__pycache__/forms.cpython-313.pyc b/recruitment/__pycache__/forms.cpython-313.pyc new file mode 100644 index 0000000..09ab644 Binary files /dev/null and b/recruitment/__pycache__/forms.cpython-313.pyc differ diff --git a/recruitment/__pycache__/models.cpython-313.pyc b/recruitment/__pycache__/models.cpython-313.pyc new file mode 100644 index 0000000..19def1d Binary files /dev/null and b/recruitment/__pycache__/models.cpython-313.pyc differ diff --git a/recruitment/__pycache__/serializers.cpython-313.pyc b/recruitment/__pycache__/serializers.cpython-313.pyc new file mode 100644 index 0000000..b3100d7 Binary files /dev/null and b/recruitment/__pycache__/serializers.cpython-313.pyc differ diff --git a/recruitment/__pycache__/urls.cpython-313.pyc b/recruitment/__pycache__/urls.cpython-313.pyc new file mode 100644 index 0000000..f41735d Binary files /dev/null and b/recruitment/__pycache__/urls.cpython-313.pyc differ diff --git a/recruitment/__pycache__/utils.cpython-313.pyc b/recruitment/__pycache__/utils.cpython-313.pyc new file mode 100644 index 0000000..97616fe Binary files /dev/null and b/recruitment/__pycache__/utils.cpython-313.pyc differ diff --git a/recruitment/__pycache__/views.cpython-313.pyc b/recruitment/__pycache__/views.cpython-313.pyc new file mode 100644 index 0000000..f11b853 Binary files /dev/null and b/recruitment/__pycache__/views.cpython-313.pyc differ diff --git a/recruitment/__pycache__/views_frontend.cpython-313.pyc b/recruitment/__pycache__/views_frontend.cpython-313.pyc new file mode 100644 index 0000000..5e9d361 Binary files /dev/null and b/recruitment/__pycache__/views_frontend.cpython-313.pyc differ diff --git a/recruitment/management/__pycache__/__init__.cpython-313.pyc b/recruitment/management/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..17a0146 Binary files /dev/null and b/recruitment/management/__pycache__/__init__.cpython-313.pyc differ diff --git a/recruitment/migrations/__pycache__/0001_initial.cpython-313.pyc b/recruitment/migrations/__pycache__/0001_initial.cpython-313.pyc new file mode 100644 index 0000000..72c4c4a Binary files /dev/null and b/recruitment/migrations/__pycache__/0001_initial.cpython-313.pyc differ diff --git a/recruitment/migrations/__pycache__/0002_trainingmaterial.cpython-313.pyc b/recruitment/migrations/__pycache__/0002_trainingmaterial.cpython-313.pyc new file mode 100644 index 0000000..de3f533 Binary files /dev/null and b/recruitment/migrations/__pycache__/0002_trainingmaterial.cpython-313.pyc differ diff --git a/recruitment/migrations/__pycache__/0003_candidate_updated_at_job_updated_at_and_more.cpython-313.pyc b/recruitment/migrations/__pycache__/0003_candidate_updated_at_job_updated_at_and_more.cpython-313.pyc new file mode 100644 index 0000000..f8739c4 Binary files /dev/null and b/recruitment/migrations/__pycache__/0003_candidate_updated_at_job_updated_at_and_more.cpython-313.pyc differ diff --git a/recruitment/migrations/__pycache__/0004_remove_candidate_status_candidate_applied.cpython-313.pyc b/recruitment/migrations/__pycache__/0004_remove_candidate_status_candidate_applied.cpython-313.pyc new file mode 100644 index 0000000..1403683 Binary files /dev/null and b/recruitment/migrations/__pycache__/0004_remove_candidate_status_candidate_applied.cpython-313.pyc differ diff --git a/recruitment/migrations/__pycache__/__init__.cpython-313.pyc b/recruitment/migrations/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..bde0d3d Binary files /dev/null and b/recruitment/migrations/__pycache__/__init__.cpython-313.pyc differ diff --git a/run.py b/run.py new file mode 100644 index 0000000..7d1388c --- /dev/null +++ b/run.py @@ -0,0 +1,40 @@ +import requests +import jwt +import time + +ZOOM_API_KEY = 'OoDRW3uVTymEnnQWTZTsLQ' +ZOOM_API_SECRET = 'ZJ0hCFMrwekG71jbR3Trvoor4tK3HAVP' + +def generate_zoom_jwt(): + payload = { + 'iss': ZOOM_API_KEY, + 'exp': time.time() + 3600 + } + token = jwt.encode(payload, ZOOM_API_SECRET, algorithm='HS256') + return token + +def create_zoom_meeting(topic, start_time, duration, host_email): + jwt_token = generate_zoom_jwt() + headers = { + 'Authorization': f'Bearer {jwt_token}', + 'Content-Type': 'application/json' + } + data = { + "topic": topic, + "type": 2, + "start_time": start_time, + "duration": duration, + "schedule_for": host_email, + "settings": {"join_before_host": True} + } + url = f"https://api.zoom.us/v2/users/{host_email}/meetings" + return requests.post(url, json=data, headers=headers) + + +if __name__ == "__main__": + topic = "Your Meeting Topic" + start_time = "2023-08-25T10:00:00" + duration = 60 + host_email = "your_zoom_email" + response = create_zoom_meeting(topic, start_time, duration, host_email) + print(response.json()) \ No newline at end of file