Package: yolapy
Usage# settings filefromyolapy.configurationimportconfigureconfigure(auth=('username','password'),url='https://wl.qa.yola.net/',)# application codefromyolapy.modelsimportUserasYolaUseryola_user=YolaUser(email='test@example.com',name='Jane',surname='Doe',partner_id='WL_YOLA',preferences={'name':'value'})yola_user.save()Seehttp://yolapy.readthedocs.org/for available methods with
documentation.DevelopmentTo run the tests:$ nosetestsIntegration tests are not run by default. To run them, you must set up an
integration environment and edit the test settings:$ cp tests/test_integration/test_settings.py.sample \
     tests/test_integration/test_settings.pyNote:Try not to run the tests against the Yola QA environment. It gets
used for manual testing and we don’t want to clutter it up with users created
in automated test runs.Then you can run the integration tests explicitly:$ nosetests tests/test_integrationTo test and lint your code automatically when you make changes:$ cp tube.py.sample tube.py
$ stirTo open a REPL with aYolaclient initialized with yourtest_settings:$ python -i shell.pyDocumentationChanges to the public interface should be documented. See thedocsdirectory.Pushes to themasterbranch build athttp://yolapy.readthedocs.org/en/latest/automatically.You can test your doc changes locally with:$ cd docs
$ make html
$ open _build/html/index.html0.8.0Remove calculatingSite.is_publishedproperty,
because it’s already in api.0.7.0AddYola.set_site_urlmethod.0.6.2Run tests using maintained python versions : 2.7, 3.5, 3.6, 3.7, 3.8AddYola.complete_wl_task(wl_task_id)AddYola.fail_wl_task(wl_task_id, reason)0.6.1AddYola.get_user_wsitesmethod.0.6.0RemovesixdependencyRemoveUser.savemethodAddUser.createclassmethodAddYola.get_sso_urlmethodFix bug caused by improper call signature tocreate_site_importmethod onYolaserviceUpdateUser.__init__to accept**kwargsrather than named arguments. This
makes it consistent with other yolapy models and more flexible in case of
changes to data returned by the service.0.5.0RemoveYola.subscribe_to_campaign()andYola.cancel_campaign_subscriptionmethods, they aren’t allowed to be used externally.Add SiteImport model and api for creation and listingYola.get_sso_create_site_urlandYola.get_sso_open_site_urlnow accept optionallocalearguments which define what language the
returned urls should be generated for0.4.2Removewith_ssl_supportflag for methodsUser.get_sso_create_site_url()andSite.change_site_domain().AddYola.create_cname_zone()method.0.4.1Add support ofwith_ssl_supportflag for methodsUser.get_sso_create_site_url()andSite.change_site_domain().0.4.0Update Subscription model to expect the actual data from service response.0.3.0Drop support for python 3.2Yola.get_sso_open_site_urlnow accepts an optionalsite_idspecifying the
site to generate a url forUse Demands >= 4.0.00.2.4 (2016-06-17)Fix mismatch between demands version in setup.py and requirements.txt0.2.3 (2016-06-17)Handle pagination in Site.listAddUser.getclass method that returns a populated User object0.2.2 (2016-04-06)AddSite.is_published0.2.1 (2016-03-31)AddSite.list0.2.0 (2016-03-29)Yola.create_subscriptionnow returns the created subscription.Breaking change:RemoveYola.suspend_userandYola.resume_user.Add aSitemodel.0.1.7 (2015-12-02)Update Subscription model to include all attributes returned from the API.0.1.6 (2015-12-01)Update installation requirements (demands)Support Python 30.1.5 (2015-11-23)Return values fromchange_subscription_typeandactivate_trial_subscriptionmethods.Fixed failing integration tests.0.1.4 (2015-11-19)Add Subscription model0.1.3 (2015-10-19)Add a Partner model0.1.2 (2015-10-15)Add a configuration moduleAdd a User modelAdd Sphinx Docs -http://yolapy.readthedocs.org/0.1.1 (2015-09-11)Update installation requirements0.1.0 (2015-09-02)Initial version withYolawrapper for the Yola API