pittcsc / PittAPI

An API to easily get data from the University of Pittsburgh
https://pittapi.pittcsc.org
GNU General Public License v2.0
108 stars 34 forks source link

Moving from classes to modules #24

Closed azharichenko closed 7 years ago

azharichenko commented 7 years ago

All the information about this change in structure can be found in issue #23.


There is one minor change to take note of in this PR. The exception InvalidParameterException has been removed and replaced with ValueError. It's always much more preferable to use built-in error/exception of the language then creating your own. In this case, ValueError already exists and explains the same issue InvalidParameterException explains but in a shorter and built-in form.