{"id":23114369,"url":"https://github.com/bkardol/angular-odata","last_synced_at":"2026-04-30T10:32:53.876Z","repository":{"id":57161252,"uuid":"177871848","full_name":"bkardol/angular-odata","owner":"bkardol","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-31T20:44:49.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T09:16:12.010Z","etag":null,"topics":["angular","angular6","angular7","odata","odata-client","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/bkardol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-26T21:32:05.000Z","updated_at":"2019-03-31T20:44:51.000Z","dependencies_parsed_at":"2022-09-08T09:11:13.535Z","dependency_job_id":null,"html_url":"https://github.com/bkardol/angular-odata","commit_stats":null,"previous_names":["snorvisable/angular-odata"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkardol%2Fangular-odata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkardol%2Fangular-odata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkardol%2Fangular-odata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkardol%2Fangular-odata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkardol","download_url":"https://codeload.github.com/bkardol/angular-odata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103305,"owners_count":20884023,"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","angular6","angular7","odata","odata-client","typescript"],"created_at":"2024-12-17T03:29:48.732Z","updated_at":"2026-04-30T10:32:48.825Z","avatar_url":"https://github.com/bkardol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AngularOdata\n\nThis library exposes a service for easy communication with OData endpoints. Use it to retrieve and manipulate data through OData endpoints.\n\n\n# Quick set-up\n1. Add @snorvisable/angular-odata to the dependencies in the project.json file.\n`\"@snorvisable/angular-odata\": \"0.2.2\"`\n2. Import the `AngularODataModule` in app.module.ts.\n3. Create a new class extending `ODataConfig` and add it to the providers. Replace rootUrl with the root url of the API you'd like to query:\n```javascript\nexport class MyODataConfig extends ODataConfig {\n  rootURL = 'https://services.odata.org/TripPinRESTierService';\n}\n```\n\n```javascript\nproviders: [\n    { provide: ODataConfig, useClass: MyODataConfig }\n  ],\nimports: [\n    AngularODataModule\n  ]\n```\n\n\n# Usage example\n```javascript\nexport class AppComponent implements OnInit {\n  title = 'My Awesome App';\nconstructor(private factory: ODataFactory) {\n\n}\n\n  ngOnInit(): void {\n    // Create a service with the injected factory.\n    const artistsService = this.factory.CreateService\u003cArtist\u003e(\"artists\");\n    \n    // Retrieve all artists and log the artists to the console.\n    artistsService.query().getCollection().subscribe(artists =\u003e console.log(artists));\n  }\n}\n```\n\n\nVisit the [wiki](https://github.com/Snorvisable/angular-odata/wiki) if you want to know more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkardol%2Fangular-odata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkardol%2Fangular-odata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkardol%2Fangular-odata/lists"}