Giter VIP home page Giter VIP logo

Comments (11)

mleveck avatar mleveck commented on July 26, 2024

I'll try to look into this. It could be that one of the libraries used has changed it's api. Or could be something else. What kind of app are you trying to use this in? Desktop? Web?

from yhandler.

shawnhind avatar shawnhind commented on July 26, 2024

Well I was trying to use it in a web app for pulling basic sports data through the Yahoo API. Am I using it correctly? Do I have to call any of the other functions before calling object.call_api('URI'). What is the difference between call_api and api_req. Which one should I use? From the looks of it call_api just turns in the query string into a full URI?

from yhandler.

mleveck avatar mleveck commented on July 26, 2024

It's not set up out of the box for webapps. It's set up for a command line
client. You'll notice it using OOB for the intermediate token step.
On Oct 1, 2014 3:10 PM, "Shawn Hind" [email protected] wrote:

Well I was trying to use it in a web app for pulling basic sports data
through the Yahoo API. Am I using it correctly? Do I have to call any of
the other functions before calling object.call_api('URI'). What is the
difference between call_api and api_req. Which one should I use? From the
looks of it api_req just turns in the query string into a full URI?


Reply to this email directly or view it on GitHub
#2 (comment).

from yhandler.

shawnhind avatar shawnhind commented on July 26, 2024

Now it appears to be a different issue when I try using it with api_req and a query string:
Below has my test code and my error message.
http://pastebin.com/fviZig5z

from yhandler.

shawnhind avatar shawnhind commented on July 26, 2024

Well I mean I'm planning on using it in a web app but I'm currently messing around with it in a desktop program.

from yhandler.

mleveck avatar mleveck commented on July 26, 2024

Ok. I'll take a look when I can then. Unfortunately with my job, that
probably won't be until Saturday. If you find the bug before then, feel
free to submit a patch.
On Oct 1, 2014 3:20 PM, "Shawn Hind" [email protected] wrote:

Well I mean I'm planning on using it in a web app but I'm currently
messing around with it in a desktop program.


Reply to this email directly or view it on GitHub
#2 (comment).

from yhandler.

shawnhind avatar shawnhind commented on July 26, 2024

Am I using it correctly though from what you see?

from yhandler.

mleveck avatar mleveck commented on July 26, 2024

Assuming you correctly set up the author.csv , that looks right.
On Oct 1, 2014 3:24 PM, "Shawn Hind" [email protected] wrote:

Am I using it correctly though from what you see?


Reply to this email directly or view it on GitHub
#2 (comment).

from yhandler.

sheepeatingtaz avatar sheepeatingtaz commented on July 26, 2024

I just started using this for the same sort of thing as Hinds and also get the error regarding 'pre-request'

from yhandler.

sheepeatingtaz avatar sheepeatingtaz commented on July 26, 2024

Looks like it's a problem with requests-oauth and the version of requests: maraujop/requests-oauth#42

I haven't tried, but there is a workaround listed that I will have a go at later

from yhandler.

cllin avatar cllin commented on July 26, 2024

A work-around is to use older version of Request. version 0.14.0 works for me.

from yhandler.

Related Issues (5)

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.