Closed Rubix982 closed 3 years ago
Related to testing on windows, the styling and formats don't work on windows cmd nor PowerShell.
There's a reason I don't like Windows, @OmarMuhammedAli. It's not classy enough to handle the coolness of terminals. :(
There's a reason I don't like Windows, @OmarMuhammedAli. It's not classy enough to handle the coolness of terminals. :(
Every day gets me closer to throwing Windows out of the window
A nice to have and an enhancement (:trophy:), this PR works to close #72 and solve it by introducing a simple method of fetching data from the API without remembering the different defaults or going through the whole SDK just to retrieve a
geojson
.You can test it by going into
tests/helper/
, and then runningpython client.py
.As an example, please see the below screenshot,
The above output is for guiding the user on how to use the written CLI program
Running the command
python client.py 'MLY|XXX' fetch_map_feature_point
, a pretty printed.geojson
appears underdata/
,Future contributors can now create examples they found or like by adding functions in
fetch.py
that has all the different functions listed out.Signed-off-by: Saif Ul Islam saifulislam84210@gmail.com