diff --git a/classes/Client.html b/classes/Client.html index 99e370ea4a..f6cff3bc1d 100644 --- a/classes/Client.html +++ b/classes/Client.html @@ -9,7 +9,7 @@
const axiosInstance = axios.create(config)
const client = Client({axiosInstance})
-An example use of this function.
import { Client } from '@googlemaps/google-maps-services-js';
const args = {
params: {
key: '<your-api-key>',
address: 'Perth 4WD & Commercial Centre',
}
};
const client = new Client();
client.geocode(args).then(gcResponse => {
const str = JSON.stringify(gcResponse.data.results[0]);
console.log(`First result is: ${str}`);
});
-
An example use of this function.
+