Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pulling both Eventbrite and Meetup data for the Same Organization #211

Open
allella opened this issue Mar 10, 2023 · 2 comments
Open
Assignees

Comments

@allella
Copy link
Member

allella commented Mar 10, 2023

As an example, Carolina Code School posts most events to Meetup, but events like their Demo Days are on Eventbrite.

https://www.eventbrite.com/o/carolina-code-school-16752445958
https://www.meetup.com/Carolina-Code-School/

The organizations API data and this repo aren't designed to do both things for a single organization.

@allella
Copy link
Member Author

allella commented Jul 6, 2023

When I say "organizations" I'm referring to our "Organizations API", which has a human-viewable version at the links below.
This orgs data is the input for the "Events API", and how it knows where to look for an orgs events. Usually this is Meetup.com or Eventbrite, but it's rarely been both for the same organization, which is why we haven't dealt with this edge case until recently.
https://data.openupstate.org/organization/develop-carolina
https://data.openupstate.org/organization/carolina-code-school

@allella allella self-assigned this Jul 6, 2023
@allella
Copy link
Member Author

allella commented Jul 7, 2023

Example API call and the current structure

image

Since there are two values for each event service ("field_event_service" & "field_events_api_key") used by an organization, we'll likely need to structure these under an array of "Event Services". I'll need to figure out how to create that structure within Drupal because the API is rendered as Drupal view.

The Event's API will then need to be updated to loop through all "Event Service" array values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant