Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
agoda-service
Advanced tools
This npm package provides functionalities to interact with the Agoda API for flight search and location information.
This npm package provides functionalities to interact with the Agoda API for flight search and location information.
To install the Agoda Service Package, use npm:
npm install online-travel-tequila-service
The AgodaService
class initializes the Agoda API service. It provides access to two main functionalities: location and flight search.
import { AgodaService } from 'install online-travel-tequila-service';
// Initialize Agoda Service
const tequilaService = new AgodaService({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.tequila.kiwi.com',
});
// Access location service
const locationService = tequilaService.location;
// Access flight search service
const searchService = tequilaService.search
import { AgodaLocationService } from 'install online-travel-tequila-service';
// Initialize Agoda Location Service
const locationService = new AgodaLocationService({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.tequila.kiwi.com',
});
// Example: Search location by query
const locationQuery = await locationService.searchByQuery({
term: 'New York',
limit: 10,
});
or
import { AgodaService } from 'install online-travel-tequila-service';
// Initialize Agoda Service
const tequilaService = new AgodaService({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.tequila.kiwi.com',
});
// Access location service
const locationService = tequilaService.location;
// Example: Search location by query
const locationQuery = await locationService.searchByQuery({
term: 'New York',
limit: 10,
});
// Initialize Agoda Search Service
import { AgodaSearchService } from 'install online-travel-tequila-service';
// Initialize Agoda Search Service
const searchService = new AgodaSearchService({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.tequila.kiwi.com',
});
// Example: Search flights
const flightResults = await searchService.searchFlights({
fly_from: 'NYC',
fly_to: 'LAX',
date_from: '2023-12-01',
date_to: '2023-12-05',
});
or
import { AgodaService } from 'install online-travel-tequila-service';
// Initialize Agoda Service
const tequilaService = new AgodaService({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.tequila.kiwi.com',
});
// Access search service
const searchService = tequilaService.search
// Example: Search flights
const flightResults = await searchService.searchFlights({
fly_from: 'NYC',
fly_to: 'LAX',
date_from: '2023-12-01',
date_to: '2023-12-05',
});
```#� �a�g�o�d�a�-�s�e�r�v�i�c�e�
�
�
FAQs
This npm package provides functionalities to interact with the Agoda API for flight search and location information.
The npm package agoda-service receives a total of 0 weekly downloads. As such, agoda-service popularity was classified as not popular.
We found that agoda-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.