Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
2
votes
2 answers

StackExchange API: Could not parse client_id

I'm trying to connect to the StackExchange API in R. When I try: library(httr) end <- oauth_endpoint(authorize = "https://stackoverflow.com/oauth", access = "https://stackoverflow.com/oauth") myapp <-…
Hack-R
  • 22,422
  • 14
  • 75
  • 131
2
votes
1 answer

Stackover API gives different search results than web interface

I'm playing with the SO api, and noticed that the api call to search for lesscss gives total: 13 items with the api param tagged=lesscss http://api.stackoverflow.com/1.0/search?tagged=lesscss but the web interface gives a little over 30…
zmol
  • 2,834
  • 5
  • 26
  • 29
2
votes
2 answers

Stackexchange API: fetch answers to a specific stack post

I am using the stackAPI Python wrapper to interface with the stackexchange api. I am trying to fetch the top most popular questions above a vote count threshold; and for each of those questions the top answers above a certain vote count. SITE =…
Santino
  • 776
  • 2
  • 11
  • 29
2
votes
1 answer

How do I resolve a JSON response of special characters?

How do I resolve a JSON response of special characters? When I use the Postman tool with this URL, I receive valid and expected JSON. However, when I make a HTTP request with this url within .Net, I receive a response of special characters. The code…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
2
votes
1 answer

SE Data Explorer table for link visits

I would like to use the API or SEDE to discover which of my shared links (created by the "share" button as appears below each question/answer) have been visited by the most unique IP addresses. Which table is this information stored in? I tried…
NH.
  • 2,240
  • 2
  • 23
  • 37
2
votes
0 answers

How can I not authenticate everytime in StackExchange API calls using JS client?

I am using this code from the StackExchange App Documentation to get the user information from StackOverflow. // For simplicity, we're using jQuery for some things // However, the library has no jQuery dependency $(function(){ // Initialize…
Sahil
  • 3,338
  • 1
  • 21
  • 43
2
votes
2 answers

Stack Overflow query to select questions with 3 or more answers

When using the stack overflow data explorer, how can I select questions with 3 or more answers?
2
votes
3 answers

cannot use variable declared class in the function inside the same class. why ?

i have declared a variable in the class 'Main' with name 'context2'. But i cannot use the variable inside the function 'Main_Load'. what am i doing wrong ? using System; using System.Windows.Forms; using Soapi; using Soapi.Domain; namespace…
Vishnu Pradeep
  • 2,087
  • 2
  • 29
  • 56
2
votes
3 answers

request to Stack Overflow API returning weird response

I am using the following code to call the Stack Overflow API: var request = require('request'); var url = 'http://api.stackexchange.com/2.2/search?order=desc&sort=activity&tagged=node.js&intitle=node.js&site=stackoverflow'; request({ headers:…
CodeMonkey
  • 2,265
  • 9
  • 48
  • 94
2
votes
1 answer

CLI to StackExchange Data Explorer

I'm starting to use the StackExchange Data Explorer, which is a cool tool. Apart from the web interface, is there a CLI way to connect to the StackExchange SQL engine without downloading the whole data dump to a local SQL database. What I want to do…
2
votes
1 answer

Get only closed questions from the Stack Exchange api, via /questions?

I want to get only closed questions from /questions of the Stack Exchange API. I've played around a bit with the filters, and I've come up with something which gives me some JSON like this for each question: { "tags": [ "c++", …
Jonas Czech
  • 12,018
  • 6
  • 44
  • 65
2
votes
1 answer

Getting the upvotes of an answer using Py-Stackexchange

I'm using Py_Stackexchange to pull data from Stackoverflow for some statistical analysis, and stumbled upon a problem. I need to retrieve the upvotes and downvotes on an answer. I have the stackexchange.Answer object, and it has a field called…
Xstatic
  • 1,411
  • 1
  • 11
  • 14
2
votes
1 answer

Py-StackExchange raise a valueError

I try to use the StackExchange API and I found the Py-StackExchange library for Python. I installed it through easy_install in Windows. Here is the code: from stackexchange import Site, StackOverflow so = Site(StackOverflow) my_favourite_guy =…
Tasos
  • 7,325
  • 18
  • 83
  • 176
2
votes
2 answers

StackExchange API - Deserialize Date in JSON Response

I am trying to use stackexchange api. In this link I am trying to get some users information. If you run, it you will get the JSON response. { "items": [ { "badge_counts": { "bronze": 5630, "silver": 4212, …
user2094311
2
votes
1 answer

StackExchange API for people search on StackOverflow

I was trying to search people in StackOverflow using the StackExchange APIs. Is there a way to search people by the tags they have associated with there profile. Like LinkedIn API allows searching for "Java Programming" giving back people in 1st 2nd…
Bimal
  • 21
  • 4