``geographic`` commands ======================= .. csv-table:: :widths: auto "**Plugin**", :class:`~shellbot.plugins.geographic.Geographic` "**Brief**", "Geographic information commands." `cityinfo <../plugins/geographic.html#shellbot.plugins.geographic.Geographic.cityinfo>`_ ---------------------------------------------------------------------------------------- .. csv-table:: :widths: auto "**Aliases**", "No alias" "**Brief**", "Show city information." "**Usage**", ``cityinfo city [code]`` .. code-block:: text positional arguments: city the city name code optional ISO-3166 country code Details ~~~~~~~ To retrieve the ISO-3166 country code, use the ** isocode ** command. `isocode <../plugins/geographic.html#shellbot.plugins.geographic.Geographic.isocode>`_ -------------------------------------------------------------------------------------- .. csv-table:: :widths: auto "**Aliases**", "No alias" "**Brief**", "Show ISO-3166 country codes." "**Usage**", ``isocode expr`` .. code-block:: text positional arguments: expr string that represents a country name's beginning Examples ~~~~~~~~ .. csv-table:: :widths: auto "``isocode A``","Show ISO-3166 code for countries whose name begins with 'A'." `time <../plugins/geographic.html#shellbot.plugins.geographic.Geographic.time>`_ -------------------------------------------------------------------------------- .. csv-table:: :widths: auto "**Aliases**", "No alias" "**Brief**", "Retrieve local time." "**Usage**", ``time [city] [code]`` .. code-block:: text positional arguments: city the city name code optional ISO-3166 country code Examples ~~~~~~~~ .. csv-table:: :widths: auto "``time``","Show the local time." "``time London``","Show London's time." "``time London uk``","Equivalent to ""time London""." Details ~~~~~~~ To retrieve the ISO-3166 country code, use the ** isocode ** command. `weather <../plugins/geographic.html#shellbot.plugins.geographic.Geographic.weather>`_ -------------------------------------------------------------------------------------- .. csv-table:: :widths: auto "**Aliases**", "No alias" "**Brief**", "Retrieve weather forecast for specific countries, or cities." "**Usage**", ``weather city [code]`` .. code-block:: text positional arguments: city the city name code optional ISO-3166 country code Examples ~~~~~~~~ .. csv-table:: :widths: auto "``weather London``","Show the weather in London, UK." "``weather London uk``","Equivalent to ""weather London""." Details ~~~~~~~ To retrieve the ISO-3166 country code, use the ** isocode ** command.