Skip to content

robinsingh1/cloudelements

 
 

Repository files navigation

CLOUD ELEMENTS PYTHON SDK

Build Status Coverage Status Join the chat at https://gitter.im/MobileWorks/cloudelements

This SDK is a basic wrapper around the HTTP/S calls needed to use CloudElements

Current Version: 0.2

v0.2.1

  • Add pagination for CRM Hubs

v0.2

  • More complete coverage for the CE API including CRM hubs, instances, elements, and providers
  • Updated test cover
  • More consistent naming conventions
  • Group tests via "type"

v0.1

  • Mostly SalesForce and CRM Hub integration

##INSTALLATION

    git clone git@github.com:MobileWorks/cloudelements.git cloudelements
    cd cloudelements
    pip install -e .
    pip install -r test-requirements.txt

SETUP

Instead of having set variables in the file, the tests rely on environment variables for your instances.

You can use a tool like direnv or autoenv

Currently the tests use these:

    os.getenv('CLOUD_ELEMENTS_USER_SECRET')
    os.getenv('CLOUD_ELEMENTS_ORG_SECRET')
    os.getenv('SALES_FORCE_SECRET')
    os.getenv('SALES_FORCE_ACCESS_KEY')
    os.getenv('SALES_FORCE_CALLBACK_URL')

RUN TESTS

py.test -v

OR

    pip install tox
    tox .

About

SDK Wrapper for the Cloud Elements API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%