{"id":18887459,"url":"https://github.com/nucleus-inc/ngipstack","last_synced_at":"2026-02-24T07:30:17.802Z","repository":{"id":65458235,"uuid":"136041308","full_name":"Nucleus-Inc/ngIpStack","owner":"Nucleus-Inc","description":"Work in progress","archived":false,"fork":false,"pushed_at":"2018-08-22T14:46:03.000Z","size":137,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T19:35:51.148Z","etag":null,"topics":["angular","ipstack","ipv4","ipv6","ngipstack"],"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/Nucleus-Inc.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":"2018-06-04T14:56:56.000Z","updated_at":"2019-03-18T05:28:30.000Z","dependencies_parsed_at":"2023-01-24T13:15:34.339Z","dependency_job_id":null,"html_url":"https://github.com/Nucleus-Inc/ngIpStack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nucleus-Inc%2FngIpStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nucleus-Inc%2FngIpStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nucleus-Inc%2FngIpStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nucleus-Inc%2FngIpStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nucleus-Inc","download_url":"https://codeload.github.com/Nucleus-Inc/ngIpStack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859563,"owners_count":19708863,"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":["angular","ipstack","ipv4","ipv6","ngipstack"],"created_at":"2024-11-08T07:37:34.703Z","updated_at":"2026-02-24T07:30:17.743Z","avatar_url":"https://github.com/Nucleus-Inc.png","language":"JavaScript","readme":"# ngIpStack\n\n[![Build Status](https://travis-ci.org/Nucleus-Inc/ngIpStack.svg?branch=master)](https://travis-ci.org/Nucleus-Inc/ngIpStack)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)\n[![npm](https://img.shields.io/npm/v/ngipstack.svg)](https://www.npmjs.com/package/ngipstack)\n\nThe unofficial [IpStack](https://ipstack.com/) SDK for AngularJS (AKA Angular 1)\n\n## Requirements\n\n- [Angular.js](http://angularjs.org)\n\n## Installation\n\n### Add library\n\nYou can get it on npm.\n\n```shell\n$ npm install --save ngIpStack\n```\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/ngipstack/dist/ngIpStack.min.js\"\u003e\u003c/script\u003e\n```\n### Add dependency\n\n```javascript\nvar app = angular.module('myModule', ['ipStack']);\n```\n## Usage\n\n### Set your api key\n\n```javascript\napp.controller('myController', ['$scope', 'requester',\n    function myController($scope, requester) {\n\n        requester.setApiKey('your-api-key-ip-stack');\n\n        console.log(requester.getApiKey());\n\n    }\n]);\n```\n\n### Get your IP Address\n\n```javascript\napp.controller('myController', ['$scope', 'requester',\n    function myController($scope, requester) {\n\n        requester.setApiKey('your-api-key-ip-stack');\n\n        requester.getIp().then(function(res){\n\n          var myIpAddress = res.data.ip;\n\n          console.log(myIpAddress);\n\n        });\n\n    }\n]);\n```\n\n## Build\n\n```\n$ yarn install\n$ gulp build\n```\n\n### Tests\n\n- Unit:\n - Uses [Karma](http://karma-runner.github.io) + [Jasmine](http://jasmine.github.io/)\n - Files: `specs/*.spec.js`\n\n```\n$ gulp test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleus-inc%2Fngipstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleus-inc%2Fngipstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleus-inc%2Fngipstack/lists"}