yelp_fusion_client 0.2.0+3-hotfix copy "yelp_fusion_client: ^0.2.0+3-hotfix" to clipboard
yelp_fusion_client: ^0.2.0+3-hotfix copied to clipboard

A Dart Client to access the business endpoints of Yelp Fusion API.

example/example.md

How to use the Yelp Fusion Client #

  1. Create an Instance of the Client API and Specify Your API Key as the Parameter
final YelpFusion api = YelpFusion(apiKey: '<Your Yelp Fusion API Key>');
  1. Use the YelpFusion Object to Access Various Methods
api.fetchBusinessDetails(id: 'north-india-restaurant-san-francisco', asObject: true)
  .then((details) => print(details.alias));

Note: The asObject parameter in each method describes whether the method should return data in pure json format or as a dart Object which can be used to access individual components of the API response.

See: yelp_fusion_client/test for example dart testing cases.

4
likes
130
pub points
50%
popularity

Publisher

unverified uploader

A Dart Client to access the business endpoints of Yelp Fusion API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, http

More

Packages that depend on yelp_fusion_client