Skip to content

Commit 5a48d36

Browse files
committed
Updated README.md
1 parent 49d9c8c commit 5a48d36

File tree

1 file changed

+19
-29
lines changed

1 file changed

+19
-29
lines changed

README.md

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -245,55 +245,45 @@ When looking up an IP address, the response object includes `details.country_nam
245245
```python
246246
>>> import ipinfo
247247
```
248-
249-
* Country Names (`countries`):
250-
**In-memory list** to customize countries.
251248
```python
252-
>>> countries = {
249+
# Country Names (`countries`): In-memory map
250+
countries = {
253251
"BD": "Bangladesh",
254252
"BE": "Belgium",
255253
"BF": "Burkina Faso",
256-
...
254+
# ...
257255
}
258-
```
259-
* EU Countries (`eu_countries`):
260-
**In-memory list** to customize EU countries.
261-
```python
262-
>>> eu_countries = [
256+
257+
# EU Countries (`eu_countries`): In-memory list
258+
eu_countries = [
263259
"IE",
264260
"AT",
265261
"LT",
266-
...
262+
# ...
267263
]
268-
```
269-
* Country Flags (`countries_flags`):
270-
**In-memory map** to customize country flags.
271-
```python
272-
>>> countries_flags = {
264+
265+
# Country Flags (`countries_flags`): In-memory map
266+
countries_flags = {
273267
"AD": {"emoji": "🇦🇩", "unicode": "U+1F1E6 U+1F1E9"},
274268
"AE": {"emoji": "🇦🇪", "unicode": "U+1F1E6 U+1F1EA"},
275269
"AF": {"emoji": "🇦🇫", "unicode": "U+1F1E6 U+1F1EB"},
276-
...
270+
# ...
277271
}
278-
```
279-
* Country Currencies (`countries_currencies`):
280-
**In-memory map** to customize country currencies.
281-
```python
282-
>>> countries_currencies = {
272+
273+
# Country Currencies (`countries_currencies`): In-memory map
274+
countries_currencies = {
283275
"AD": {"code": "EUR", "symbol": ""},
284276
"AE": {"code": "AED", "symbol": "د.إ"},
285277
"AF": {"code": "AFN", "symbol": "؋"},
286-
...
278+
# ...
287279
}
288-
```
289-
* Continents (`continents`):
290-
**In-memory map** to customize continents.
291-
```python
292-
>>> continents = {
280+
281+
# Continents (`continents`): In-memory map
282+
continents = {
293283
"BD": {"code": "AS", "name": "Asia"},
294284
"BE": {"code": "EU", "name": "Europe"},
295285
"BF": {"code": "AF", "name": "Africa"},
296-
...
286+
# ...
297287
}
298288
```
299289
#### Usage:

0 commit comments

Comments
 (0)