Comments (2)
Hi Preston,
The docs are missing some crucial information, so thanks for bringing this to my attention! You need to import the User
object before you can use it. Try the following:
from zenpy.lib.api_objects import User
user = User(name='Jim', email='[email protected]')
I'll update the docs and add the location of all the API objects (they are all in zenpy.lib.api_objects
).
from zenpy.
Hi facetoe,
Ah now I see it! Thanks for the quick response.
Best,
Preston
from zenpy.
Related Issues (20)
- Incremental API does not work, when passing `datetime.datime` HOT 6
- Ticket cannot be rated HOT 7
- Search export support for page[size] parameter HOT 4
- Users incremental endpoint is missing the cursor attribute HOT 3
- [Feature Request] zenpy to support cache backends HOT 4
- Setting ticket status to "pending" but the UI creates an "open" ticket HOT 14
- Question: Is it possible for me to simulate a conversation between a client and an Agent. HOT 1
- [Question] Facing a weird issue while creating a ticket HOT 3
- Question: Adding a comment as part of the actions of a Trigger HOT 3
- [Question] Does zenpy support getting list of webhook invocations filtered by status? HOT 7
- `SearchExportResultGenerator.next()` raises `IndexError` HOT 6
- Zenpy Cachetools implementation is not ThreadSafe and doesn't have a lock HOT 2
- `TicketCursorGenerator` returns no values HOT 15
- `Ticket.commets` return no values HOT 2
- TooManyValuesException: Parameter organization_memberships cannot specify more than 1 values HOT 1
- Resource not found when calling Zenpy.chats.triggers() HOT 5
- Assignee: is not a member of the group HOT 2
- requests.exceptions.HTTPError: 404 Client Error: Not Found for url: .../api/v2/help_center/categories.json?page... HOT 2
- TypeError to_dict() got an unexpected keyword argument 'serialize' HOT 2
- Missing support for guide/content_tags HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenpy.