Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SSARCandy committed Jun 26, 2016
1 parent 1e3551a commit 1e42032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm install --save node-apod
var APOD = require('node-apod');
var apod = new APOD(API_KEY); // You can get API_KEY at https://api.nasa.gov/index.html#apply-for-an-api-key

apod.send({
apod.get({
LANG: "en_us", // default en_us
DATE: '2016-06-24' // default today
}, function(err, data) {
Expand Down Expand Up @@ -53,7 +53,7 @@ If `LANG` is specified(and is valid), response data will get specified LANG's `t
For example, set `LANG` as `Traditional Chinese`:

```js
apod({
apod.get({
LANG: "zh_tw",
DATE: '2016-06-23'
}, function(err, data) {
Expand Down Expand Up @@ -86,7 +86,7 @@ For those other languages mirror sites, maybe not alway up-to-date.

If happended, will get error as follow:
```js
apod({
apod.get({
LANG: "fr_fr",
DATE: '2016-06-24'
}, function(err, data) {
Expand Down

0 comments on commit 1e42032

Please sign in to comment.