I'm using Fareed's Python client for Postmates' API (https://github.com/far33d/py-postmates), but when I integrate it into my site, I get a Server Error (500). I'm using Django and Python, and my site is hosted on an AWS EC2 instance with an Apache2 server. I have a few questions:
- Should the Postmates client be its own app? Or should I just have it as a Python file within another existing app (i.e. my cart app)?
- Do the API Key and Customer ID need to be surrounded by <> or ' ' ?
- Even when I try creating its own app or adding it as a file within another existing app, the Server Error (500) is being driven by the line 'import postmates as pm.' I have the app listed in my settings.py file, so that shouldn't be the issue.
Any tips or pointers would be much appreciated -- especially if you've used this particular API client.