GithubHelp home page GithubHelp logo

svartis / yelp.api.web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pinski/yelp.api.web

0.0 0.0 0.0 1.89 MB

C# Web Library for Yelp (Fusion API v3 from 2017). Currently targets .NETCoreApp 1.1. Yelp's (v3) Fusion API allows you to get the best local business information and user reviews of over million businesses in 32 countries.

JavaScript 0.03% C# 89.71% CSS 0.71% HTML 9.55%

yelp.api.web's Introduction

Yelp.API.Web

C# Web Library for Yelp (Fusion API v3 from 2017). Currently targets .NETCoreApp 1.0 and 1.1. Yelp's (v3) Fusion API allows you to get the best local business information and user reviews of over million businesses in 32 countries.

How to use the Yelp API in your .NET based Web App

Integrating this API is very easy.

  1. Register yourself with Yelp's developer program

  2. Add the Yelp Api Web client from NuGet to your project or register in the NuGet console with:

    Install-Package Yelp.Api.Web

  3. Call the API via the Client object in your code. See below for examples:

    var client = new Yelp.Api.Client("API_KEY");
    var results = await client.SearchBusinessesAllAsync("cupcakes", 37.786882, -122.399972);

or if you want to perform a more advanced search, use the SearchParameters object.

    var request = new Yelp.Api.Models.SearchRequest();
    request.Latitude = 37.786882;
    request.Longitude = -122.399972;
    request.Term = "cupcakes";
    request.MaxResults = 40;
    request.OpenNow = true;

    var client = new Yelp.Api.Client("API_KEY");
    var results = await client.SearchBusinessesAllAsync(request);
  1. Look for more examples in the Example project.

yelp.api.web's People

Contributors

dsarlo avatar madenwala avatar pinski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.