The following links provide python examples for using the Events API.
create_event.py
create_category.py
get_categories.py
delete_category.py
create_source.py
get_source.py