Skip to content

Instantly share code, notes, and snippets.

View kashsingh's full-sized avatar
🏠
Working from home

Akash Singh kashsingh

🏠
Working from home
View GitHub Profile
@kashsingh
kashsingh / getOrgDirectories.py
Created April 1, 2026 04:48
Returns a page of directories in an organization that match the supplied parameters.
import requests
import json
#################################################################
ORG_ID = "your_org_id_here"
API_TOKEN = "your_api_token_here"
##################################################################
export const DESCRIPTION_VALUE = {
"version": 1,
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"level": 2
},
"content": [
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Copyright (c) 2011, Xabier (slok) Larrakoetxea
# Copyright (c) 2011, Iraide (Sharem) Diaz
#
# 3 clause/New BSD license:
# opensource: http://www.opensource.org/licenses/BSD-3-Clause
# wikipedia: http://en.wikipedia.org/wiki/BSD_licenses
#
#-----------------------------------------------------------------------
# This script allows to upload to Fileserve with FTP various files at the same time
#