Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
0
votes
1 answer

Different data format when using the Stack Exchange API in browser and from NodeJS or curl

I'm trying to retrieve answer data via the StackExchange API. So far I've found the URL I want to pull from my application and in the browser it returns the expected data in plain text, JSON…
AJFaraday
  • 2,411
  • 1
  • 16
  • 39
0
votes
2 answers

WP7: Encoding.Default

I'm trying to get results from SO api in a WP7 app. I was able to get it working in a console app when I used the following code static void webClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) { …
Dustin Davis
  • 14,482
  • 13
  • 63
  • 119
0
votes
1 answer

Accessing data from Stackoverflow using Stack API with fromdate parameter

I am trying to scrape questions related to Python from Stackoverflow using STACKEXCHANGE API between two given dates. I was accessing the data without key. Then I faced throttling issue and was banned for 20 hours. I read the documentation of Stack…
user2293224
  • 2,128
  • 5
  • 28
  • 52
0
votes
1 answer

How to fecth all results into one api call?

Using this it is possible to fetch user time line: import pandas as pd from stackapi import StackAPI SITE = StackAPI('stackoverflow', key="please_add_your_key_here") post = SITE.fetch('users/{ids}/timeline', ids=[5620], max_pages=10000000,…
Nathalie
  • 1,228
  • 7
  • 20
0
votes
2 answers

JSONDecodeError while retrieving answers from Stack Overflow using Stack Exchange API

I am using StackAPI to extract the python related question, answers, and comments. I use following code to extract the questions related to Python. from stackapi import StackAPI SITE = StackAPI('stackoverflow') questions = SITE.fetch('questions',…
user2293224
  • 2,128
  • 5
  • 28
  • 52
0
votes
1 answer

Is there a way to get my Stack Exchange stats?

I’m working on a re-creation of the flare image that Stack Exchange offers, and the re-creation is more responsive in that I can hover over a site icon and show my stats for a given Stack Exchange domain. I currently have to manually update my data…
Hazel へいぜる
  • 2,751
  • 1
  • 12
  • 44
0
votes
1 answer

Web scraping by tag on stack overflow

I would like to do web scraping on this site (stackoverflow.com), I was wondering if there was an API or some other tool that can be used with Python to get all the comments containing a specific tag. For example, how do I get all the posts and…
0
votes
1 answer

Importing json file from stackexchange and print using node js (express)

I'm trying to request the json file from stackexchange api and when the server loads save it on the client side so I can manipulate/change it locally. I tried using this code but page just keep loading and nothing happens. const express =…
Aman Raj
  • 239
  • 3
  • 15
0
votes
1 answer

OAuth not granting access while using Google Apps Script

I'm trying to call StackExchange's API, using Google Apps Script and Google Sheets. I can't figure out where in the OAuth process things are going wrong. My current code is not granting access: function getStackExchangeService_() { var CLIENT_ID =…
0
votes
1 answer

How can I automatically publish my questions and their responses to my blog?

I want to publish my questions and their responses asked here (on Stack Overflow) to my blog (or Linkedin, etc.) automatically. I host my blog on blogger.com. Is that possible?
0
votes
1 answer

How can I fetch the total amount of items?

I'd like to call for a stack exchange query to get the number of questions that were asked in a certain time range about a certain tag. How can I do it? according to api's documentation it said that: If you're looking to just select total, exclude…
GyRo
  • 2,586
  • 5
  • 30
  • 38
0
votes
0 answers

Using httr in R to establish an implicit Oauth2 flow with StackOverflow.com

I am trying to establish an "implicit" Oauth2 authorization flow for my test connect in R to StackOverflow via the StackExchange API. I am in situation #3 of this related post, that specifies how to set the redirect_uri and other values in a…
Hack-R
  • 22,422
  • 14
  • 75
  • 131
0
votes
1 answer

Pass an array of tag parameters to the Stack Exchange API?

I want to retrieve top tagged questions per day using the Stack Exchange API. This API call works for "oracle":       https://api.stackexchange.com/2.2/tags?inname=oracle&site=stackoverflow Now I want to pass an array of parameters to this API in…
Srini Sydney
  • 564
  • 8
  • 17
0
votes
2 answers

Get the date/time a badge was awarded?

Using this, it is possible to take the badges from a specific user of Stack Overflow: library(stackr) badges <- stack_users(9371451, "badges", num_pages=100000, pagesize=100) How can I add a parameter to take also the timestamp that the badge was…
Pozmanski
  • 181
  • 11
0
votes
0 answers

How to get the user ranking data of Stack Exchange using the API?

I want to get the user ranking data on the "Users" page of Stack Exchange (see the following figure), but do not find relevant APIs implementing such goals. enter image description here
roadfar
  • 51
  • 8