Skip to content

sunny0425/wenjuan_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wenjuan_api gem

https://www.wenjuan.com/open/devdocument_v3/?chapter=1_1

Wenjuan API Version 3

gem install wenjuan_api

add config file:

$ rails generate wenjuan_api:install

In rails console:

wenjuan_api = WenjuanApi.new

wenjuan_api.get_login_url('wj_user', 'wj_email')

get report chart url

wenjuan_api.project_chart_url('username', 'wj_short_id')

get project answer list

results = wenjuan.project_detail_list('username', 'wj_short_id')
# Be careful, here the username should be the wenjuan account username, not answerer's user name.
```ruby

About

wenjuan api integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages