Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8005513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:15:02+00:00 2026-06-04T17:15:02+00:00

Basically, I need to get JSON data from Git’s web API. Great! Did that.

  • 0

Basically, I need to get JSON data from Git’s web API. Great! Did that.

So, now I have a ListView in an android app, each list element is the title and first 140 characters from the json (jsonObject.getString(“title”/”body”)). When the user clicks on a list element, a dialog with all the comments in supposed to load.

So each issue (JSONObject) should have it’s own comments, and indeed I can see the comments in the HTML version of the repo. However, how the heck do I download the comments in JSON form? So far, here’s the “comments” element from inside the original issues JSON object:

"comments": 1,
"milestone": null,
"number": 18,

So, doing the stuff in android shouldn’t be a big problem. I can detect the user’s list item choice, and then get any string inside the JSON object (I figure ID is key in helping to find the comments for that issue). But, I can’t figure out how I’m supposed to use GET like it says on this page under HTTP verbs (http://developer.github.com/v3/), I also can’t sort out how to utilize the command as seen on this page under Get a Single comment (http://developer.github.com/v3/issues/comments/).

Lastly, I am using a PHP script on a webpage to access the original JSON. So I can envision a situation where I run another PHP script to get the comments JSON based on the list choice the user made (getID) and then work with it on the screen as need. But I can’t do that without knowing how to get the comments!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:15:03+00:00Added an answer on June 4, 2026 at 5:15 pm

    Well, the url to get all the issues is something like this

    https://api.github.com/repos/octocat/Hello-World/issues

    as you can see you’ll receive a list of issues.

    After that just select the issue (let’s say the number 26 that has 2 comments) and just add to the url “26/comments”

    https://api.github.com/repos/octocat/Hello-World/issues/26/comments

    and you’ll have your comments!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to get data from JSON, transferred by Ajax from the client. Basically
I have a web application. On the client side I basically need to get
I have a request.json in mootools to get some data from a php function
I have an html-like xml, basically it is html. I need to get the
So basically I need to make feature that if you select something from first
i get a JSON response from a web service: {CoverageSearchByLatLongResult:{HasTransmissionAreasWithSignal:true,SwitchOffArea: {OpenForVastApplications:false,SeperateTileSetUrl:http:\/\/myswitch.merged.stage.orchard.net.au\/geodatafiles\/SwitchOffArea\/442b8844-3c05-4548-9424- 4fdafc1f3c62\/Seperate,HASStatus:Future,HASStatement:<p>The Household Assistance
I need a regular expression to basically get the first part of a string,
basically need to change the value that - admin_url() returns any idea?
Basically I need to setup my ASMX file so that when I pull it
What I basically need is a small console application that listens on port 80

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.