Question: Does someone know how to get specific data when working with JavaScript fetch?
I'm working with: <https://apiv2.bitcoinaverage.com/constants/exchangerates/global>
and not sure how to just pick 1 currency. I have a `forEach` loop that shows all, but unsure how to just pick one to show.
to show all I use:

```
${data.rates[rate].name}
${data.rates[rate].rate}<br>

```

When I try to just show one I tried with a few different, but I feel like this makes the most sense:

```
${data.rates[rate].name == dkk}
${data.rates[rate].rate}<br>

```

But it does nothing. Does someone know how to specify when you want to only show one set of data?

Answer: 
You can `join` the values that are not `None`:

```
keys = ["[zipcode]", "[street_name]", "[primary_number]",
        "[secondary_number]", "[street_predirection]", "[street_postdirection]",
        "[street_suffix]"]

d['AddressStr'] = ' '.join([d[key] for key in keys if d[key] is not None])

```
You could use the str() method and use the property that None behaves as false on a boolean check:

```
d['AddressStr'] = str(d["[zipcode]"] or '') + \
str(d["[street_name]"] or '') + \
str(d["[primary_number]"] or '') + \
str(d["[secondary_number]"] or '') + \
str(d["[street_predirection]"] or '') + \
str(d["[street_postdirection]"] or '') + \
str(d["[street_suffix]"] or '')

```