How to import VxAPI as a package?
Hello again, previously I have been using the API with subprocess.run and the relevant parameters. But now I am trying to import it as a package and create an object of the ApiCaller class to make API calls. I have tried adding init.py files in all the directories and whatnot; however I am either getting AttributeError: module 'VxAPI' has no attribute 'api'. What would you recoomend me to do?
either AttributeError: module 'VxAPI' has no attribute 'api' or ImportError: No package named 'exceptions' *
Howdy! Unfortunately I'm not that into that language to be able to provide an answer. I can only assume that to achieve that, that project should be pushed to pip and become importable. Or maybe there's some other way to make it importable.
As mentioned, I won't be able to help, though when you will know how to do that, please let me know. In that case you can try to push Pull-Request with changes or I will.
Thank you for your response. Sure, I kind of got something working (it is not that stable as of now) but I will let you know if I get it to fully work.