GithubHelp home page GithubHelp logo

Yelp Authentication Update about yelp.api HOT 13 OPEN

madenwala avatar madenwala commented on August 16, 2024 4
Yelp Authentication Update

from yelp.api.

Comments (13)

dsarlo avatar dsarlo commented on August 16, 2024 1

I have created a pull request to fix this issue. We are good to go!

from yelp.api.

gmisa avatar gmisa commented on August 16, 2024 1

Hope this gets approved and merged soon!

from yelp.api.

Pinski avatar Pinski commented on August 16, 2024 1

If you want to use this, the first thing you'll need to do is register as a developer with Yelp and get your API Key.

From there, it depends on what you are trying to do. If you just want to use the project in your code, it's just a NuGet package that you import just like any other dependency. Unfortunately it seems to only targets .NETPortable and the original author seems to not be updating it any more.

I've created my own fork that targets .NET Core 1.1 (hoping to add .NET Core 2.0 soon). I've also added additional functionality (like GraphQL), added an example project to show how you would use the code in your own project, and created a separate NuGet package for use. You can see more details about my fork here: https://github.com/Pinski/Yelp.Api.Web

If you are interested in pulling down the project and running it locally, then you'll just clone the repo and build it in Visual Studio.

from yelp.api.

Pinski avatar Pinski commented on August 16, 2024 1

Could you be a little more specific and maybe show some code? Not really sure what your problem is. What's the var you are talking about? What's empty? The example code in the Readme.md file shows you exactly how to use the NuGet package.

The fork I linked to has a full working example project that you can use as reference if you need further information:
https://github.com/Pinski/Yelp.Api.Web/tree/master/Source/Examples

from yelp.api.

shumach5 avatar shumach5 commented on August 16, 2024

@madenwala
Hi could you take a look at pull request from @dsarlo ? seems like it works well.

from yelp.api.

dsarlo avatar dsarlo commented on August 16, 2024

@shumach5 I have emailed him. Hopefully he takes a look at it soon, but I'm sure he is busy with other more important things.

from yelp.api.

shumach5 avatar shumach5 commented on August 16, 2024

ah ok. sorry for the rush..

from yelp.api.

dsarlo avatar dsarlo commented on August 16, 2024

@gmisa @shumach5 @Pinski For now you guys can go to my github, clone the repo and build it with the fixes so that you can still develop your applications. Just build the dll and add it to your references in your project. When @madenwala finally checks the pull request I made in his repo, I'm sure he'll push it to nuget and github so your package will be updated in the long run. However, if he doesn't come back, I will personally upload my fork of this api onto nuget and will continuously refactor/iterate on it to keep it updated. Giving him some more time though.

from yelp.api.

dunsin99 avatar dunsin99 commented on August 16, 2024

How exactly do I run the code/project?

from yelp.api.

dunsin99 avatar dunsin99 commented on August 16, 2024

If you want to use this, the first thing you'll need to do is register as a developer with Yelp and get your API Key.

From there, it depends on what you are trying to do. If you just want to use the project in your code, it's just a NuGet package that you import just like any other dependency. Unfortunately it seems to only targets .NETPortable and the original author seems to not be updating it any more.

I've created my own fork that targets .NET Core 1.1 (hoping to add .NET Core 2.0 soon). I've also added additional functionality (like GraphQL), added an example project to show how you would use the code in your own project, and created a separate NuGet package for use. You can see more details about my fork here: https://github.com/Pinski/Yelp.Api.Web

If you are interested in pulling down the project and running it locally, then you'll just clone the repo and build it in Visual Studio.

What i meant to say is how can i verify that it is working. I have an API key and inserted it into the var but when i run my project in debug mode the result is empty.

from yelp.api.

dunsin99 avatar dunsin99 commented on August 16, 2024

Could you be a little more specific and maybe show some code? Not really sure what your problem is. What's the var you are talking about? What's empty? The example code in the Readme.md file shows you exactly how to use the NuGet package.

The fork I linked to has a full working example project that you can use as reference if you need further information:
https://github.com/Pinski/Yelp.Api.Web/tree/master/Source/Examples

Thanks for the example, I am running through it. I get a HTTP Error 502.5 - Process Failure when I build and run the example. I switched the API key for mine and still getting a similar error.

from yelp.api.

dunsin99 avatar dunsin99 commented on August 16, 2024

Could you be a little more specific and maybe show some code? Not really sure what your problem is. What's the var you are talking about? What's empty? The example code in the Readme.md file shows you exactly how to use the NuGet package.

The fork I linked to has a full working example project that you can use as reference if you need further information:
https://github.com/Pinski/Yelp.Api.Web/tree/master/Source/Examples

The nuget package for AspNetCore is 1.1.2: Is it a netcoreapp1.1 would I need to upgrade it?

from yelp.api.

dunsin99 avatar dunsin99 commented on August 16, 2024

I migrated to 2.0 and it now works!
Thank you very much

from yelp.api.

Related Issues (9)

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.