umbraco7 - How to use Yelp API v2 C# example in Umbraco site -



umbraco7 - How to use Yelp API v2 C# example in Umbraco site -

i'm new .net , umbraco in general. have basic site setup , want utilize yelp api display content on site. i've played code sample git:

https://github.com/yelp/yelp-api/tree/master/v2/csharp

and have built that, produces executable command line program. question is, how convert code sample utilize straight on website, umbraco v7?

any help much appreciated, thanks.

your code should not differ lot illustration combined normal asp.net.

if in partial view or template in umbraco razor code like:

@{ // todo: add together other relevant code or link other classes encapsulating calls jobject response = client.search(term, location); jarray businesses = (jarray)response.getvalue("businesses"); } <ul> @foreach(var item in businesses) { <li>id: @item["id"]</li> } </ul>

c# umbraco7 yelp

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -