Skip to content

Instantly share code, notes, and snippets.

View imanimen's full-sized avatar
🐧

Iman Imen imanimen

🐧
View GitHub Profile
@imanimen
imanimen / Action.php
Last active December 29, 2024 05:58
Action base coding
<?php
namespace Modules\Pardakht\Classes;
class StartPayment
{
public const USER_TERMINALS = "get-user-terminals";
public function createPayment()
@imanimen
imanimen / download_files_from_googledrive.py
Created March 6, 2023 07:20 — forked from swyoon/download_files_from_googledrive.py
A script for downloading all files in a Google Drive folder.
"""
A Python script for downloading all files under a folder in Google Drive.
Downloaded files will be saved at the current working directory.
This script uses the official Google Drive API (https://developers.google.com/drive).
As the examples in the official doc are not very clear to me,
so I thought sharing this script would be helpful for someone.
To use this script, you should first follow the instruction
in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python):