papyrustheplant / strawpoll.py Goto Github PK
View Code? Open in Web Editor NEWA python wrapper for the Strawpoll API.
License: MIT License
A python wrapper for the Strawpoll API.
License: MIT License
even running your example, poll.url returns a blank string.
<ipython-input-8-84b98d8870fc> in main()
35
36 # Submitting it on strawpoll
---> 37 p2 = await api.submit_poll(p2)
38 print(p2.id) # 10921552
39 print(p2.url) # http://www.strawpoll.me/10921552
~/path/to/env/lib/python3.6/site-packages/strawpoll/http.py in request_async(self, method, url, **kwargs)
65 raise HTTPException(resp, rdata)
66 elif cls is not None:
---> 67 return cls(**rdata)
68 else:
69 return rdata
TypeError: type object argument after ** must be a mapping, not str
Python 3.6 here. I'm not sure what needs to be different.
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.