Skip to content

Commit

Permalink
Merge pull request #154 from noi-techpark/issue-150
Browse files Browse the repository at this point in the history
Issue 150
  • Loading branch information
bertolla committed Jul 9, 2020
2 parents fe3b31b + 0990f91 commit 178249a
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 52 deletions.
4 changes: 2 additions & 2 deletions source/apps/hackthealps2018.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Projects developed during `HackTheAlps 2018
<http://hackathon.bz.it/edition/september-2018>`_.
<https://hackathon.bz.it/edition/september-2018>`_.

* `Activity Crystal
<http://hackathon.bz.it/project/activity-crystal>`_ goal of the
<https://hackathon.bz.it/project/activity-crystal>`_ goal of the
project was to build something simple & fun that gets people off
their couches.

Expand Down
10 changes: 5 additions & 5 deletions source/apps/sfscon2019.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Projects developed during `NOI Hackathon SFScon Edition 2019
<http://hackathon.bz.it/edition/november-2018>`_.
<https://hackathon.bz.it/edition/november-2018>`_.

* `Greenify <http://hackathon.bz.it/project/greenify>`_ is a Web
* `Greenify <https://hackathon.bz.it/project/greenify>`_ is a Web
Component and user interface intended for tourists and
hotels interested in sustainable environment. The authors strive for
South Tyrol to become an environmental friendly region, therefore
this Web Component classify hotels and assign them scores and
certifications of their environmental friendliness.
* `The Vecia <http://hackathon.bz.it/project/the-vecia>`_ follows
* `The Vecia <https://hackathon.bz.it/project/the-vecia>`_ follows
Jane's journey in South Tyrol and shows a web component to enhance
sustainable tourism.
* `Sharing is Caring <http://hackathon.bz.it/project/green-mobility>`_
* `Sharing is Caring <https://hackathon.bz.it/project/green-mobility>`_
consists of a web component that allows tourist to access easily
information about public transportation in South Tyrol and allow
them to move around without using their own car.
* `Green Speed <http://hackathon.bz.it/project/green-speed>`_ gather
* `Green Speed <https://hackathon.bz.it/project/green-speed>`_ gather
information from different sources to help travelers in South Tyrol
to get directions using public transportation and provide them with
the actual carbon footprint.
19 changes: 9 additions & 10 deletions source/apps/summerlido2018.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
Projects developed during the `Summer Lido Hackathon 2018
<http://hackathon.bz.it/edition/summer-2018>`_
<https://hackathon.bz.it/edition/summer-2018>`_

* :hp:`South Tyrol Crime Scene (STCS) <south-tyrol-crime-scene-stcs->`
* https://hackathon.bz.it/project/south-tyrol-crime-scene-stcs-
is an interactive thriller combining traditional storytelling and
augmented reality.

* :hp:`SAMA - Smart Application Medical Appointment
<sama---smart-application-medical-appointment>` is a prototype for

* https://hackathon.bz.it/project/sama---smart-application-medical-appointment is a prototype for
the booking of appointments in the South Tyrolean hospitals.

* :hp:`IFC Converter and AIVRTour <ifc-converter-and-aivrtour>` is on
* https://hackathon.bz.it/project/ifc-converter-and-aivrtour is on
the one side a converter of 3D reality data formats (form ifc to
dae/obj), while on the other side it applies AI to virtual reality
for museums, real estates, and on tourism.

* :hp:`Travel & Win <travel-win>` is an app for South Tyrol tourists
* https://hackathon.bz.it/project/travel-win is an app for South Tyrol tourists
that can collect points to receive gifts.

* :hp:`Memorama <ugo>` Get your pictures printed on paper and
* https://hackathon.bz.it/project/ugo Get your pictures printed on paper and
delivered to your hotel.

* :hp:`Sportmap.net <sportmap.net>` Creation of a OpenData map with
* https://hackathon.bz.it/project/sportmap.net Creation of a OpenData map with
trendy sport locations, courses, & events.

* :hp:`Game of Alps <game-of-alps>` Get unique experiences by
* https://hackathon.bz.it/project/game-of-alps Get unique experiences by
completing challenges around South Tyrol. Gather crystals and
collect rewards from local tourist offices. Additionally get
discounts for restaurants and entrance tickets.
6 changes: 3 additions & 3 deletions source/apps/summerlido2019.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Projects developed during the `Summer Lido Hackathon 2019
<http://hackathon.bz.it/edition/summer-2019>`_
<https://hackathon.bz.it/edition/summer-2019>`_

* `WeMap <http://hackathon.bz.it/project/wemap>`_ Lit element
* `WeMap <https://hackathon.bz.it/project/wemap>`_ Lit element
component for display opendata on google maps.
* `Tito <http://hackathon.bz.it/project/tito>`_ is an app and
* `Tito <https://hackathon.bz.it/project/tito>`_ is an app and
web component that analyses historical data about trips made in
South Tyrol and suggests the best one to allow people to share them
and plan to travel together along them.
2 changes: 1 addition & 1 deletion source/apps/verticalinnovation2018.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Projects developed during `Vertical Innovation 2018
<http://hackathon.bz.it/edition/november-2018>`_.
<https://hackathon.bz.it/edition/november-2018>`_.

