Skip to content

Commit 1affb14

Browse files
authored
even more link fixes (#7148)
* even more link fixes * add remaining exchangerates items
1 parent 67b01e7 commit 1affb14

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

airbyte-cdk/python/docs/tutorials/cdk-tutorial-any-percent/cdk-speedrun.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ In your `source.py` file, add this `ExchangeRates` class. This stream represents
121121
from airbyte_cdk.sources.streams.http import HttpStream
122122

123123
class ExchangeRates(HttpStream):
124-
url_base = "https://api.ratesapi.io/"
124+
url_base = "https://api.exchangeratesapi.io/"
125125

126126
# Set this as a noop.
127127
primary_key = None
@@ -153,7 +153,7 @@ python main.py discover --config sample_files/config.json
153153
Update your `ExchangeRates` class to implement the required functions as follows:
154154
```python
155155
class ExchangeRates(HttpStream):
156-
url_base = "https://api.ratesapi.io/"
156+
url_base = "https://api.exchangeratesapi.io/"
157157

158158
primary_key = None
159159

airbyte-cdk/python/docs/tutorials/cdk-tutorial-python-http/5-declare-schema.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We'll begin by creating a stream to represent the data that we're pulling from t
1010

1111
```python
1212
class ExchangeRates(HttpStream):
13-
url_base = "https://api.ratesapi.io/"
13+
url_base = "https://api.exchangeratesapi.io/"
1414

1515
# Set this as a noop.
1616
primary_key = None

airbyte-cdk/python/docs/tutorials/cdk-tutorial-python-http/6-read-data.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Let's begin by pulling data for the last day's rates by using the `/latest` endp
3636

3737
```python
3838
class ExchangeRates(HttpStream):
39-
url_base = "https://api.ratesapi.io/"
39+
url_base = "https://api.exchangeratesapi.io/"
4040

4141
primary_key = None
4242

@@ -133,7 +133,7 @@ from datetime import datetime, timedelta
133133

134134

135135
class ExchangeRates(HttpStream):
136-
url_base = "https://api.ratesapi.io/"
136+
url_base = "https://api.exchangeratesapi.io/"
137137
cursor_field = "date"
138138
primary_key = "date"
139139

airbyte-cdk/python/docs/tutorials/http_api_source.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Let's create a class in `source.py` which extends `HttpStream`. You'll notice th
227227
We'll begin by creating a stream to represent the data that we're pulling from the Exchange Rates API:
228228
```python
229229
class ExchangeRates(HttpStream):
230-
url_base = "https://api.ratesapi.io/"
230+
url_base = "https://api.exchangeratesapi.io/"
231231

232232
def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]:
233233
# The API does not offer pagination, so we return None to indicate there are no more pages in the response
@@ -320,7 +320,7 @@ Let's begin by pulling data for the last day's rates by using the `/latest` endp
320320

321321
```python
322322
class ExchangeRates(HttpStream):
323-
url_base = "https://api.ratesapi.io/"
323+
url_base = "https://api.exchangeratesapi.io/"
324324

325325
def __init__(self, base: str, **kwargs):
326326
super().__init__()
@@ -425,7 +425,7 @@ from datetime import datetime, timedelta
425425

426426

427427
class ExchangeRates(HttpStream):
428-
url_base = "https://api.ratesapi.io/"
428+
url_base = "https://api.exchangeratesapi.io/"
429429
cursor_field = "date"
430430

431431
def __init__(self, base: str, start_date: datetime, **kwargs):

airbyte-integrations/bases/base-python/docs/tutorials/http_api_source.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Let's create a class in `source.py` which extends `HttpStream`. You'll notice th
227227
We'll begin by creating a stream to represent the data that we're pulling from the Exchange Rates API:
228228
```python
229229
class ExchangeRates(HttpStream):
230-
url_base = "https://api.ratesapi.io/"
230+
url_base = "https://api.exchangeratesapi.io/"
231231

232232
def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]:
233233
# The API does not offer pagination, so we return None to indicate there are no more pages in the response
@@ -320,7 +320,7 @@ Let's begin by pulling data for the last day's rates by using the `/latest` endp
320320

321321
```python
322322
class ExchangeRates(HttpStream):
323-
url_base = "https://api.ratesapi.io/"
323+
url_base = "https://api.exchangeratesapi.io/"
324324

325325
def __init__(self, base: str, **kwargs):
326326
super().__init__()
@@ -425,7 +425,7 @@ from datetime import datetime, timedelta
425425

426426

427427
class ExchangeRates(HttpStream):
428-
url_base = "https://api.ratesapi.io/"
428+
url_base = "https://api.exchangeratesapi.io/"
429429
cursor_field = "date"
430430

431431
def __init__(self, base: str, start_date: datetime, **kwargs):

airbyte-integrations/connectors/source-exchange-rates/source_exchange_rates/spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"documentationUrl": "https://docs.airbyte.io/integrations/sources/exchangeratesapi",
33
"connectionSpecification": {
44
"$schema": "http://json-schema.org/draft-07/schema#",
5-
"title": "ratesapi.io Source Spec",
5+
"title": "exchangeratesapi.io Source Spec",
66
"type": "object",
77
"required": ["start_date", "access_key"],
88
"additionalProperties": false,

airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
class ExchangeRates(HttpStream):
17-
url_base = "https://api.ratesapi.io/"
17+
url_base = "https://api.exchangeratesapi.io/"
1818
cursor_field = "date"
1919
primary_key = "date"
2020

docs/connector-development/tutorials/cdk-speedrun-deprecated.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ In your `source.py` file, add this `ExchangeRates` class. This stream represents
129129
from airbyte_cdk.sources.streams.http import HttpStream
130130

131131
class ExchangeRates(HttpStream):
132-
url_base = "https://api.ratesapi.io/"
132+
url_base = "https://api.exchangeratesapi.io/"
133133

134134
# Set this as a noop.
135135
primary_key = None
@@ -163,7 +163,7 @@ Update your `ExchangeRates` class to implement the required functions as follows
163163

164164
```python
165165
class ExchangeRates(HttpStream):
166-
url_base = "https://api.ratesapi.io/"
166+
url_base = "https://api.exchangeratesapi.io/"
167167

168168
primary_key = None
169169

docs/connector-development/tutorials/cdk-speedrun.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ In your `source.py` file, add this `Pokemon` class. This stream represents an en
130130

131131
```python
132132
class Pokemon(HttpStream):
133-
url_base = "https://api.ratesapi.io/"
133+
url_base = "https://api.exchangeratesapi.io/"
134134

135135
# Set this as a noop.
136136
primary_key = None

docs/connector-development/tutorials/cdk-tutorial-python-http/5-declare-schema.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We'll begin by creating a stream to represent the data that we're pulling from t
1010

1111
```python
1212
class ExchangeRates(HttpStream):
13-
url_base = "https://api.ratesapi.io/"
13+
url_base = "https://api.exchangeratesapi.io/"
1414

1515
# Set this as a noop.
1616
primary_key = None

docs/connector-development/tutorials/cdk-tutorial-python-http/6-read-data.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Let's begin by pulling data for the last day's rates by using the `/latest` endp
3636

3737
```python
3838
class ExchangeRates(HttpStream):
39-
url_base = "https://api.ratesapi.io/"
39+
url_base = "https://api.exchangeratesapi.io/"
4040

4141
primary_key = None
4242

@@ -133,7 +133,7 @@ from datetime import datetime, timedelta
133133

134134

135135
class ExchangeRates(HttpStream):
136-
url_base = "https://api.ratesapi.io/"
136+
url_base = "https://api.exchangeratesapi.io/"
137137
cursor_field = "date"
138138
primary_key = "date"
139139

0 commit comments

Comments
 (0)