Skip to content

Instantly share code, notes, and snippets.

View matthew-white's full-sized avatar

Matthew White matthew-white

  • Richmond, VA, USA
View GitHub Profile
@matthew-white
matthew-white / request.py
Created May 8, 2023 22:25
[FOR DISCUSSION ONLY] Untested CLI script using pyODK
import argparse
import json
import re
import sys
import urllib.parse
from mimetypes import guess_type
from pathlib import Path
from pyodk.client import Client
parser = argparse.ArgumentParser()