trip_advisor_api 1.0.0 copy "trip_advisor_api: ^1.0.0" to clipboard
trip_advisor_api: ^1.0.0 copied to clipboard

outdated

A dart package to communicate with trip advisor api

Features #

This package lets you communicate directly with the trip advisor contents api Found Here You can search places in radius, search by text and get a lot of info about a place.

Getting started #

In order to use this package you just need to create a trip advisor contents api account. Once you get the api key itself just Create a TripAdvisorApi instance with the api and you're ready to go

Usage #

ApiSettings settings = ApiSettings(apiKey: YOUR_API_KEY_HERE);
TripAdvisorApi tripAdvisorApi = TripAdvisorApi(settings);

tripAdvisorApi.nearbySearch.get(...)
tripAdvisorApi.findSearch.get(...)
tripAdvisorApi.locationDetails.get(...)
tripAdvisorApi.locationPhotos.get(...)
tripAdvisorApi.locationReviews.get(...)

Additional information #

You're always welcome to contribute on github. Still need to add the supported countries and supported currencies and add exception handling on http requests failures. Also documentation is needed. This was done in a hurry so there is non, but its not complicated.

3
likes
0
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

A dart package to communicate with trip advisor api

Repository (GitHub)

License

unknown (license)

Dependencies

http, json_annotation, json_serializable

More

Packages that depend on trip_advisor_api