Do someone needs to enable API for my account?

Solved!
Posted in General by Tirthesh Ganatra Mon Oct 02 2017 14:09:48 GMT+0000 (UTC)·2·Viewed 315 times

I am using the instamojo-py wrapper and I am getting "Invalid Auth Token.". The tokens I am using are from the dashboard in the testing environment.
Tirthesh Ganatra
Oct 2, 2017

I figured there was a parameter which was missing when initiating the instance. While using the wrapper you need to specify endpoint in testing mode:

Instamojo(api_key=<key>, auth_token=<token>, endpoint="https://test.instamojo.com/api/1.1/")

Instamojo
Oct 4, 2017

Marking as solved since you've already figured out.

Improvements via pull requests for either code or documentation welcome

Repository: https://github.com/Instamojo/instamojo-py


Instamojo marked this as solved
Markdown is allowed