ranga543 / yelpfusionsharp Goto Github PK
View Code? Open in Web Editor NEWYelpSharper is a .NET wrapper for the Yelp REST API v3 devloper preview. The library is written in C#.
YelpSharper is a .NET wrapper for the Yelp REST API v3 devloper preview. The library is written in C#.
It seems for every YelpFusion api I use I get a similar issue when I am placing a lattitude/longitude value in the autoComplete/GetBusiness/Search functions of the yelp.Api. I really don't know how to get around this. For a test scenario, I used:
request.Term = "Papa Johns Pizza";
request.Latitude = double.Parse("30.0477325");
request.Longitude = double.Parse("-95.18446720000003");
I even used request.Location = "2855 W Lake Houston Pkwy, Kingwood, TX 77339, USA";
yelpSharperClient.Search(new request);
From here when I run the GetSearch I run into the error converting value {null}. I tried doing some searching on why this was the case but couldn't find anything.
I also did a test case where I ran autoComplete for this, which gave me a business Id.
request.Term = "Domino's Pizza";
request.Latitude = double.Parse("30.0498865");
request.Longitude = double.Parse("-95.18670780000002");
I even used request.Location = "4319 Kingwood Dr, Kingwood, TX 77339, USA";
var autocompleteResponse = yelpSharperClient.Autocomplete(new request);
From the business Id I try to get the business from the GetBusiness call but I run into the same error.
var businessResponse= yelpSharperClient.GetBusiness(new autocompleteResponse.Businesses[0].Id);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.