Skip to content

Instantly share code, notes, and snippets.

View smartweb's full-sized avatar

Sam Chueng smartweb

  • Shenzhen Guangdong China
View GitHub Profile
@smartweb
smartweb / eventbrite-multi-discount.rb
Created September 27, 2011 06:45 — forked from ryanj/eventbrite-multi-discount.rb
a script to help automate adding or updating discount codes for multiple events
#!/usr/bin/ruby
#
# This work is licensed under a Creative Commons Attribution 3.0 Unported License.
# http://creativecommons.org/licenses/by/3.0/
#
# With some slight modifications, this script should create
# a new discount code for each of the 'live' events which are
# owned by the user (who is identified by the user_key value).
#
# See the above license info and Eventbrite API terms for usage limitations.