Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
/ deanslist-sync Public archive

Portable extract script for ETL from the Deanslist API

License

Notifications You must be signed in to change notification settings

cbini/deanslist-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deanslist

Getting started

  1. Ensure you have Python 3.6+ installed

  2. Create and activate a virtual environment

  3. Fork of this repository

  4. Install requirements.txt

  5. Edit the endpoint_queries variable in settings.py with your desired endpoints and parameters

  6. Create a JSON file containing your API credentials in an array of objects, like so:

    [
        {
            "school-name": "myschool",
            "region-name": "myschoolsregion",
            "key": "tH15iSmYD3@n51157k3y"
        },
        ...
    ]
  7. Create a .env file containing the following variables:

    CURRENT_ACADEMIC_YEAR=20XX
    FIRST_ACADEMIC_YEAR=20XX
    INSTANCE_NAME=myinstancename
    LOCAL_TIMEZONE=CNTRY/TZ
    GCS_BUCKET_NAME=my-bucket-name
    GOOGLE_APPLICATION_CREDENTIALS=/path/to/gcs-creds.json
    DEANSLIST_APPLICATION_CREDENTIALS=/path/to/api-keys.json

About

Portable extract script for ETL from the Deanslist API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages