Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
6
votes
1 answer

List of questions with tag with the Stack Overflow API

As some of you know, Stack Overflow now has an API, which now makes these types of questions valid programming questions. My question: I'm trying to write a small script to connect to the Stack Overflow API to get a list of all questions under a…
Lingo
  • 1,865
  • 2
  • 16
  • 14
6
votes
2 answers

Encoding issue with requesting JSON from StackOverflow API

I can't figure this out for the life of me. Below is an implementation with the request module, but I've also tried with the node-XMLHttpRequest module to no avail. var request = require('request'); var url =…
Jason Barry
  • 738
  • 5
  • 17
6
votes
1 answer

Stackoverflow API response format

The Stackoverflow API is returning an unexpected response when C# to create a HTTP GET request. If I paste http://api.stackoverflow.com/1.1/users/882993 into the browsers address bar I get the correct JSON response: { "total": 1, "page": 1, …
Jack
  • 15,614
  • 19
  • 67
  • 92
5
votes
1 answer

How the 10 million questions counters on stackoverflow are made?

Stackoverflow is celebrating 10 Million Questions. Congratulations! Providing us this link: https://stackoverflow.com/10m There are 3 counters displayed, and the number of each counter is increasing fast and not static. However, I don't see any AJAX…
lickmycode
  • 2,069
  • 2
  • 19
  • 20
5
votes
5 answers

How can I search through Stack Overflow questions from a script?

Given a string of keywords, such as "Python best practices", I would like to obtain the first 10 Stack Overflow questions that contain that keywords, sorted by relevance (?), say from a Python script. My goal is to end up with a list of tuples…
Federico A. Ramponi
  • 46,145
  • 29
  • 109
  • 133
5
votes
1 answer

How do I access the StackExchange API authenticated methods from a perl script?

I'm using WWW::Mechanize. For the methods that do not require authentication, I get those as I would any other url, and then use the perl JSON module to parse out whatever data I want: my $response =…
John O
  • 4,863
  • 8
  • 45
  • 78
4
votes
4 answers

Trying to access stackoverflow api but getting parse error

In trying to use the stackoverflow api with ajax and jquery and I just can't get it to work. I know I have to use jsonp as the datatype and I keep reading different ways of doing the jsonp request but I still can't get it to work. This is my ajax…
locrizak
  • 12,192
  • 12
  • 60
  • 80
4
votes
2 answers

How can I get the answers for specific users via the Stack Exchange API?

I want to count the number of answers for some specific users within a certain time range.I can't find the answers for those, though. The following script doesn't return anything: from stackapi import StackAPI from pprint import pprint user_list =…
A_Suh
  • 3,727
  • 6
  • 22
4
votes
0 answers

Stackoverflow API - get "received" upvote count of a user

I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" which returns the number of how often a user has…
Sascha Krause
  • 307
  • 1
  • 8
4
votes
2 answers

Get GitHub account using StackExchange API

I am trying to use the StackExchange API to retrieve the GitHub link a user has set in his profile. I am talking about this one: However I'm not finding methods to retrieve that data. I'm also not sure whether the API offers access to that…
rgaponov
  • 133
  • 1
  • 7
4
votes
1 answer

Stack Exchange API & User Profile

Is it possible to get user profile information such as GitHub, Twitter account names thru the API? This information is visible in the user profile page, I'd like to know if there is a way to access this information programatically.
Sahas
  • 3,046
  • 6
  • 32
  • 53
4
votes
3 answers

JSON URL from StackExchange API returning jibberish?

I have a feeling I'm doing something wrong here, but I'm not quite sure if I'm missing a step, or am just having an encoding problem or something. Here's my code: URL url = new URL("http://api.stackoverflow.com/0.8/questions/2886661"); …
shsteimer
  • 28,436
  • 30
  • 79
  • 95
4
votes
1 answer

How to retrieve stackoverflow tag usage count via stackexchange api call?

I want to retrieve the 'tag usage count' of a language like Ruby or Java via the StackExchange API. Basically I want to retrieve these numbers via API call: https://stackoverflow.com/tags e.g. how do I get the 780k for Java as seen in the link via…
ThinkTeamwork
  • 544
  • 5
  • 19
4
votes
1 answer

Portfolio with Stack Exchange Basic Info

I am currently wanting to develop a webpage that displays my achievements in Stack Exchange. Just the basic info... Badges earned, and reputation. I am a beginner in Javascript. I reviewed the Javascript SDK briefly but cannot seem to get past the…
jsetting32
  • 1,632
  • 2
  • 20
  • 45
4
votes
1 answer

how to decode the Stack Exchange API response

I am trying to retrieve the response of stack exchange api like [http://api.stackexchange.com/2.2/tags?order=desc&sort=popular&site=stackoverflow] I am using the following code to retrieve the response import java.io.BufferedReader; import…
ravikumar
  • 893
  • 1
  • 8
  • 12
1 2
3
18 19