Hi Chris,
I'm trying to use the following Python code to post a new event, but I'm
getting an error.
api = eventful.API('xxxxxxxx')
api.login('nateaune', 'xxxxxx')
result = api.call('/events/new',
**self._generate_message(obj))
status = result['status']
the error is:
Module gigblaster.controllers.hello:43 in evtful
<< api = eventful.API('xxxxxxxxx')
api.login('nateaune', 'xxxxxxxxx')
result = api.call('/events/new',>> api.login('nateaune',
'xxxxxxxxxx')
Module eventful:59 in login
def login(self, user, password):
"Login to the Eventful API as USER with PASSWORD."
nonce = self.call('/users/login')['nonce']
response = md5.new(nonce + ':'
+
md5.new(password).hexdigest()).hexdigest()>> nonce =
self.call('/users/login')['nonce']
KeyError: 'nonce'
Does the eventful.py library need to get updated to reflect the new API, or
am I just missing something in my code?
thanks,
Nate
On Wed, Nov 21, 2007 at 5:52 PM, Chris Radcliff <[EMAIL PROTECTED]> wrote:
> Hi Developers,
>
> Eventful has gone through many exciting changes since we first released the
> API, so the API site has been long overdue for an upgrade. The content is
> largely the same (including the API documentation you know and love), but we
> hope it'll be easier to find what you need. The new site is at the same
> location:
>
> http://api.eventful.com
>
> The Eventful API Terms of Use and API Branding Guidelines have also been
> updated to address common questions about using event data. Please take a
> moment to go over both, as continued use of the Eventful APIs constitutes
> acceptance of them.
>
> http://api.eventful.com/terms
> http://api.eventful.com/branding
>
> If you have any questions about these Terms, please contact Business
> Development at [EMAIL PROTECTED]
>
> Thanks,
> Chris Radcliff
> Eventful, Inc.
> [EMAIL PROTECTED]
>
>
>
>
--
Nate Aune - [EMAIL PROTECTED]
blog: http://nateaune.com
company: http://jazkarta.com
twitter: http://twitter.com/natea