eventbrite / deskapi Goto Github PK
View Code? Open in Web Editor NEWPython wrapper for Desk.com REST API.
Python wrapper for Desk.com REST API.
The documentation at https://pypi.python.org/pypi/deskapi shows the import statement as:
from deskapi.models import DeskSession
I continued getting the AttributeError
when using this import. When using the import documented in github, everything worked fine:
from deskapi.models import DeskApi2
Could not figure out how to submit an issue at https://pypi.python.org/pypi/deskapi.
For users who use custom domains with Desk (https://support.desk.com/customer/en/portal/articles/1548-using-your-own-domain-name).
To reproduce:
verify=False
in models.pysitename
as you normally would and make a request (to desk account that uses custom domain)Result:
File "/Users/dmatt/Projects/deskpush/deskpush/lib/python2.7/site-packages/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'example.desk.com' doesn't match 'subdomain.example.com'
where example
is your sitename
and subdomain.example
is your actual custom domain set up in Desk.com.
The source code in the project appears to be missing the LICENSE file defining the BSD
The DeskSessions class internally disables verification of the Desk API server's SSL cert for all HTTP requests it makes to it: https://github.com/eventbrite/deskapi/blob/master/src/deskapi/models.py#L50. This presents a security hazard for anyone using this library since it opens the door to someone performing a man-in-the-middle attack.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.