Skip to content

Commit

Permalink
[FIX] typos in highlighted code
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano David committed Jul 8, 2019
1 parent 5dfd936 commit 2f943ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions source/howto/mobility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ The result structure is a json list of strings, and an actual outcome
is (shortened for the sake of clarity):


.. code:: json
.. code-block:: json
{
"_t": "it.bz.idm.bdp.dto.emobility.EchargingStationDto",
Expand All @@ -111,7 +111,7 @@ is (shortened for the sake of clarity):
"paymentInfo": "https://www.alperiaenergy.eu/smart-mobility/punti-di-ricarica.html",
"accessType": "PUBLIC",
"address": "CLUB MAX - Fischzuchtweg - Via del Laghetto"
},
}
{
"_t": "it.bz.idm.bdp.dto.emobility.EchargingStationDto",
"id": "DW-000027",
Expand All @@ -132,7 +132,7 @@ is (shortened for the sake of clarity):
],
"address": "Strada al Plan Dessora",
"reservable": true
},
}
As you see from the example, many of the e-charging station's metadata
is shared by all of them including the (unique) ID, name, location
Expand Down
8 changes: 4 additions & 4 deletions source/howto/tourism/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Example Calls

.. rubric:: EX1. Why does this query return no result?

.. code:: http
.. code::
http://tourism.opendatahub.bz.it/api/Gastronomy?pagesize=3&categorycodefilter=0&locfilter=reg268
Because there is no value :strong:`reg268` for `locfilter`. You can
return valid IDs to be used as locfilter using this call:

.. code:: http
.. code::
http://tourism.opendatahub.bz.it/api/RegionReduced?language=it
Expand All @@ -33,7 +33,7 @@ An example result for this call is:
{
"Id": "D2633A26C24E11D18F1B006097B8970B",
"Name": "Alta Badia"
},
}
Therefore, use the ID :strong:`regD2633A26C24E11D18F1B006097B8970B` in
`locfilter` to search for Gastronomy in the Alta Badia region.
Expand Down Expand Up @@ -99,7 +99,7 @@ retrieve its ID, which is:
{
"Id": "79CBD79551C911D18F1400A02427D15E",
"Name": "Lana"
},
}
Then pass the string :strong:`fra79CBD79551C911D18F1400A02427D15E` as
`locfilter`::
Expand Down

0 comments on commit 2f943ab

Please sign in to comment.