Skip to content

Commit da4c882

Browse files
committed
README update
1 parent 8d1ecca commit da4c882

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,29 @@ Here are a few different ways of querying Geolocation for an IP address from IP
4040

4141
```javascript
4242
// Function to handle the response from IP Geolocation API.
43-
// **response** is a JSON object returned from IP Geolocation API.
43+
// "response" is a JSON object returned from IP Geolocation API.
4444
function handleResponse(response) {
4545
console.log(response);
4646
}
4747

48-
// Query geolocation for the calling machine's IP address with an API key (optional, if you're using _Request Origin_ feature at IP Geolocation API)
48+
// Query geolocation for the calling machine's IP address with an API key (optional, if you're using "Request Origin" feature at IP Geolocation API)
4949
getGeolocation(handleResponse, "YOUR_API_KEY");
5050

51-
// To use the _Request Origin_ feature at IP Geolocation API, you skip the API key parameter.
51+
// To use the "Request Origin" feature at IP Geolocation API, you skip the API key parameter.
5252
getGeolocation(handleResponse);
5353

5454
// Toggle API calls' async behavior. By default, async is true.
5555
setAsync(false)
5656

57-
// Query geolocation for an IP address e.g., '1.1.1.1'
57+
// Query geolocation for an IP address e.g., "1.1.1.1"
5858
setIPAddressParameter("1.1.1.1");
5959
getGeolocation(handleResponse, "YOUR_API_KEY");
6060

61-
// Query only specific geolocation fields e.g., 'country_code2,time_zone,currency' for the calling machine's IP address
61+
// Query only specific geolocation fields e.g., "country_code2,time_zone,currency" for the calling machine's IP address
6262
setFieldsParameter("geo,time_zone,currency");
6363
getGeolocation(handleResponse, "YOUR_API_KEY");
6464

65-
// Query only specific fields like 'country_code2,time_zone,currency' for an IP address like '1.1.1.1' and skip the 'ip' field in the response
65+
// Query only specific fields like "country_code2,time_zone,currency" for an IP address like "1.1.1.1" and skip the "ip" field in the response
6666
setFieldsParameter("geo,time_zone,currency");
6767
setIPAddressParameter("1.1.1.1");
6868
setExcludesParameter("ip");
@@ -74,25 +74,25 @@ Here are a few different ways of querying Time Zone information from IP Geolocat
7474

7575
```javascript
7676
// Function to handle the response from IP Geolocation API.
77-
// **response** is a JSON object returned from IP Geolocation API.
77+
// "response" is a JSON object returned from IP Geolocation API.
7878
function handleResponse(response) {
7979
console.log(response);
8080
}
8181

82-
// Query time zone information for the calling machine's IP address with an API key (optional, if you're using _Request Origin_ feature at IP Geolocation API)
82+
// Query time zone information for the calling machine's IP address with an API key (optional, if you're using "Request Origin" feature at IP Geolocation API)
8383
getTimezone(handleResponse, "YOUR_API_KEY");
8484

85-
// To use the _Request Origin_ feature at IP Geolocation API, you skip the API key parameter.
85+
// To use the "Request Origin" feature at IP Geolocation API, you skip the API key parameter.
8686
getTimezone(handleResponse);
8787

8888
// Toggle API calls' async behavior. By default, async is true.
8989
setAsync(false)
9090

91-
// Query time zone information for an IP address e.g., '1.1.1.1'
91+
// Query time zone information for an IP address e.g., "1.1.1.1"
9292
setIPAddressParameter("1.1.1.1");
9393
getTimezone(handleResponse, "YOUR_API_KEY");
9494

95-
// Query time zone infomration for a time zone ID like 'America/New_York'
95+
// Query time zone infomration for a time zone ID like "America/New_York"
9696
setTimezoneParameter("America/Los_Angeles");
9797
getTimezone(handleResponse, "YOUR_API_KEY");
9898

0 commit comments

Comments
 (0)