get all harness projects using python
set the following in your environment
HARNESS_ACCOUNT_ID
: your harness account id
HARNESS_PLATFORM_API_KEY
: a harness token with orgs and projects read
python3 main.py
the code currently fetches only 1 org and project per api call, for testing and to prove the pagenation.
if you are using on a real harness account, you should change the limit var to something larger, like 20-30.