add "state" parameter to list method.
Merge pull request #3 from hansode/feature-state-parameter

add "state" parameter to list method.