send: 'GET /v1/balance HTTP/1.1\r\nHost: api.smsglobal.com\r\nAccept-Encoding: identity\r\nAccept: application/json\r\nAuthorization: MAC id="fa8ab458554411c7de1cd6cf76a5c4ac",ts="1382491836",nonce="9a83152def6a6da1c86eedadfc9d6b36",mac="d5bk0m5wvtbRUkYjMJhj0eTHqMJESNuIBsnCZpfNbII="\r\nUser-Agent: SMS Python Client\r\n\r\n'
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Server: nginx
header: Content-Type: application/json
header: Content-Length: 0
header: Connection: keep-alive
header: Cache-Control: no-cache
header: Date: Wed, 23 Oct 2013 01:30:36 GMT
header: Set-Cookie: NSC_203.89.199.54_80=ffffffffc3a00f3045525d5f4f58455e445a4a423660;expires=Wed, 23-Oct-2013 11:30:36 GMT;path=/;httponly
Traceback (most recent call last):
File "./SMSGlobalAPIConsumer.py", line 16, in <module>
balance = json.loads(apiWrapper.get("balance"))
File "/home/ian/hack/example-python-rest-client/SMSGlobalAPI/wrapper.py", line 33, in get
return self.connect("GET", action, id)
File "/home/ian/hack/example-python-rest-client/SMSGlobalAPI/wrapper.py", line 66, in connect
raise Exception("There's problem accessing API")
Exception: There's problem accessing API
I've double checked my key and secret and they seem all okay. I also tried out the ruby wrapper and came across the same issue.