added pricing support
fixed formatting
v1.0
Merge pull request #1 from pblan/dev fixed id parameter being int