GithubHelp home page GithubHelp logo

use github rest/json api about bugwarrior HOT 6 CLOSED

dacresni avatar dacresni commented on September 26, 2024
use github rest/json api

from bugwarrior.

Comments (6)

ralphbean avatar ralphbean commented on September 26, 2024

Can you link us to where the html scraping is happening?

from bugwarrior.

dacresni avatar dacresni commented on September 26, 2024

you caught the version of the issue before i fixed that. I looked at it again. Its not happening, sorry.

from bugwarrior.

ralphbean avatar ralphbean commented on September 26, 2024

All good. Thanks for reporting!

from bugwarrior.

dacresni avatar dacresni commented on September 26, 2024

i can't be certain this is screen scraping but its NOT using the JSON API Github has. its liable to break if they should change their layout. https://github.com/ralphbean/bugwarrior/blob/develop/bugwarrior/services/githubutils.py here is where its' happening

from bugwarrior.

ralphbean avatar ralphbean commented on September 26, 2024

I know it looks crazy, but this is actually using the JSON api. See this line for the call to the .json method: https://github.com/ralphbean/bugwarrior/blob/develop/bugwarrior/services/githubutils.py#L78

Doing "pagination" of the github API is really weird. That might be what you're seeing.

from bugwarrior.

dacresni avatar dacresni commented on September 26, 2024

sigh, I stand corrected. sorry, I guess its rate limiting. My fault

On Mon, Jul 29, 2013 at 7:45 PM, Ralph Bean [email protected]:

I know it looks crazy, but this is actually using the JSON api. See this
line for the call to the .json method:
https://github.com/ralphbean/bugwarrior/blob/develop/bugwarrior/services/githubutils.py#L78

Doing "pagination" of the github API is really weird. That might be what
you're seeing.


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-21762588
.

from bugwarrior.

Related Issues (20)

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.