using System.Linq; using Newtonsoft.Json; using NUnit.Framework; using TINK.Repository.Response.Stations; namespace TestShareeLib.Repository.Response.Stations { [TestFixture] public class TestStationsAvailableResponse { [Test] public void TestStationsAvailableBikesOccupiedBikes() { var response = JsonConvert.DeserializeObject(TestStationAvailalbeResponseCopriVer4_1_23_03_alpha); Assert.That( response.bikes_occupied.Count, Is.EqualTo(2)); } [Test] public void TestStationsAvailableAvailableBikes() { var response = JsonConvert.DeserializeObject(TestStationAvailalbeResponseCopriVer4_1_23_03); Assert.That( response.stations["FR101"].bike_count, Is.EqualTo("11")); Assert.That( response.stations["FR101"].station_type.FirstOrDefault(x => x.Key == "Citybike").Value.bike_count, Is.EqualTo("1")); Assert.That( response.stations["FR101"].station_type.FirstOrDefault(x => x.Key == "Citybike").Value.bike_group, Is.EqualTo("FR300103")); Assert.That( response.stations["FR101"].station_type.FirstOrDefault(x => x.Key == "Cargobike").Value.bike_count, Is.EqualTo("10")); Assert.That( response.stations["FR101"].station_type.FirstOrDefault(x => x.Key == "Cargobike").Value.bike_group, Is.EqualTo("FR300101")); } /// /// Holds a a response on stations available response. /// private const string TestStationAvailalbeResponseCopriVer4_1_23_03 = @"{ ""clearing_cache"" : ""0"", ""tariff_info_html"" : ""site/tariff_info.html"", ""aowner"" : ""186"", ""bike_info_html"" : ""site/bike_info_sharee_1.html"", ""last_used_operator"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"" }, ""bikes_occupied"" : {}, ""user_group"" : [], ""new_authcoo"" : ""0"", ""agb_checked"" : ""1"", ""uri_primary"" : ""https://shareeapp-primary.copri.eu"", ""authcookie"" : ""5781_f172cf59108fe53e7524c841847fee69_shoo0faiNg"", ""user_tour"" : [], ""impress_html"" : ""site/impress_1.html"", ""response_state"" : ""OK, nothing todo"", ""user_id"" : ""ohauff@posteo.de"", ""agb_html"" : ""site/agb_sharee_2.html"", ""merchant_id"" : ""shoo0faiNg"", ""apiserver"" : ""https://shareeapp-primary.copri.eu"", ""project_id"" : ""Freiburg"", ""init_map"" : { ""center"" : { ""latitude"" : ""47.976634"", ""longitude"" : ""7.825490"" }, ""radius"" : ""2.9"" }, ""privacy_html"" : ""site/privacy_sharee_2.html"", ""debuglevel"" : ""72"", ""copri_version"" : ""4.1.23.03"", ""lang"" : ""de"", ""stations"" : { ""FR105"" : { ""authed"" : ""1"", ""bike_count"" : ""0"", ""station"" : ""FR105"", ""gps_radius"" : ""50"", ""capacity"" : ""1"", ""cached"" : ""1"", ""operator_data"" : { ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"" }, ""withpub"" : ""0"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""gps"" : { ""longitude"" : ""7.973855"", ""latitude"" : ""47.927738"" }, ""station_type"" : { ""Cargobike"" : { ""bike_count"" : ""0"", ""bike_group"" : ""FR300101"" } }, ""station_group"" : [ ""FR300101"" ], ""description"" : ""Contributor-Station Rainer"", ""state"" : ""available"" }, ""FR107"" : { ""station"" : ""FR107"", ""capacity"" : ""2"", ""gps_radius"" : ""50"", ""withpub"" : ""0"", ""cached"" : ""1"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"", ""operator_email"" : ""hotline@sharee.bike"" }, ""bike_count"" : ""0"", ""authed"" : ""1"", ""state"" : ""available"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""gps"" : { ""longitude"" : ""7.888761798157405"", ""latitude"" : ""47.98830177263789"" }, ""station_type"" : { ""Cargobike"" : { ""bike_group"" : ""FR300101"", ""bike_count"" : ""0"" } }, ""description"" : ""Contributor-Station Svenja"", ""station_group"" : [ ""FR300101"" ] }, ""BVB9001"" : { ""state"" : ""available"", ""gps"" : { ""latitude"" : ""48.004394"", ""longitude"" : ""7.840146"" }, ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""description"" : ""Unicarré"", ""station_group"" : [ ""BVB300101"" ], ""station_type"" : { ""Cargobike"" : { ""bike_count"" : ""2"", ""bike_group"" : ""BVB300101"" } }, ""gps_radius"" : ""75"", ""capacity"" : ""2"", ""station"" : ""BVB9001"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""cached"" : ""1"", ""bike_count"" : ""2"", ""authed"" : ""1"" }, ""BVB9002"" : { ""station"" : ""BVB9002"", ""gps_radius"" : ""75"", ""capacity"" : ""2"", ""cached"" : ""1"", ""operator_data"" : { ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"" }, ""withpub"" : ""0"", ""authed"" : ""1"", ""bike_count"" : ""2"", ""state"" : ""available"", ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""gps"" : { ""latitude"" : ""48.005352"", ""longitude"" : ""7.823005"" }, ""station_type"" : { ""Cargobike"" : { ""bike_group"" : ""BVB300101"", ""bike_count"" : ""2"" } }, ""description"" : ""Idinger-Hof"", ""station_group"" : [ ""BVB300101"" ] }, ""FR102"" : { ""cached"" : ""1"", ""operator_data"" : { ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"" }, ""withpub"" : ""0"", ""station"" : ""FR102"", ""capacity"" : ""1"", ""gps_radius"" : ""50"", ""authed"" : ""1"", ""bike_count"" : ""0"", ""state"" : ""available"", ""station_type"" : { ""Cargobike"" : { ""bike_count"" : ""0"", ""bike_group"" : ""FR300101"" }, ""Citybike"" : { ""bike_count"" : ""0"", ""bike_group"" : ""FR300103"" } }, ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""description"" : ""Ferdinand-Weiß-Str 5"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""gps"" : { ""latitude"" : ""47.994371"", ""longitude"" : ""7.835669"" } }, ""FR9010"" : { ""withpub"" : ""0"", ""cached"" : ""1"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""station"" : ""FR9010"", ""capacity"" : ""1"", ""gps_radius"" : ""100"", ""bike_count"" : ""1"", ""authed"" : ""1"", ""state"" : ""available"", ""station_type"" : { ""Cargobike"" : { ""bike_count"" : ""1"", ""bike_group"" : ""FR300101"" } }, ""description"" : ""Contributor-Station Ilockit"", ""station_group"" : [ ""FR300101"" ], ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""gps"" : { ""latitude"" : ""52.406693917129175"", ""longitude"" : ""12.569934014209514"" } }, ""FR108"" : { ""state"" : ""available"", ""description"" : ""Contributor-Station Anja"", ""station_group"" : [ ""FR300101"" ], ""station_type"" : { ""Cargobike"" : { ""bike_count"" : ""1"", ""bike_group"" : ""FR300101"" } }, ""gps"" : { ""longitude"" : ""7.885837789049421"", ""latitude"" : ""48.070487906373515"" }, ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""cached"" : ""1"", ""withpub"" : ""0"", ""gps_radius"" : ""100"", ""capacity"" : ""1"", ""station"" : ""FR108"", ""authed"" : ""1"", ""bike_count"" : ""1"" }, ""BVB9003"" : { ""capacity"" : ""2"", ""gps_radius"" : ""75"", ""station"" : ""BVB9003"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"", ""operator_email"" : ""hotline@sharee.bike"" }, ""cached"" : ""1"", ""withpub"" : ""0"", ""authed"" : ""1"", ""bike_count"" : ""2"", ""state"" : ""available"", ""gps"" : { ""longitude"" : ""7.8269763"", ""latitude"" : ""48.0137631"" }, ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""station_group"" : [ ""BVB300101"" ], ""description"" : ""Carl-Sieder-Hof"", ""station_type"" : { ""Cargobike"" : { ""bike_group"" : ""BVB300101"", ""bike_count"" : ""2"" } } }, ""REN9002"" : { ""station_group"" : [ ""REN300101"", ""REN300103"" ], ""description"" : ""Bikerei-IN"", ""gps"" : { ""longitude"" : ""11.441289676268319"", ""latitude"" : ""48.75089095677469"" }, ""uri_operator"" : ""https://shareeapp-ren.copri.eu"", ""state"" : ""available"", ""bike_count"" : ""0"", ""authed"" : ""1"", ""withpub"" : ""1"", ""operator_data"" : { ""operator_hours"" : ""täglich von 10:00 bis 20:00Uhr"", ""operator_phone"" : ""+491774126214"", ""operator_name"" : ""Rentamania-Bikes"", ""operator_email"" : ""verleih@rentamania.de"" }, ""cached"" : ""1"", ""gps_radius"" : ""100"", ""capacity"" : ""7"", ""station"" : ""REN9002"" }, ""REN9001"" : { ""authed"" : ""1"", ""bike_count"" : ""0"", ""cached"" : ""1"", ""operator_data"" : { ""operator_hours"" : ""täglich von 10:00 bis 20:00Uhr"", ""operator_name"" : ""Rentamania-Bikes"", ""operator_phone"" : ""+491774126214"", ""operator_email"" : ""verleih@rentamania.de"" }, ""withpub"" : ""1"", ""station"" : ""REN9001"", ""capacity"" : ""8"", ""gps_radius"" : ""100"", ""description"" : ""Rentamania-EI"", ""station_group"" : [ ""REN300101"", ""REN300103"" ], ""uri_operator"" : ""https://shareeapp-ren.copri.eu"", ""gps"" : { ""latitude"" : ""48.8975726"", ""longitude"" : ""11.170959"" }, ""state"" : ""available"" }, ""FR104"" : { ""description"" : ""fahrradspezialitäten"", ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""station_type"" : { ""Cargobike"" : { ""bike_group"" : ""FR300101"", ""bike_count"" : ""0"" }, ""Citybike"" : { ""bike_group"" : ""FR300103"", ""bike_count"" : ""0"" } }, ""gps"" : { ""longitude"" : ""7.837621"", ""latitude"" : ""47.989807"" }, ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""state"" : ""available"", ""bike_count"" : ""0"", ""authed"" : ""1"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_email"" : ""hotline@sharee.bike"" }, ""cached"" : ""1"", ""gps_radius"" : ""50"", ""capacity"" : ""1"", ""station"" : ""FR104"" }, ""FR101"" : { ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"" }, ""cached"" : ""1"", ""withpub"" : ""0"", ""gps_radius"" : ""50"", ""capacity"" : ""3"", ""station"" : ""FR101"", ""authed"" : ""1"", ""bike_count"" : ""11"", ""state"" : ""available"", ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""description"" : ""Villaban sharee Station"", ""station_type"" : { ""Citybike"" : { ""bike_group"" : ""FR300103"", ""bike_count"" : ""1"" }, ""Cargobike"" : { ""bike_group"" : ""FR300101"", ""bike_count"" : ""10"" } }, ""gps"" : { ""latitude"" : ""47.976634"", ""longitude"" : ""7.825490"" }, ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"" }, ""FR103"" : { ""gps_radius"" : ""50"", ""capacity"" : ""3"", ""station"" : ""FR103"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"" }, ""cached"" : ""1"", ""bike_count"" : ""2"", ""authed"" : ""1"", ""state"" : ""available"", ""gps"" : { ""latitude"" : ""47.997922"", ""longitude"" : ""7.784941"" }, ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""description"" : ""Contributor-Station Oliver"", ""station_group"" : [ ""FR300101"" ], ""station_type"" : { ""Cargobike"" : { ""bike_group"" : ""FR300101"", ""bike_count"" : ""2"" } } } }, ""response"" : ""stations_available"", ""uri_operator_array"" : [ ""https://shareeapp-thu.copri.eu"", ""https://shareeapp-demo.copri.eu"", ""https://shareeapp-lv.copri.eu"", ""https://shareeapp-ren.copri.eu"", ""https://shareeapp-fr01.copri.eu"", ""https://shareeapp-bvb.copri.eu"" ] }"; /// /// Holds a a response on stations available response. /// private const string TestStationAvailalbeResponseCopriVer4_1_23_03_alpha = @"{ ""uri_operator_array"" : [ ""https://shareeapp-bvb.copri.eu"", ""https://shareeapp-thu.copri.eu"", ""https://shareeapp-lv.copri.eu"", ""https://shareeapp-ren.copri.eu"", ""https://shareeapp-fr01.copri.eu"", ""https://shareeapp-demo.copri.eu"" ], ""agb_html"" : ""site/agb_sharee_2.html"", ""lang"" : ""de"", ""apiserver"" : ""https://shareeapp-primary.copri.eu"", ""project_id"" : ""Freiburg"", ""debuglevel"" : ""72"", ""privacy_html"" : ""site/privacy_sharee_2.html"", ""last_used_operator"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""user_id"" : ""ohauff@posteo.de"", ""stations"" : { ""FR104"" : { ""station"" : ""FR104"", ""gps_radius"" : ""50"", ""gps"" : { ""longitude"" : ""7.837621"", ""latitude"" : ""47.989807"" }, ""cached"" : ""1"", ""bike_count"" : ""0"", ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""capacity"" : ""1"", ""description"" : ""fahrradspezialitäten"", ""state"" : ""available"", ""withpub"" : ""1"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""authed"" : ""1"" }, ""FR9010"" : { ""authed"" : ""1"", ""description"" : ""Contributor-Station Ilockit"", ""state"" : ""available"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""withpub"" : ""0"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""gps_radius"" : ""100"", ""cached"" : ""1"", ""gps"" : { ""longitude"" : ""12.569934014209514"", ""latitude"" : ""52.406693917129175"" }, ""bike_count"" : ""1"", ""station_group"" : [ ""FR300101"" ], ""capacity"" : ""1"", ""station"" : ""FR9010"" }, ""BVB9003"" : { ""authed"" : ""1"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""withpub"" : ""0"", ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""description"" : ""Carl-Sieder-Hof"", ""state"" : ""available"", ""bike_count"" : ""1"", ""station_group"" : [ ""BVB300101"" ], ""capacity"" : ""2"", ""gps_radius"" : ""75"", ""gps"" : { ""longitude"" : ""7.8269763"", ""latitude"" : ""48.0137631"" }, ""cached"" : ""1"", ""station"" : ""BVB9003"" }, ""BVB9001"" : { ""station"" : ""BVB9001"", ""capacity"" : ""2"", ""bike_count"" : ""1"", ""station_group"" : [ ""BVB300101"" ], ""gps_radius"" : ""75"", ""cached"" : ""1"", ""gps"" : { ""latitude"" : ""48.004394"", ""longitude"" : ""7.840146"" }, ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""description"" : ""Unicarré"", ""state"" : ""available"", ""authed"" : ""1"" }, ""FR103"" : { ""station"" : ""FR103"", ""gps_radius"" : ""50"", ""gps"" : { ""latitude"" : ""47.997922"", ""longitude"" : ""7.784941"" }, ""cached"" : ""1"", ""capacity"" : ""3"", ""bike_count"" : ""0"", ""station_group"" : [ ""FR300101"" ], ""description"" : ""Contributor-Station Oliver"", ""state"" : ""available"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""operator_data"" : { ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"", ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"" }, ""withpub"" : ""0"", ""authed"" : ""1"" }, ""REN9001"" : { ""bike_count"" : ""0"", ""station_group"" : [ ""REN300101"", ""REN300103"" ], ""capacity"" : ""8"", ""gps_radius"" : ""100"", ""gps"" : { ""latitude"" : ""48.8975726"", ""longitude"" : ""11.170959"" }, ""cached"" : ""1"", ""station"" : ""REN9001"", ""authed"" : ""1"", ""withpub"" : ""1"", ""operator_data"" : { ""operator_name"" : ""Rentamania-Bikes"", ""operator_phone"" : ""+491774126214"", ""operator_hours"" : ""täglich von 10:00 bis 20:00Uhr"", ""operator_email"" : ""verleih@rentamania.de"" }, ""uri_operator"" : ""https://shareeapp-ren.copri.eu"", ""description"" : ""Rentamania-EI"", ""state"" : ""available"" }, ""FR107"" : { ""state"" : ""available"", ""description"" : ""Contributor-Station Svenja"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""withpub"" : ""0"", ""authed"" : ""1"", ""station"" : ""FR107"", ""gps"" : { ""longitude"" : ""7.888761798157405"", ""latitude"" : ""47.98830177263789"" }, ""cached"" : ""1"", ""gps_radius"" : ""50"", ""capacity"" : ""2"", ""station_group"" : [ ""FR300101"" ], ""bike_count"" : ""0"" }, ""BVB9002"" : { ""station_group"" : [ ""BVB300101"" ], ""bike_count"" : ""1"", ""capacity"" : ""2"", ""cached"" : ""1"", ""gps"" : { ""latitude"" : ""48.005352"", ""longitude"" : ""7.823005"" }, ""gps_radius"" : ""75"", ""station"" : ""BVB9002"", ""authed"" : ""1"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_name"" : ""TeilRad GmbH"", ""operator_phone"" : ""+49 761 45370097"" }, ""uri_operator"" : ""https://shareeapp-bvb.copri.eu"", ""state"" : ""available"", ""description"" : ""Idinger-Hof"" }, ""FR102"" : { ""bike_count"" : ""0"", ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""capacity"" : ""1"", ""gps_radius"" : ""50"", ""cached"" : ""1"", ""gps"" : { ""longitude"" : ""7.835669"", ""latitude"" : ""47.994371"" }, ""station"" : ""FR102"", ""authed"" : ""1"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""withpub"" : ""1"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""description"" : ""Ferdinand-Weiß-Str 5"", ""state"" : ""available"" }, ""FR105"" : { ""authed"" : ""1"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""withpub"" : ""0"", ""description"" : ""Contributor-Station Rainer"", ""state"" : ""available"", ""capacity"" : ""1"", ""bike_count"" : ""1"", ""station_group"" : [ ""FR300101"" ], ""gps_radius"" : ""50"", ""cached"" : ""1"", ""gps"" : { ""latitude"" : ""47.927738"", ""longitude"" : ""7.973855"" }, ""station"" : ""FR105"" }, ""FR108"" : { ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""withpub"" : ""0"", ""operator_data"" : { ""operator_email"" : ""hotline@sharee.bike"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"" }, ""description"" : ""Contributor-Station Anja"", ""state"" : ""available"", ""authed"" : ""1"", ""station"" : ""FR108"", ""capacity"" : ""1"", ""bike_count"" : ""1"", ""station_group"" : [ ""FR300101"" ], ""gps_radius"" : ""100"", ""cached"" : ""1"", ""gps"" : { ""latitude"" : ""48.070487906373515"", ""longitude"" : ""7.885837789049421"" } }, ""FR101"" : { ""authed"" : ""1"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""withpub"" : ""1"", ""operator_data"" : { ""operator_phone"" : ""+49 761 45370097"", ""operator_name"" : ""TeilRad GmbH"", ""operator_hours"" : ""Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"", ""operator_email"" : ""hotline@sharee.bike"" }, ""state"" : ""available"", ""description"" : ""Villaban sharee Station"", ""capacity"" : ""3"", ""station_group"" : [ ""FR300101"", ""FR300103"" ], ""bike_count"" : ""5"", ""gps"" : { ""latitude"" : ""47.976634"", ""longitude"" : ""7.825490"" }, ""cached"" : ""1"", ""gps_radius"" : ""50"", ""station"" : ""FR101"" }, ""REN9002"" : { ""authed"" : ""1"", ""state"" : ""available"", ""description"" : ""Bikerei-IN"", ""withpub"" : ""1"", ""operator_data"" : { ""operator_email"" : ""verleih@rentamania.de"", ""operator_hours"" : ""täglich von 10:00 bis 20:00Uhr"", ""operator_name"" : ""Rentamania-Bikes"", ""operator_phone"" : ""+491774126214"" }, ""uri_operator"" : ""https://shareeapp-ren.copri.eu"", ""cached"" : ""1"", ""gps"" : { ""longitude"" : ""11.441289676268319"", ""latitude"" : ""48.75089095677469"" }, ""gps_radius"" : ""100"", ""station_group"" : [ ""REN300101"", ""REN300103"" ], ""bike_count"" : ""0"", ""capacity"" : ""7"", ""station"" : ""REN9002"" } }, ""response"" : ""stations_available"", ""bike_info_html"" : ""site/bike_info_sharee_1.html"", ""clearing_cache"" : ""0"", ""authcookie"" : ""5781_f172cf59108fe53e7524c841847fee69_shoo0faiNg"", ""agb_checked"" : ""1"", ""impress_html"" : ""site/impress_1.html"", ""init_map"" : { ""center"" : { ""longitude"" : ""7.825490"", ""latitude"" : ""47.976634"" }, ""radius"" : ""2.9"" }, ""response_state"" : ""OK, nothing todo"", ""merchant_id"" : ""shoo0faiNg"", ""new_authcoo"" : ""0"", ""tariff_info_html"" : ""site/tariff_info.html"", ""user_group"" : [], ""aowner"" : ""186"", ""copri_version"" : ""4.1.23.03"", ""bikes_occupied"" : { ""159154"" : { ""gps"" : { ""latitude"" : ""47.997873374261"", ""longitude"" : ""7.78480782173574"" }, ""request_time"" : ""2023-03-24 19:06:27.110484+01"", ""end_time"" : ""2023-03-24 19:06:00+01"", ""bike"" : ""FR1011"", ""bike_group"" : [ ""FR300101"" ], ""rentalog"" : """", ""tariff_description"" : { ""eur_per_hour"" : ""0.00"", ""number"" : ""5533"", ""name"" : ""E-Lastenrad private"", ""max_eur_per_day"" : ""24.00"" }, ""system"" : ""Ilockit"", ""station"" : ""FR103"", ""unit_price"" : ""2.00"", ""total_price"" : ""0.00"", ""rental_description"" : { ""name"" : ""E-Lastenrad private"", ""id"" : ""5533"", ""reserve_timerange"" : ""15"", ""tarif_elements"" : { ""4"" : [ ""Max. Gebühr"", ""24,00 € / Tag"" ], ""1"" : [ ""Mietgebühr"", ""2,00 € / 30 Min "" ] } }, ""real_clock"" : ""00:00"", ""discount"" : """", ""bike_type"" : { ""wheels"" : ""2"", ""category"" : ""cargo"" }, ""lock_state"" : ""locked"", ""freed_time"" : """", ""start_time"" : ""2023-03-24 19:06:27.110484+01"", ""description"" : ""Lastenrad Oliver Pieper"", ""state"" : ""requested"", ""computed_hours"" : ""0"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""Ilockit_ID"" : ""ISHAREIT-2200536"" }, ""159155"" : { ""description"" : ""Contributor-bike devel"", ""state"" : ""occupied"", ""computed_hours"" : ""0"", ""freed_time"" : """", ""start_time"" : ""2023-03-24 19:06:51.881632+01"", ""Ilockit_ID"" : ""ISHAREIT-2309492"", ""uri_operator"" : ""https://shareeapp-fr01.copri.eu"", ""discount"" : """", ""bike_type"" : { ""wheels"" : ""2"", ""category"" : ""cargo"" }, ""lock_state"" : ""unlocked"", ""unit_price"" : ""2.00"", ""station"" : ""FR103"", ""tariff_description"" : { ""number"" : ""5533"", ""eur_per_hour"" : ""0.00"", ""max_eur_per_day"" : ""24.00"", ""name"" : ""E-Lastenrad private"" }, ""system"" : ""Ilockit"", ""rental_description"" : { ""id"" : ""5533"", ""tarif_elements"" : { ""4"" : [ ""Max. Gebühr"", ""24,00 € / Tag"" ], ""1"" : [ ""Mietgebühr"", ""2,00 € / 30 Min "" ], ""7"" : [ ""Aktuelle Mietzeit"", ""1 Min "" ] }, ""reserve_timerange"" : ""15"", ""name"" : ""E-Lastenrad private"" }, ""real_clock"" : ""00:01"", ""total_price"" : ""0.00"", ""request_time"" : ""2023-03-24 19:06:43.046977+01"", ""bike"" : ""FR1012"", ""end_time"" : ""2023-03-24 19:08:04"", ""gps"" : { ""longitude"" : ""7.784874"", ""latitude"" : ""47.998028"" }, ""rentalog"" : """", ""bike_group"" : [ ""FR300101"" ] } }, ""uri_primary"" : ""https://shareeapp-primary.copri.eu"", ""user_tour"" : [] }"; } }