3434Install the SDK directly from NPM:
3535
3636``` bash
37- npm install ip-geolocation-api-typescript- sdk
37+ npm install ip-geolocation-api-sdk-typescript
3838```
3939
4040## Using Yarn
4141Alternatively, if you use Yarn:
4242``` bash
43- yarn add ip-geolocation-api-typescript- sdk
43+ yarn add ip-geolocation-api-sdk-typescript
4444```
4545
4646## Manual Installation
@@ -61,7 +61,7 @@ yarn install
6161# Authentication Setup
6262To authenticate API requests, you'll need an API key from [ ipgeolocation.io] ( https://ipgeolocation.io ) . Once you have the key, initialize the SDK client with it:
6363``` typescript
64- import { Configuration } from " ip-geolocation-api-typescript- sdk" ;
64+ import { Configuration } from " ip-geolocation-api-sdk-typescript " ;
6565
6666const configuration = new Configuration ({
6767 apiKey: " YOUR_API_KEY" ,
@@ -102,7 +102,7 @@ For the full list of supported fields/modules, refer to the [IP Geolocation API
102102import {
103103 IPGeolocationApi ,
104104 Configuration
105- } from ' ip-geolocation-api-typescript- sdk' ;
105+ } from ' ip-geolocation-api-sdk-typescript ' ;
106106
107107const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
108108const api = new IPGeolocationApi (configuration );
@@ -161,7 +161,7 @@ Sample Response:
161161import {
162162 IPGeolocationApi ,
163163 Configuration
164- } from ' ip-geolocation-api-typescript- sdk' ;
164+ } from ' ip-geolocation-api-sdk-typescript ' ;
165165
166166 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
167167
@@ -213,7 +213,7 @@ Sample Response:
213213import {
214214 IPGeolocationApi ,
215215 Configuration
216- } from ' ip-geolocation-api-typescript- sdk' ;
216+ } from ' ip-geolocation-api-sdk-typescript ' ;
217217
218218 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
219219
@@ -562,7 +562,7 @@ For full endpoint specifications, refer to the [IP Security API documentation](h
562562import {
563563 Configuration ,
564564 IPSecurityApi
565- } from ' ip-geolocation-api-typescript- sdk' ;
565+ } from ' ip-geolocation-api-sdk-typescript ' ;
566566
567567
568568 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
@@ -778,7 +778,7 @@ Refer to the [ASN API documentation](https://ipgeolocation.io/asn-api.html#docum
778778import {
779779 Configuration ,
780780 ASNLookupApi
781- } from ' ip-geolocation-api-typescript- sdk' ;
781+ } from ' ip-geolocation-api-sdk-typescript ' ;
782782
783783 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
784784 const api = new ASNLookupApi (configuration );
@@ -1015,7 +1015,7 @@ For full API specifications, refer to the [Timezone API documentation](https://i
10151015import {
10161016 Configuration ,
10171017 TimezoneApi
1018- } from ' ip-geolocation-api-typescript- sdk' ;
1018+ } from ' ip-geolocation-api-sdk-typescript ' ;
10191019
10201020 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
10211021 const api = new TimezoneApi (configuration );
@@ -1401,7 +1401,7 @@ For more details, refer to the [Timezone Converter API documentation](https://ip
14011401import {
14021402 Configuration ,
14031403 TimeConversionApi
1404- } from ' ip-geolocation-api-typescript- sdk' ;
1404+ } from ' ip-geolocation-api-sdk-typescript ' ;
14051405
14061406const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
14071407const api = new TimeConversionApi (configuration );
@@ -1454,7 +1454,7 @@ For full explanation, visit the [User Agent API documentation](https://ipgeoloca
14541454import {
14551455 Configuration ,
14561456 UserAgentApi
1457- } from ' ip-geolocation-api-typescript- sdk' ;
1457+ } from ' ip-geolocation-api-sdk-typescript ' ;
14581458
14591459 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
14601460
@@ -1533,7 +1533,7 @@ Refer to the official [Astronomy API documentation](https://ipgeolocation.io/ast
15331533import {
15341534 Configuration ,
15351535 AstronomyApi
1536- } from ' ip-geolocation-api-typescript- sdk' ;
1536+ } from ' ip-geolocation-api-sdk-typescript ' ;
15371537 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
15381538
15391539 const api = new AstronomyApi (configuration );
@@ -1959,7 +1959,7 @@ Refer to the official [Abuse Contact API documentation](https://ipgeolocation.io
19591959import {
19601960 Configuration ,
19611961 AbuseContactApi
1962- } from ' ip-geolocation-api-typescript- sdk' ;
1962+ } from ' ip-geolocation-api-sdk-typescript ' ;
19631963 const configuration = new Configuration ({ apiKey: ' YOUR_API_KEY' });
19641964 const api = new AbuseContactApi (configuration );
19651965
0 commit comments