Skip to content

Commit 8da266a

Browse files
committed
minor corrections
1 parent ae6d004 commit 8da266a

20 files changed

+62
-62
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ To use pwshPlaces you will require a Google Maps or Bing Maps API key. To use al
4949

5050
> 🙄 Not another module that requires an API Key!
5151
52-
Both of these APIs are *easy to create* and have *no cost* pricing tiers which should meet your needs. I have provided detailed guides on how to get your API keys:
52+
Both of these Map API keys are *easy to create* and have *no cost* pricing tiers which should meet your needs. I have provided detailed guides on how to get your API keys:
5353

5454
* [How to get a Google Maps API Key](docs/GoogleMapsAPI.md#how-to-get-a-google-maps-api-key)
5555
* [How to get a Bing Maps API Key](docs/BingMapsAPI.md#how-to-get-a-bing-maps-api-key)
5656

5757
```powershell
5858
# Set your API Keys in the pwshPlaces.psm1 file
59-
# using the approriate variable names:
59+
# using the appropriate variable names:
6060
6161
$env:GoogleAPIKey = 'yourGoogleAPIKey'
6262
$env:BingAPIKey = 'yourBingAPIKey'

docs/BingMapsAPI.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Log into the [Bing Maps Dev Center Portal](https://www.bingmapsportal.com) - if
4141
#### 2. Create a Bing Maps Basic API Key
4242

4343
- Under My account tab click *My Keys*
44-
- Create a new api key
44+
- Create a new API key
4545

4646
![Bing Maps API Key Choices](../media/create_bing_maps_api_key.PNG 'Bing Map API Key Choice')
4747
![Bing Maps Dev Center New API Key](../media/bing_map_create_api_key.PNG 'New Bing Maps API Key')
@@ -71,12 +71,12 @@ $scrapePath = $env:Temp
7171
7272
$locale = Invoke-BingGeoCode -Query 'New Braunfels, TX'
7373
74-
$areaRestaraunts = Search-BingNearbyPlace -Type Restaurants -PointLatitude $locale.Latitude -PointLongitude $locale.Longitude -MaxResults 20
74+
$areaRestaurants = Search-BingNearbyPlace -Type Restaurants -PointLatitude $locale.Latitude -PointLongitude $locale.Longitude -MaxResults 20
7575
76-
ConvertTo-Clixml -InputObject $areaRestaraunts -Depth 100 | Out-File "$scrapePath\localRestaraunts.xml"
76+
ConvertTo-Clixml -InputObject $areaRestaurants -Depth 100 | Out-File "$scrapePath\localRestaurants.xml"
7777
#--------------------------------------------------------------
7878
# where should we eat today?
79-
$myLocalRestaurants = Get-Content -Path "$scrapePath\localRestaraunts.xml" -Raw | ConvertFrom-Clixml
79+
$myLocalRestaurants = Get-Content -Path "$scrapePath\localRestaurants.xml" -Raw | ConvertFrom-Clixml
8080
8181
Get-Random $myLocalRestaurants
8282
```

docs/Find-BingPlace.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Find-BingPlace [-Query <String>] [-PointLatitude <String>] [-PointLongitude <Str
4141
## DESCRIPTION
4242
Performs a find place request with provided parameters.
4343
A text search is performed that returns a list of business entities.
44-
By default the location bias is IP based.
44+
By default, the location bias is IP based.
4545
Location bias and language can be controlled via parameters.
4646

4747
## EXAMPLES
@@ -58,7 +58,7 @@ Returns place information for the query location biased by IP.
5858
Find-BingPlace -Query "Krause's cafe" -Language es
5959
```
6060

61-
Returns place information for the query location biased by IP and returns a few portion of the results in Spanish.
61+
Returns place information for the query location biased by IP and returns a few portions of the results in Spanish.
6262

6363
### EXAMPLE 3
6464
```
@@ -147,7 +147,7 @@ Accept wildcard characters: False
147147
```
148148
149149
### -PointLongitude
150-
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earths surface.
150+
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earth's surface.
151151
152152
```yaml
153153
Type: String
@@ -177,7 +177,7 @@ Accept wildcard characters: False
177177
```
178178
179179
### -CircleLongitude
180-
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earths surface.
180+
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earth's surface.
181181
182182
```yaml
183183
Type: String

docs/Find-BingTimeZone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Accept wildcard characters: False
7575
```
7676
7777
### -PointLongitude
78-
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earths surface.
78+
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earth's surface.
7979
8080
```yaml
8181
Type: String

docs/Find-GMapPlace.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Find-GMapPlace [-Query <String>] [-PointLatitude <String>] [-PointLongitude <Str
4040
Performs a find place request with provided parameters.
4141
A text search is performed unless a properly formatted phone number is provided in which case
4242
a phonenumber search is completed.
43-
By default the location bias and language is IP based.
43+
By default, the location bias and language is IP based.
4444
Location bias and language can be controlled via parameters.
4545
The information returned in a normal
4646
call contains all basic field types.
@@ -169,7 +169,7 @@ Accept wildcard characters: False
169169
```
170170
171171
### -PointLongitude
172-
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earths surface.
172+
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earth's surface.
173173
174174
```yaml
175175
Type: String
@@ -199,7 +199,7 @@ Accept wildcard characters: False
199199
```
200200
201201
### -CircleLongitude
202-
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earths surface.
202+
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earth's surface.
203203
204204
```yaml
205205
Type: String

docs/GoogleMapsAPI.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ $scrapePath = $env:Temp
122122
123123
$locale = Invoke-GMapGeoCode -Address 'New Braunfels'
124124
125-
$areaRestaraunts = Search-GMapNearbyPlace -Latitude $locale.Latitude -Longitude $locale.Longitude -Radius 10000 -RankByProminence -Type restaurant -AllSearchResults
125+
$areaRestaurants = Search-GMapNearbyPlace -Latitude $locale.Latitude -Longitude $locale.Longitude -Radius 10000 -RankByProminence -Type restaurant -AllSearchResults
126126
127-
ConvertTo-Clixml -InputObject $areaRestaraunts -Depth 100 | Out-File "$scrapePath\localRestaraunts.xml"
127+
ConvertTo-Clixml -InputObject $areaRestaurants -Depth 100 | Out-File "$scrapePath\localRestaurants.xml"
128128
#--------------------------------------------------------------
129129
# where should we eat today?
130-
$myLocalRestaurants = Get-Content -Path "$scrapePath\localRestaraunts.xml" -Raw | ConvertFrom-Clixml
130+
$myLocalRestaurants = Get-Content -Path "$scrapePath\localRestaurants.xml" -Raw | ConvertFrom-Clixml
131131
132132
Get-Random $myLocalRestaurants
133133
```

docs/Invoke-BingGeoCode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Invoke-BingGeoCode -Query <String> [-Language <languages>] [-MaxResults <Int32>]
3030
```
3131

3232
## DESCRIPTION
33-
Geocoding is the process of converting addresses addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates.
33+
Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates.
3434
This function can take in an address and return coordinate information.
3535
You can also provide coordinates to return multiple nearby address results.
3636

@@ -182,7 +182,7 @@ Accept wildcard characters: False
182182
```
183183
184184
### -Longitude
185-
Geographic coordinate that specifies the east-west position of a point on the Earths surface.
185+
Geographic coordinate that specifies the east-west position of a point on the Earth's surface.
186186
187187
```yaml
188188
Type: String
@@ -229,7 +229,7 @@ Accept wildcard characters: False
229229
230230
### -MaxResults
231231
Specifies the maximum number of locations to return in the response.
232-
If not specified the default is 5.
232+
If not specified, the default is 5.
233233
234234
```yaml
235235
Type: Int32
@@ -258,7 +258,7 @@ Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/
258258
Example:
259259
http://dev.virtualearth.net/REST/v1/Locations?countryRegion={countryRegion}&adminDistrict={adminDistrict}&locality={locality}&postalCode={postalCode}&addressLine={addressLine}&userLocation={userLocation}&userIp={userIp}&usermapView={usermapView}&includeNeighborhood={includeNeighborhood}&maxResults={maxResults}&key={BingMapsKey}
260260
261-
While the Bing Location API does support a text query option, I have found it to be fairly unreliable.
261+
While the Bing Location API does support a text query option, I have found it to be unreliable.
262262
For GeoCode info stick to Addresses and Lat/Long for reverse Geocoding.
263263
For Text Queries use other Bing Maps functions.
264264

docs/Invoke-GMapGeoCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Invoke-GMapGeoCode -PlaceID <String> [-Language <languages>] [-RegionBias <ccTLD
2929
```
3030

3131
## DESCRIPTION
32-
Geocoding is the process of converting addresses addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates.
32+
Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates.
3333
This function can take in an address and return coordinate information.
3434
You can also provide coordinates to return multiple nearby address results.
3535
If you know the exact google placeID this can also be provided to return Geocoding information about that location.
@@ -99,7 +99,7 @@ Accept wildcard characters: False
9999
```
100100
101101
### -Longitude
102-
Geographic coordinate that specifies the east-west position of a point on the Earths surface.
102+
Geographic coordinate that specifies the east-west position of a point on the Earth's surface.
103103
104104
```yaml
105105
Type: String

docs/Search-BingNearbyPlace.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Search-BingNearbyPlace -Type Museums -PointLatitude '29.7049806' -PointLongitude
8888
```
8989

9090
Performs a nearby search near the provided Lat/Long and returns Museum places types.
91-
Results are returned in english with a maximum of 20 results returned.
91+
Results are returned in English with a maximum of 20 results returned.
9292

9393
### EXAMPLE 7
9494
```
@@ -103,7 +103,7 @@ Search-BingNearbyPlace @searchBingNearbyPlaceSplat
103103
```
104104

105105
Performs a nearby search near the provided Lat/Long and returns Museum places types.
106-
Results are returned in english with a maximum of 20 results returned.
106+
Results are returned in English with a maximum of 20 results returned.
107107

108108
## PARAMETERS
109109

@@ -152,7 +152,7 @@ Accept wildcard characters: False
152152
```
153153
154154
### -PointLongitude
155-
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earths surface.
155+
Prefer results in a specified area by specifying a single coordinate for the east-west position of a point on the Earth's surface.
156156
157157
```yaml
158158
Type: String
@@ -182,7 +182,7 @@ Accept wildcard characters: False
182182
```
183183
184184
### -CircleLongitude
185-
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earths surface.
185+
Prefer results in a specified area by specifying a radius plus lat/long - east-west position of a point on the Earth's surface.
186186
187187
```yaml
188188
Type: String

docs/Search-GMapNearbyPlace.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Search-GMapNearbyPlace -Latitude <String> -Longitude <String> -Radius <String> [
3737
## DESCRIPTION
3838
Performs a nearby search request with provided parameters.
3939
Nearby search is useful for finding places near a specific geographic location.
40-
By default 20 results are returned from a standard search.
40+
By default, 20 results are returned from a standard search.
4141
You can increase this to a maximum of 60 places results by providing the AllSearchResults switch.
4242

4343
## EXAMPLES
@@ -85,7 +85,7 @@ Search-GMapNearbyPlace -Latitude '26.1202' -Longitude '127.7025' -Radius 10000 -
8585
```
8686

8787
Performs a nearby search and returns only amusement parks places near provided coordinates within a range of 10000 meters.
88-
Results are ranked by prominence and returned in Engish.
88+
Results are ranked by prominence and returned in English.
8989

9090
### EXAMPLE 7
9191
```
@@ -138,7 +138,7 @@ Accept wildcard characters: False
138138
```
139139
140140
### -Longitude
141-
Geographic coordinate that specifies the east-west position of a point on the Earths surface.
141+
Geographic coordinate that specifies the east-west position of a point on the Earth's surface.
142142
143143
```yaml
144144
Type: String

0 commit comments

Comments
 (0)