Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
need to instantiate the client w. new
  • Loading branch information
73rhodes committed Dec 7, 2012
1 parent 0e8112b commit fb21904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -24,7 +24,7 @@ Dark Sky [API](http://darkskyapp.com/api/) for details.

```javascript
var darksky = require("darksky");
var client = darksky.Client("mykey");
var client = new darksky.Client("mykey");

client.forecast('37.8267','-122.423',
function(err, data) {
Expand Down

0 comments on commit fb21904

Please sign in to comment.