{"id":15724991,"url":"https://github.com/ecto/node-nasa","last_synced_at":"2025-10-16T09:58:21.517Z","repository":{"id":57308129,"uuid":"2624294","full_name":"ecto/node-nasa","owner":"ecto","description":"A node.js client for NASA's data API","archived":false,"fork":false,"pushed_at":"2011-10-23T01:37:00.000Z","size":203,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T04:08:31.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-22T01:47:36.000Z","updated_at":"2025-01-10T09:42:19.000Z","dependencies_parsed_at":"2022-08-31T01:00:38.270Z","dependency_job_id":null,"html_url":"https://github.com/ecto/node-nasa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-nasa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-nasa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-nasa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-nasa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecto","download_url":"https://codeload.github.com/ecto/node-nasa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870872,"owners_count":21976614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T22:18:44.820Z","updated_at":"2025-10-16T09:58:16.466Z","avatar_url":"https://github.com/ecto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nasa for node\n\n![nasa](http://i.imgur.com/wyl1S.jpg)\n\nA simple-to-use node.js client for NASA's data API.\n\n# install\n\nNode library:\n\n    npm install nasa\n\nCLI tool:\n\n    npm install -g nasa\n\nFrom source:\n\n    git clone git://github.com/ecto/node-nasa.git \n    cd node-nasa\n    npm link\n\n# library\n\n##example\n\n````javascript\nvar nasa = require('nasa');\n\nnasa.dataset({ id: 619 }, function(err, data){\n  if (err) console.log(err);\n  else console.log(data);\n});\n````\n\n##methods\n\nAll options are objects. `{ option: 'value' }`\n\nAll callbacks (cb) shoult be formed as `function(err, data){}`\n\nIf not null, callback errs will contain a String explaining error.\n\n###nasa.dataset(options, cb)\n\nReturns specified dataset\n\n`options` requires one of { id: Number } or { slug: String }, but not both.\n\n###nasa.search(options, cb)\n\nReturns datasets matching search\n\nRequires String `search`\n\nOptional count (default 10)\n\n###nasa.recent(options, cb)\n\nReturns recent datasets\n\nOptional count (default 10)\n\n### nasa.dates(cb)\n\nReturns index of all dates\n\n###nasa.date(date, count = 10, cb)\n\nReturns datasets matching a specific date\n\nRequires String `date`  set to a date in the format YYYY or YYYY-MM or YYYY-MM-DD (non-numeric characters are stripped from the var, so YYYYMMDD or YYYY/MM/DD are also valid)\n\nOptional count (default 10)\n\n### nasa.categories(cb)\n\nReturns index of categories\n\n###nasa.category(options, cb)\n\nReturns specified category\n\n`options` requires one of { id: Number } or { slug: String }, but not both.\n\nOptional count (default 10)\n\n### nasa.tags(cb)\n\nReturns index of tags\n\n###nasa.tag(options, cb)\n\nReturns specified tag\n\n`options` requires one of { id: Number } or { slug: String }, but not both.\n\nOptional count (default 10)\n\n# CLI\n\n##example\n\n##commands\n\n# license\n\n(The MIT License)\n\nCopyright (c) 2011 Cam Pedersen \u003ccam@onswipe.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecto%2Fnode-nasa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecto%2Fnode-nasa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecto%2Fnode-nasa/lists"}