COWestSlopeTech / project-kronos

MIT License
0 stars 1 forks source link

Very basic functionality to show the EventBrite API works for RFT account #34

Closed justinlewis closed 4 years ago

justinlewis commented 4 years ago

This is far from production ready but:

  1. Removes the depricated use of the EventBrite events API endpoint (ref: https://groups.google.com/forum/#!topic/eventbrite-api/-E0MG7THMsc)
  2. Adds the use of the official EventBrite SDK
  3. Gets a basic query of events for an organization (RFT) working.

TODO:

  1. Setup OAuth to query other organizations in EventBrite.
  2. Account for pagination in the response
  3. Consider if querying by organization or venue is better.
justinlewis commented 4 years ago

I'm new to the Python virtual environments and general dependency managment. I added the EventBrite SDJ (pip install eventbrite) and am not sure how to ensure that dependency is added to the build system. That should be the only reason the build is failing.

Anyone want to share some wisdom?

jcerise commented 4 years ago

Couple of things here:

Standard way of handling dependencies is to freeze whatever you have installed in your virtual env into a requirements.txt file: pip freeze > requirements.txt. That will output current versions of all installed packages, and can be used to recreate the environment like: pip install -r requirements.txt (Note: I added this)

Second, this might be a good opportunity to try out Poetry (https://python-poetry.org/), a new, more robust, python dependency manager. I've been playing around with it, and its really nice. I'll make an experimental branch and PR with it mixed in, and we can see how we like it.

jcerise commented 4 years ago

Theres just one failing test, should be easy to fix up.