* `Smart Bivouac <https://hackathon.bz.it/project/smart-bivouac>`_ is
the project that won the :strong:`Cassa di Risparmio / Sparkasse
Expand Down
9 changes: 1 addition & 8 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,8 @@
#facility to shorten/change external links to datasets - useful if hosting changes

extlinks = { 'sasabus': ('http://sasabus.org/%s', None),
'integreen':
('http://ipchannels.integreen-life.bz.it/%s', None),
'ig-swagger':
('http://ipchannels.integreen-life.bz.it/%s/swagger-ui.html', None),

'stinfo':
('http://tourism.opendatahub.bz.it/swagger/ui/index#%s', None),
'iterconcept': ('https://en.cppreference.com/w/cpp/experimental/ranges/iterator/%s', 'std::'),
'hp': ('https://hackathon.bz.it/project/%s', None)
('http://tourism.opendatahub.bz.it/swagger/ui/index#%s', None)
}

numfig = True
Expand Down
13 changes: 6 additions & 7 deletions source/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,12 @@ data by using a browser:

#. Access the :strong:`Swagger interface` of the datasets in the
Mobility domain, located at
https://mobility.api.opendatahub.bz.it/. Like in the case
of the tourism' Swagger interface, you can learn REST API call for
that domain and fetch data for your application. There is a
dedicated howto to learn more how to interact with this interface:
ref:`get-started-mobility`. More possibility to interact with the
Mobility domain datasets are described in the :ref:`dedicated howto
<get-started-mobility>`
https://mobility.api.opendatahub.bz.it/. Like in the case of the
tourism' Swagger interface, you can learn REST API call for that
domain and fetch data for your application. More possibilities to
interact with the Mobility domain datasets and the description of
the new APIv2 are described in the :ref:`dedicated howto
<get-started-mobility>`.

#. Open the :strong:`Analytics for Mobility` web page, at
https://analytics.opendatahub.bz.it/ This portal uses data in the
Expand Down
2 changes: 1 addition & 1 deletion source/guidelines/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ this summary.
last version.
* The source code :strong:`must be documented` according to the
`Javadoc style guide and tags
<https://www.oracle.com/technetwork/java/javase/tech/index-137868.html>`_.
<https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html>`_.
* Java components of |odh| can be developed as :strong:`libraries`,
:strong:`standalone applications`, or :strong:`server applications`
running in Apache Tomcat.
Expand Down
2 changes: 1 addition & 1 deletion source/guidelines/platform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ _____________

Source code must be commented following the established `Javadoc style
guide and tags
<https://www.oracle.com/technetwork/java/javase/tech/index-137868.html>`_.
<https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html>`_.

Complex section of the code (for example not-trivial algorithms) must have
dedicated comment sections.
Expand Down
15 changes: 7 additions & 8 deletions source/howto/mobility/mobility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ South Tyrol and their status, including historical data and usage.
Output JSON, mime-type application/json
E-mail contact |contact|
API version :strike:`v1` |deprecated|
Swagger URL :integreen:`EchargingFrontEnd`
Swagger URL https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/
============== ========================================================


Invoking the API
~~~~~~~~~~~~~~~~

Expand All @@ -36,7 +35,7 @@ The API calls shown here can be used with other datasets of the
:ref:`mobility domain <mobility-datasets>`.

You can find all the API's defined methods and documentation at the
URL :ig-swagger:`EchargingFrontEnd`.
URL https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/.

The two most basic REST calls are carried out by the methods
:command:`get-stations` and :command:`get-station-details`.
Expand All @@ -52,15 +51,15 @@ There are two possibilities to retrieve the data with the API call:

.. parsed-literal::
:integreen:`emobility/rest/get-stations`
https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/get_v1_emobility_rest_get_stations
2. Using a command line with a tool like :command:`curl` or
:command:`wget`:

.. parsed-literal::
curl -X GET --header 'Accept: application/json' '\ :integreen:`emobility/rest/get-stations`'
curl -X GET --header 'Accept: application/json' '\
https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/get_v1_emobility_rest_get_stations
The result structure is a json list of strings, and an actual outcome
is (shortened for the sake of clarity):
Expand Down Expand Up @@ -93,14 +92,14 @@ dataset. Like the previous method, two method can be used for the call:

.. parsed-literal::
:integreen:`emobility/rest/get-station-details`
https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/get_v1_emobility_rest_get_station_details
2. Using a command line with a tool like :command:`curl` or
:command:`wget`:

.. parsed-literal::
curl -X GET --header 'Accept: application/json' '\ :integreen:`emobility/rest/get-station-details`'
curl -X GET --header 'Accept: application/json' '\ 'https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/get_v1_emobility_rest_get_station_details
The result structure is a json list of strings, and an actual outcome
Expand Down
4 changes: 2 additions & 2 deletions source/howto/mobility/mobilityanalytics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ How to Access Analytics Data in the Mobility Domain
===================================================

This howto guides you in browsing and querying data from the Mobility
domain using the https://analytics.mobility.bz.it/ web site.
domain using the https://analytics.opendatahub.bz.it/ web site.

.. introduction
Introduction
------------

The website https://analytics.mobility.bz.it/ gathers data from
The website https://analytics.opendatahub.bz.it/ gathers data from
datasets in the mobility domain and uses them to draw two types of
diagram: a :ref:`chart <charts>` using historical data and an
interactive :ref:`map <mapoverview>` that show where are located the
Expand Down
7 changes: 3 additions & 4 deletions source/howto/postman.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ mobility and tourism domains.

In the remainder of this tutorial, we will use as example the
:ref:`E-chargin station <echarging-dataset>` dataset, located at
http://ipchannels.integreen-life.bz.it/emobility/swagger-ui.html for
the mobility domain and the :ref:`Accommodation
<accommodation-dataset>` dataset, located at
:stinfo:`Accommodation`.
https://swagger.opendatahub.bz.it/?url=https://mobility.api.opendatahub.bz.it/v2/apispec#/Mobility%20V1%20-%20Emobility/
for the mobility domain and the :ref:`Accommodation
<accommodation-dataset>` dataset, located at :stinfo:`Accommodation`.


Initial Setup
Expand Down

0 comments on commit 178249a

Please sign in to comment.