Skip to content

WSU-Society-of-Computer-Developers/gdsc-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate adding attendees to gdsc.community.dev dashboard

What you need

  • Python (v3.5+)
  • Event ID
  • Chapter ID
    • event_and_chapter_ids
  • Cookie-based auth profile

Setup

  • cookies
  • Right click and hit Inspect, then go to the Application tab
  • Copy and paste all those values in the renamed file config.example.json -> config.json:
    {
        "event_id": "80600",
        "chapter_id": "2871",
        "cookie": {
            "csrftoken": "your_csrf_token",
            "__zlcmid": "your_zendesk_cookie",
            "correlation_key": "\"your_correlation_cookie\"",
            "sessionid": "your_session_id",
            "cookie_consent_is_true": "true"
        }
    }
  • In attendees.txt add your attendees in the following csv format:
    first_name,last_name,[email protected]
    
    with each line being a new person.

Running

  • Make sure Python is installed.
  • To run the script after you set it up, run py add_attendee.py in your terminal (or just right click and run w/ python)

its not the best solution, so if you have any improvements, throw a pr out!

About

Automate adding attendees to gdsc.community.dev dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages