Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 78e17f5

Browse files
bkiselkagkalpak
authored andcommitted
docs(guide/Conceptual Overview): use exchangeratesapi.io
As fixer.io introduced an API key and thus a limitation of calls (see https://github.com/fixerAPI/fixer#readme ), change https://api.fixer.io to https://api.exchangeratesapi.io instead, which is "designed and tested to handle thousands of request per second" and has "built in Fixer.io compatibility so you can keep all the libraries you already like and use daily" (from https://api.exchangeratesapi.io ). The idea is from fixerAPI/fixer#107 fixes #16807 Closes #16808
1 parent ba6f477 commit 78e17f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/concepts.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Right now, the `InvoiceController` contains all logic of our example. When the a
186186
is a good practice to move view-independent logic from the controller into a
187187
<a name="service">{@link services service}</a>, so it can be reused by other parts
188188
of the application as well. Later on, we could also change that service to load the exchange rates
189-
from the web, e.g. by calling the [Fixer.io](http://fixer.io) exchange rate API, without changing the controller.
189+
from the web, e.g. by calling the [exchangeratesapi.io](https://exchangeratesapi.io) exchange rate API, without changing the controller.
190190

191191
Let's refactor our example and move the currency conversion into a service in another file:
192192

@@ -300,7 +300,7 @@ to something shorter like `a`.
300300

301301
## Accessing the backend
302302

303-
Let's finish our example by fetching the exchange rates from the [Fixer.io](http://fixer.io) exchange rate API.
303+
Let's finish our example by fetching the exchange rates from the [exchangeratesapi.io](https://exchangeratesapi.io) exchange rate API.
304304
The following example shows how this is done with AngularJS:
305305

306306
<example name="guide-concepts-3" ng-app-included="true">
@@ -331,7 +331,7 @@ The following example shows how this is done with AngularJS:
331331
};
332332

333333
var refresh = function() {
334-
var url = 'https://api.fixer.io/latest?base=USD&symbols=' + currencies.join(",");
334+
var url = 'https://api.exchangeratesapi.io/latest?base=USD&symbols=' + currencies.join(",");
335335
return $http.get(url).then(function(response) {
336336
usdToForeignRates = response.data.rates;
337337
usdToForeignRates['USD'] = 1;

0 commit comments

Comments
 (0)