WhereInTheWorld 1.1.1
dotnet tool install --global WhereInTheWorld --version 1.1.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local WhereInTheWorld --version 1.1.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=WhereInTheWorld&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package WhereInTheWorld --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Where in the World
.net Core Global tool to get information about a place either from Postal Codes or city name.
All data acquired from: www.geonames.org licensed under Creative Commons 3
There exists a secondary support repository for mirroring zip files from geonames, as well as creating lists of supported countries and additional information: https://github.com/kaeedo/WhereInTheWorldSupport/
TODO
- Alternative output formats e.g. json
- Limit search by country
- Add fuzzy search
How to use
Install
Requires dotnet core >= 2.1
dotnet tool install -g WhereInTheWorld
Usage
USAGE: witw [--help] [--update [<countryCode>]] [--list [<supported|available>]]
[--cleardatabase] [<searchQuery>]
SEARCHQUERY:
<searchQuery> Search Query. Can be postal code or city name
OPTIONS:
--update [<countryCode>]
Update the local database
--list [<supported|available>]
List available or all supported countries
--cleardatabase Clear the local database to start anew
--help display this list of options.
Examples
witw --update us
witw 10001
Information about "10001" (found 1 result):
--------------------------------------------------
Place name: New York with postal code: 10001
In County: New York (061)
Within Subdivision: New York (NY)
In Country: United States of America (US)
-------------------------
witw "Casper"
Information about "Casper" (found 1 result):
--------------------------------------------------
Place name: Casper has following postal codes:
82601, 82602, 82604, 82605, 82609
In County: Natrona (025)
Within Subdivision: Wyoming (WY)
In Country: United States of America (US)
-------------------------
Development
Requires dotnet core >= 2.1 Globally install fake-cli fake run build.fsx
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.1.1 | 1,092 | 10/27/2018 |