Package: visma
=====Visma=====A Python Client/ORM library for integration to Visma eAccounting, Visma eEkonomiInstallation============Using the library requires Python 3.6 or higher.. code-block:: pythonpip install vismaAccess to Visma API===================After installation you will need to set up access to the Visma eAccounting APIAs of now it is not possible to get access by yourself so you will need to contactVisma at eaccountingapi@visma.com.See full documentation for more info on how to get access and how to set it up.Using the library=================The api is inspired from the Django ORM. The Visma API is well documented andsupports filtering according to Odata which makes the operations very similarto database access. We want to be able interact with all objects as normal python objects.. code-block:: pythoncustomers = Customer.objects.all()invoice = CustomerInvoiceDraft.objects.get('e629baaf-642b-4079-9180-1b8463d24dc2')invoice.your_reference = 'Mr finance guy'invoice.save()invoice2 = CustomerInvoiceDraft.objects.get('ff9839do-642b-4079-9180-1b8463d24dc2')invoice2.delete()# orCustomerInvoiceDraft.objects.delete('ff9839do-642b-4079-9180-1b8463d24dc2')Supported functions:* Getting all objects* Getting single object* Saving new objects and updating existing via .save()* Deleting objectsTodo:* filtering via Odata parameters, should be similar to Django QuerySets* manage paginationAvailable Objects-----------------Some objects we use and have tried out. But other code is made from generatingmarshmallow schemas with `swagger-marshmallow-codegen<https://github.com/podhmo/swagger-marshmallow-codegen/>`_.We have not tried all of it since we wont have the use cases.We would be happy to receive some comments if something is not working.Tested^^^^^* Customer* TermsOfPayment* CustomerInvoiceDraftCommercial Support and Development==================================The library is developed by Palmlund Wahlgren Innovative Technology AB, a certified Visma Partner.`Visma Integration Catalog <https://integrationer.vismaspcs.se/appar/python-client-orm/>`_.We offer software development and integration services to Visma eAccounting (eEkonomi) and can develop your integration or offer support to your team on this library.Check us out at `pwit.se <https://pwit.se>`_ or contact us on `info@pwit.se <mailto://info@pwit.se>`_ .Documentation=============Full documentation can be found at https://visma.readthedocs.io/ .API reference=============https://eaccountingapi.vismaonline.com/swagger/ui/indexVisma Environments==================Test (Sandbox)--------------Visma eAccounting clienthttps://eaccounting-sandbox.test.vismaonline.comVisma eAccounting APIhttps://eaccountingapi-sandbox.test.vismaonline.com/v2Visma IdentityServer Authorizationhttps://identity-sandbox.test.vismaonline.com/connect/authorizeVisma IdentityServer Tokenhttps://identity-sandbox.test.vismaonline.com/connect/tokenProduction----------Visma eAccounting clienthttps://eaccounting.vismaonline.comVisma eAccounting APIhttps://eaccountingapi.vismaonline.com/v2Visma IdentityServer Authorizationhttps://identity.vismaonline.com/connect/authorizeVisma IdentityServer Tokenhttps://identity.vismaonline.com/connect/token=========Changelog=========0.0.3-----Added handling of enveloped schemas.0.0.2-----Handling of allowed methods on objects. Adding methods and endpoints to all models0.0.1-----Initial release. Use Visma API objects in an ORM:y way. get, create, updateand delete function. All objects added after editing output fromswagger-marshmallow-codegen. But only some is working properly.