{"id":16731604,"url":"https://github.com/missinglink/urthecast","last_synced_at":"2025-06-12T17:32:19.938Z","repository":{"id":57387768,"uuid":"43801977","full_name":"missinglink/urthecast","owner":"missinglink","description":"urthecast js client","archived":false,"fork":false,"pushed_at":"2015-10-07T09:09:35.000Z","size":120,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-03T16:39:52.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/missinglink.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":"2015-10-07T07:52:54.000Z","updated_at":"2015-10-09T17:05:13.000Z","dependencies_parsed_at":"2022-09-06T09:41:57.168Z","dependency_job_id":null,"html_url":"https://github.com/missinglink/urthecast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/missinglink/urthecast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Furthecast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Furthecast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Furthecast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Furthecast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/missinglink","download_url":"https://codeload.github.com/missinglink/urthecast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Furthecast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259512279,"owners_count":22869378,"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-12T23:38:06.139Z","updated_at":"2025-06-12T17:32:19.913Z","avatar_url":"https://github.com/missinglink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# urthecast\n\nurthecast is a simple nodejs client library for the services provided by https://developers.urthecast.com\n\n# installation\n\n```bash\n$ npm i urthecast --save\n```\n\n[![NPM](https://nodei.co/npm/urthecast.png?downloads=true\u0026stars=true)](https://nodei.co/npm/urthecast)\n\nNote: you will need `node` and `npm` installed first.\n\nThe easiest way to install `node.js` is with [nave.sh](https://github.com/isaacs/nave) by executing `[sudo] ./nave.sh usemain stable`\n\n# getting started\n\ncreate an instance of the `urthecast` client with your `api_key` and `api_secret` copied from https://developers.urthecast.com/apps\n\n```javascript\nvar urthecast = require('urthecast')(MY_KEY, MY_SECRET)\n```\n\n# satellite_tracker api\n\nyou can execute the `urthecast.v1.satellite_tracker()` function with the following arguments:\n\n- `path`: the uri path eg. \"/satellites/iss/orbit_points\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast.v1.satellite_tracker(\"/satellites/iss/orbit_points\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n# archive api\n\nyou can execute the `urthecast.v1.archive()` function with the following arguments:\n\n- `path`: the uri path eg. \"/scenes\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast.v1.archive(\"/scenes\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n# AOI api\n\nyou can execute the `urthecast.v1.consumers()` function with the following arguments:\n\n- `path`: the uri path eg. \"/apps/me/aois\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast.v1.consumers(\"/apps/me/aois\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n# events api\n\nyou can execute the `urthecast.v1.event_streams()` function with the following arguments:\n\n- `path`: the uri path eg. \"/events\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast.v1.event_streams(\"/events\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n# low level v1 api\n\nyou can execute the `urthecast.v1()` function with the following arguments:\n\n- `path`: the uri path eg. \"/satellite_tracker/satellites/iss/orbit_points\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast.v1(\"/satellite_tracker/satellites/iss/orbit_points\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n# super low level api\n\nyou can execute the `urthecast()` function directly with the following arguments:\n\n- `prefix`: this gets prefixed to the `path`, defaults to \"/v1\"\n- `path`: the uri path eg. \"/v1/satellite_tracker/satellites/iss/orbit_points\", defaults to \"\"\n- `params`: a js object of the query string params\n- `cb`: a callback function which accepts the arguments `(err, res)`\n\n```javascript\nurthecast(\"/v1\", \"/satellite_tracker/satellites/iss/orbit_points\", {}, function(err,res){\n  console.log( err, res.body )\n})\n```\n\n## npm module\n\nThe `urthecast` npm module can be found here:\n[https://npmjs.org/package/urthecast](https://npmjs.org/package/urthecast)\n\n## contributing\n\nPlease fork and pull request against upstream master on a feature branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Furthecast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmissinglink%2Furthecast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Furthecast/lists"}