Although Ms. Tran does a great job of monitoring this board 🙂 - the Python examples don't work anymore under Python 3.x. Looks like they were just autogenerated from the .NET API back in the Stone Age with Swagger (?). Pretty much nothing works - they need to be rewritten. 😐
Does anyone care enough to want a public repo/pypi? We're not going to for us unless we can use the API at a profit - but I can just fix and publish if enough people want it. 🙂 There is an existing visa-python but it doesn't have a lot of the APIs. I can handle pull requests for the time being - the Visa API is really good but the libraries not so much. 🙂
Solved! Go to Solution
That's great, if you can fix, publish and share your code with us! I'm looking forward to it!
Hey @lpreimesberger and @Nicanor,
Nicanor posted their email address in this community forum but it got removed since we do not advise Visa Developer Center users to post their email addresses in the community forum. @lpreimesberger can you please just post the code in the community forum? Thanks so much and we can't wait to see it!
No worries - thanks Diana :).
I just need the prepaid calls - so that's all I implemented. If you guys need something else ask (nicely 🙂 ) and I can prolly do easily enough. If you want to submit new modules just follow what I did and include Google-style comments and tests for them. I'm 99% sure we all get the same test data so you can just include your test cards in the test files and it should be fine.
Installation is easy - just run:
pip3 install visa-api
The code has full comments, so PyCharm or Visual Studio ought to just display the docs. Otherwise - you can read in the html folder in the package or clone the code.
I posted to:
For source or bug-reports/requests check the Github on:
I didn't test the package heavily since I'm just interested in proof-of-concept until I get paying users on the platform. 🙂 Seems fine - it's MIT license so hack away and make something awesome. 🙂 Happy New Year all. 🙂
Thanks for your code! Each Visa Developer account does have different test data that is assigned to each project (refer to screenshot below). Other than that, you being able to help provide code for others sounds great!