{"id":18096010,"url":"https://github.com/carlo-colombo/angular-foursquare","last_synced_at":"2025-04-13T10:04:46.377Z","repository":{"id":58233296,"uuid":"9821694","full_name":"carlo-colombo/angular-foursquare","owner":"carlo-colombo","description":"foursquare module for angular","archived":false,"fork":false,"pushed_at":"2013-06-23T11:48:20.000Z","size":162,"stargazers_count":26,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T13:17:55.048Z","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/carlo-colombo.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":"2013-05-02T20:11:58.000Z","updated_at":"2024-05-21T13:31:20.000Z","dependencies_parsed_at":"2022-08-30T22:31:27.879Z","dependency_job_id":null,"html_url":"https://github.com/carlo-colombo/angular-foursquare","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/carlo-colombo%2Fangular-foursquare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fangular-foursquare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fangular-foursquare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Fangular-foursquare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlo-colombo","download_url":"https://codeload.github.com/carlo-colombo/angular-foursquare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695437,"owners_count":21146954,"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-31T19:12:12.757Z","updated_at":"2025-04-13T10:04:46.357Z","avatar_url":"https://github.com/carlo-colombo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-foursquare\n==================\nfoursquare module for angular\n###Configuration\nLoad `ngFoursquare` module in your app\n\nInitialize `FoursquareProvider` token with the oauth token from [Foursquare](https://developer.foursquare.com/overview/auth.html)\n```javascript\n    myapp.config(function(FoursquareProvider){\n        FoursquareProvider.token = foursquare_oauth_token\n    })\n```\n###Use\nangular-foursquare expose a Foursquare instance with rest resource (ngResource) `Users`, `Checkins` and `Venues`\n```javascript\n$scope.user = Foursquare.Users.get({\n    userId: 'self' \n})\n```\nan helper method is exposed to search venues using a `Geoposition` object as argument (accepting also a promise of a `Geoposition`)\n```javascript\nnavigator.geolocation.getCurrentPosition(function (pos) {\n    $scope.$apply(function () {\n        $scope.venues = Foursquare.search(pos) \n  })\n})\n```\n\n###Available methods\n- Users#get\n- Users#lists\n- Venues#search\n- Venues#get\n- Checkins#add\n- Checkins#get\n- Lists#add\n- Lists#get\n- search\n\nTest application\n================\nhttp://carlo-colombo.github.io/angular-foursquare/test-app/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Fangular-foursquare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlo-colombo%2Fangular-foursquare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Fangular-foursquare/lists"}