Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    mfabrik.zoho 1.1

    Download button

    No screenshots available
    Downloads: 139  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    mFabrik Research Oy | More programs
    GPL / FREE
    May 11th, 2011, 11:55 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    mfabrik.zoho description

    Zoho API integration for Python

    mfabrik.zoho contains Python classes for making easy Zoho API calls. They allow you to integrate Zoho web application data into your Python software.

    mfabrik.zoho is intended to use for machine-to-machine communication and will work with any web framework, like Plone, Django, Google App Engine.

    To communicate with Zoho you need username, password and API KEY. For further information, see Setup > Admin > Developer key in your Zoho application.

    API support

    Currently out of box support includes:

    - CRM apis: insert_records, get_records, delete_lead

    You can easily wrap Zoho API calls you need using this library. Please contribute patches to the package.

    Installation

    To install mfabrik.zoho to your system-wide Python do as below.

    Example (UNIX):

    sudo easy_install mfabrik.zoho

    Example (UNIX, Python 2.4):

    sudo easy_install mfabrik.zoho lxml simplejson

    Usage

    To learn how to use this library, it is best to study its unit test source code (tests.py).

    Example usage:

    # Import CRM connector class
    from mfabrik.zoho.crm import CRM
    from mfabrik.zoho.core import ZohoException

    # Initialize Zoho CRM API connection
    # You need valid Zoho credentials and API key for this.
    # You get necessary data from Zoho > Setup > Admin > Developer key
    crm = CRM(username="myusername", password="foobar", apikey="12312312312312312323")

    # Open connection can be used to make as many as possible API calls
    # This will raise ZohoException if credentials are incorrect.
    # Also IOError or URLError will be raised if you the connection to Zoho servers
    # does not work.
    crm.open()

    # Lead is just a bunch of dictionaried data
    # For possible lead parameters see crm.py.

    # Zoho default compulsory fields: Last Name, Company

    lead = {
     u"First Name" : u"Mikko",
     u"Last Name" : u"Ohtamaa",
     u"Company" : u"mFabrik Research Oy"
    }

    # Insert a new lead to Zoho CRM lead database.
    # We support multiple leads per call, so we need to listify our one lead first.
    responses = crm.insert_records([lead]) # This will raise ZohoException if lead data is invalid

    # list of responses. one response is {'Modified Time': '2010-10-07 13:24:49', 'Created By': 'Developer', 'Modified By': 'Developer', 'Id': '177376000000253053', 'Created Time': '2010-10-07 13:24:49'}
    # At least one response is guaranteed, otherwise an exception is raised

    lead_id = responses[0]["Id"]


    Special field Lead Owner must be the registered email fo Zoho CRM user.


    Product's homepage

    Here are some key features of "mfabrik.zoho":

    · Creating Zoho API session a.k.a ticket
    · Extendable API using a base class architecture
    · Logging all incoming and outgoing API traffic with Zoho
    · Support Python 2.4, 2.5 and 2.6 (2.4 needs additional lxml and simplejson libraries installed)
    · Compatible with non-ASCII or Unicode letters
    · Unit tests to guarantee the high quality of the code

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Changed protocol to https, as per Zoho API changes [miohtama]

      


    TAGS:

    Zoho API | Python library | Zoho | API | integration

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM