Change param name `key` to `url`

Also submitted pull request #327 to update param name in constructor