Skip to content

AASHE/iss

Repository files navigation

Build Status Coverage Status Issue Count

iss

Want the ISS Organization data in your local database? This app is for you!

These files make up the ISS/Membersuite sync

  • membersuite.py pulls in the Membersuite API client class and instantiates it for you. You can then make use of the services provided by the client for organization and membership objects.

  • models.py includes the logic to translate from the MemberSuite object to its matching ISS object.

Django management commands

  • upsert_iss_organizations is a Django management command to sync the Membersuite Organizations data into the ISS Organization table.

    It upserts organizations for MemberSuite Organizations that have been modified within the past seven days. The number of days to go back is settable via the --modified-since/-m command-line argument. To upsert Organizations modified within the last 14 days, e.g., do manage.py upsert_iss_organizations -m 14.

    To sync all organizations, add the flag '--all' instead.

  • upsert_iss_memberships is a Django management command to sync the Membersuite Membeship objects to the ISS Membership table.

    Similar to upserting organizations, use the --modified-since/-m argument to set the number of days to go back, or --all to sync all memberships.

    After retrieving this data, it automatically internally syncs with the organizations table, updating that to add active memberships to their associated organization.

Installation

About

Ideally Single Source app for Salesforce data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages