{"id":16760306,"url":"https://github.com/roccomuso/ingv","last_synced_at":"2025-04-10T17:36:57.009Z","repository":{"id":57273837,"uuid":"132268683","full_name":"roccomuso/ingv","owner":"roccomuso","description":"Easily get INGV Earthquake events in Node.js","archived":false,"fork":false,"pushed_at":"2019-10-27T10:04:35.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-24T13:42:14.809Z","etag":null,"topics":["api","client","earthquake","events","ingv","javascript","js","node","quake"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roccomuso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-05T17:12:43.000Z","updated_at":"2021-03-10T19:47:56.000Z","dependencies_parsed_at":"2022-09-17T05:10:16.169Z","dependency_job_id":null,"html_url":"https://github.com/roccomuso/ingv","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/roccomuso%2Fingv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fingv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fingv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fingv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roccomuso","download_url":"https://codeload.github.com/roccomuso/ingv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262043,"owners_count":21074236,"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":["api","client","earthquake","events","ingv","javascript","js","node","quake"],"created_at":"2024-10-13T04:23:05.138Z","updated_at":"2025-04-10T17:36:56.986Z","avatar_url":"https://github.com/roccomuso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ingv\n\n[![NPM Version](https://img.shields.io/npm/v/ingv.svg)](https://www.npmjs.com/package/ingv)\n![node](https://img.shields.io/node/v/ingv.svg)\n[![Dependency Status](https://david-dm.org/roccomuso/ingv.png)](https://david-dm.org/roccomuso/ingv)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\u003e Get INGV Earthquake events in Node.js\n\nNode API client to get **[INGV](http://terremoti.ingv.it/it/)** [earthquake events](http://cnt.rm.ingv.it/en/events).\n\n## Install\n\n`npm install --save ingv`\n\n## Example\n\n```javascript\nconst ingv = require('ingv')\n\nlet options = {\n  startTime: null /* Date obj */,\n  endTime: null /* Date obj */,\n  minMag: 2 /* 0-10 */,\n  maxMag: 10 /* 0-10 */,\n  minDepth: -10 /* negative/positive number (Km) */,\n  maxDepth: 1000 /* negative/positive number  (Km) */,\n  minLat: -90 /* from -90 to 90 */,\n  maxLat: 90 /* from -90 to 90 */,\n  minLon: -180 /* from -180 to 180 */,\n  maxLon: 180 /* from -180 to 180 */,\n  limit: 10000 /* number */\n}\n\ningv(options).then((data) =\u003e {\n  /* // Example result:\n[\n  {\n    time: '2018-05-05T07:47:25.490000',\n    latitude: 43.0368,\n    longitude: 13.0522,\n    author: 'SURVEY-INGV',\n    catalog: '',\n    contributor: '',\n    contributorID: '',\n    magType: 'ML',\n    magnitude: 2.1,\n    magAuthor: '--',\n    eventLocationName: '1 km S Pieve Torina (MC)',\n    eventID: 19187041,\n    depthKm: 7.7 \n  },\n  {\n    time: '2018-05-05T13:58:55.630000',\n    latitude: 43.0342,\n    longitude: 13.0418,\n    author: 'SURVEY-INGV',\n    catalog: '',\n    contributor: '',\n    contributorID: '',\n    magType: 'ML',\n    magnitude: 2.2,\n    magAuthor: '--',\n    eventLocationName: '1 km SW Pieve Torina (MC)',\n    eventID: 19192021,\n    depthKm: 8.8\n  },\n...\n]\n  */\n}).catch(console.error)\n```\n\n## License\n\nMIT\n\n## Author\n\nRocco Musolino [@roccomuso](https://twitter.com/roccomuso)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fingv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froccomuso%2Fingv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fingv/lists"}