Re: Any community interest in working Python lib?

Solved! Go to solution
lpreimesberger
Regular Visitor

Any community interest in working Python lib?

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.  🙂

 

lp

5 REPLIES 5
API_Products
Visa Developer Support Specialist

Re: Any community interest in working Python lib?

Hey @lpreimesberger,

 

That's great, if you can fix, publish and share your code with us! I'm looking forward to it!

 

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Nicanor
Regular Visitor

Re: Any community interest in working Python lib?

Yes! Here. Please write me: < email address >

API_Products
Visa Developer Support Specialist

Re: Any community interest in working Python lib?

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!

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

lpreimesberger
Regular Visitor

Re: Any community interest in working Python lib?

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:

https://pypi.org/project/visa-api/

 

For source or bug-reports/requests check the Github on:

https://github.com/lpreimesberger/visa_dps

 

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. 🙂

 

 

API_Products
Visa Developer Support Specialist

Re: Any community interest in working Python lib?

Hey @lpreimesberger,

 

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!

20190905 Test Data.png

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.