Giter VIP home page Giter VIP logo

basecrm-python's Introduction

basecrm-python

Zendesk Sell Official API library client for python

Copyright and license

Copyright 2015 Zendesk

Licensed under the Apache License, Version 2.0

basecrm-python's People

Contributors

docx avatar efedasz avatar grzegorz-mysliwiec avatar hugorodgerbrown avatar iaintshine avatar mpuchalska avatar pawelgocek avatar piotr-szczesniak avatar piotrekwasilewski avatar struniu avatar stummjr avatar tomvlk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

basecrm-python's Issues

KeyError: 'errors' in RequestError.__init__

Hello.
Sometimes I had the following error when I call basecrm.services.ContactsService.create().
Package version is basecrm-1.1.1

HTTP status is 404 and errors_payload is {"error": "not_found"}

File "/opt/python/run/venv/local/lib/python3.4/site-packages/basecrm/services.py" line 180 in create
_, _, contact = self.http_client.post("/contacts", body=attributes)

File "/opt/python/run/venv/local/lib/python3.4/site-packages/basecrm/http_client.py" line 53 in post
return self.request('post', url, body=body, **kwargs)

File "/opt/python/run/venv/local/lib/python3.4/site-packages/basecrm/http_client.py" line 138 in request
self.handle_error_response(resp)

File "/opt/python/run/venv/local/lib/python3.4/site-packages/basecrm/http_client.py" line 161 in handle_error_response
raise RequestError(resp_code, errors)

File "/opt/python/run/venv/local/lib/python3.4/site-packages/basecrm/errors.py" line 47 in init
for error_envelope in errors_payload['errors']]

KeyError: 'errors'`

Let me know If I should provide more information or if the issue is already solved.

only 25 items

Hello,

Whatever I call I receive only 25 first items it is totally not usable SDK.

Get all deals from all users

Is there any way to get all deals data from all users ? like using admin roles and use deals(admin) api. Or we must retrieve all access token from all users, then manually get the deals from each users?

`pip install basecrm` is broken

After switching the readme from markdown to RST, the package can't be installed from PyPI.

$ pip install basecrm
Collecting basecrm
  Using cached basecrm-1.0.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-FXRjSP/basecrm/setup.py", line 28, in <module>
        long_description=long_description(),
      File "/tmp/pip-build-FXRjSP/basecrm/setup.py", line 17, in long_description
        content = read_file('README.md')
      File "/tmp/pip-build-FXRjSP/basecrm/setup.py", line 8, in read_file
        f = open(name)
    IOError: [Errno 2] No such file or directory: 'README.md'

Perhaps a new release would fix that? By the way if setup.py reads README.rst, it should be listed in the MANIFEST.in file.

Exception raised when rate limit is exceeded!

Exception: Unknown HTTP error response. Json expected. HTTP response code=429. HTTP response body=

This is line 158 in http_client.py. It never reaches 165, because your HTTP response code 429 is invalid json.

Wrong url preperation

When I want to pass along 'custom_fields[Name#3]', it gets sent as the invalid custom_fields/Name#3

AttributeError: 'module' object has no attribute 'Client'

import basecrm
client = basecrm.Client(access_token='[ACCESS_TOKEN]')
AttributeError Traceback (most recent call last)
in ()
----> 1 client = basecrm.Client(access_token='[ACCESS_TOKEN]')

AttributeError: 'module' object has no attribute 'Client'

I have tried in multiple ways, but I keep getting this basic error

Lead Sources

Is it possible to get lead sources with this api? It appears /sources is only Deal Sources, I can add it, was just wondering if I'm missing it somewhere.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.