{"id":18615084,"url":"https://github.com/andrewjbateman/angular-app-crypto","last_synced_at":"2026-04-20T19:02:46.724Z","repository":{"id":41805733,"uuid":"155542861","full_name":"AndrewJBateman/angular-app-crypto","owner":"AndrewJBateman","description":":clipboard: Angular app to get crypto currency price data from a CryptoCompare API. ","archived":false,"fork":false,"pushed_at":"2023-01-07T04:00:07.000Z","size":3707,"stargazers_count":1,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T01:34:38.099Z","etag":null,"topics":["angular","angular13","api","crypto","cryptocompare","cryptocurrency","css","html5","mapping","pipelines","rxjs7","tutorial-code","visual-studio-code"],"latest_commit_sha":null,"homepage":"https://AndrewJBateman.github.io/angular-app-crypto/","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/AndrewJBateman.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-10-31T11:00:17.000Z","updated_at":"2021-12-22T14:20:48.000Z","dependencies_parsed_at":"2023-02-06T11:16:50.777Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-app-crypto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-app-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-app-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-app-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-app-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-app-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-app-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-app-crypto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","angular13","api","crypto","cryptocompare","cryptocurrency","css","html5","mapping","pipelines","rxjs7","tutorial-code","visual-studio-code"],"created_at":"2024-11-07T03:28:05.041Z","updated_at":"2026-04-20T19:02:46.692Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Angular App Crypto\n\n* App to get crypto currency price data from a [CryptoCompare](https://min-api.cryptocompare.com/) API.\n* Code from [Gary Simon at DesignCourse](https://www.youtube.com/channel/UCVyRiMvfUNMA1UPlDPzG5Ow) - see [:clap: Inspiration](#clap-inspiration) below.\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/angular-app-crypto?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-app-crypto?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-app-crypto?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-app-crypto?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular App Crypto](#zap-angular-app-crypto)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Angular httpClient used to get API data\n* Data displayed using one-way data-binding and an \\*ngFor loop\n* Separate `data.service.ts` file used to get API price data. This data is subscribed to in `app.component.ts`\n\n## :camera: Screenshots\n\n![Example screenshot](./img/crypto-euro.png).\n\n## :signal_strength: Technologies\n\n* [Angular v13](https://angular.io/)\n* [RxJS Library v7](https://angular.io/guide/rx-library) used to [subscribe](http://reactivex.io/documentation/operators/subscribe.html) to the [observable](http://reactivex.io/documentation/observable.html)\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`.\n* Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## :computer: Code Examples\n\n* `data.service.ts` using httpClient service with a `getPrices()` function to get crypto currency details from the API.\n\n```typescript\n@Injectable()\nexport class DataService {\n  result: any;\n  currencyCode: string;\n  display: string;\n\n  constructor(private http: HttpClient) {}\n\n  // function to get crypto prices in euro from the API - no API key required.\n  getPrices() {\n    const fsymsList =\n      \"BTC,XRP,BCH,ETH,ZEC,EOS,XMR,ETC,LTC,DASH,QTUM,NEO,XLM,TRX,ADA,BTS,USDT,XUC,PAX,IOT\";\n    return this.http\n      .get(\n        \"https://min-api.cryptocompare.com/data/pricemulti?fsyms=\" +\n          fsymsList +\n          \"\u0026tsyms=EUR\"\n      )\n      .pipe(map((result) =\u003e (this.result = result)));\n  }\n}\n```\n\n## :cool: Features\n\n* Angular httpClient used to get data from an external API.\n* [Angular currency pipe](https://angular.io/api/common/CurrencyPipe) \u0026 [rxjs map operator](https://angular.io/guide/rx-library) used to extract currency data and display it to the correct format.\n* Dependencies updated with 0 dependency vulnerabilities.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* [Angular CryptoCurrency Tutorial - Display Exchange Data with an API](https://www.youtube.com/watch?v=U3INaC0leXg\u0026t=589s)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-app-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-app-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-app-crypto/lists"}