Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
1
vote
1 answer

How to retrieve data from Stack Exchange API with user authentication?

Currently I'm working a project which needs to retrieve Stack Overflow questions to analyze them. First I started to retrieve data without creating an authentication token. response =…
SjAnupa
  • 102
  • 10
1
vote
1 answer

How to retrieve data as JSON and not as HTML from Stack Exchange API?

Currently I'm working on a Machine Learning Project which analyzes questions on Stack Overflow. I imported requests library and used it to retrieve to questions as follows import requests data=requests.get("https://stackoverflow.com/questions") I…
user10604073
1
vote
1 answer

How to get information from different objects with 1 call?

I need to have list of tags with 3 fields: tag_name tag_description counter_of_posts. Since counter_of_posts is a field of tag-object and tag_description (excerpt) is a field of tag_wiki, how can I get needed information with one call?
1
vote
1 answer

Is there a way to get user events through stackexchange API?

I want to get all available events for certain (one) user on StackOverflow such as questions answered, accepted, posted questions, posted comments etc. Something similar to activity events in github API…
Lotix
  • 309
  • 3
  • 4
  • 14
1
vote
1 answer

How to receive detailed reputation from SEDE?

Using the api it is possible to receive the detailed user reputation like this: https://api.stackexchange.com/docs/reputation-on-users#ids=1719510&filter=default&site=stackoverflow&run=true How is it possible to make it on SEDE?
Nathalie
  • 1,228
  • 7
  • 20
1
vote
1 answer

Create stackoverflow inbox unread messages list in (Google Sheets) to create a bot in Telegram and receive these notifications

To fetch unread inbox messages, there is this API: https://api.stackexchange.com/docs/inbox-unread { "items": [], "has_more": false, "quota_max": 10000, "quota_remaining": 9998 } I'd like to ask for help getting me to list these inbox…
1
vote
1 answer

Is there a way to extract questions and answers from Stack Overflow that share the same tag(s)?

Is there a way to extract questions and answers from Stack Overflow that share the same tag(s) into any of the following formats: .tsv, .pdf, .doc, .docx, .xlsx, containing questions and answers in sequence (for the purpose of populating a knowledge…
1
vote
1 answer

How to get the id of the question or answer linked to a specific badge award?

I can get the badge id for a specific user, for example query: Select * From Badges Where UserId = 10907521 Example badge id from result 30884218 But, how is it possible to get the associated question or answer id (if applicable) for every badge…
Elr Mant
  • 507
  • 1
  • 4
  • 14
1
vote
1 answer

Stack Overflow search API for text in body

I am working on a project to identify certain text in the body of Stack Overflow questions. It works but for this one case it is not working. I am looking to see if through code I can find exposed access keys for AWS to understand the gravity of the…
Digvijay Sawant
  • 1,049
  • 3
  • 16
  • 32
1
vote
0 answers

After authentication with api app gets repened but intent has no data with it

I'm trying to build an app using stackexchange api and user will able to use app after authenticating them self with stackoverflow.com . But problem here i am getting is after completing authentication when app is reopened and i am looking for data…
Chetan Pawar
  • 404
  • 3
  • 4
1
vote
1 answer

Unable to download the sample code for theworldsworststackoverflowclone using Tortoise SVN

After going through stackapps, just tried downloading theworldsworststackoverflowclone with Tortoise SVN. When I try with Repo-Browser, I get the error: Unrecognized URL scheme for hg clone https…
Simsons
  • 12,295
  • 42
  • 153
  • 269
1
vote
1 answer

How to reduce query time for stackexchange api?

I try to collect for a list of users the questions. So I prepared this command lines: library(stackr) dft <- data.frame() for (j in 1:nrow(df)) { questions <- stack_users(df$userid[j], "questions", num_pages=1000000, pagesize=100,…
Stiar
  • 45
  • 1
  • 8
1
vote
0 answers

How to get Country from value of the key Location?

I am trying to add a new key called Country. My main problem is to convert the location into Country. The Users from Stackoverflow can write everything and it has no format. I have tried geopy but it doesn't detect some countries for Russia or Tokyo…
JoshED
  • 33
  • 2
1
vote
1 answer

How to get the Timestamp of awarded time for badges?

Which is the way to take the time of a badge awarded to a user? I tried the notification as it is recommended here but I get: method not available
Elfan
  • 25
  • 7
1
vote
2 answers

Consuming StackOverflow API and Visual Studio 2010

I have downloaded TheWorldsWorstStackOverflowClone. One of the project is called TheWorldWorsts.ApiWrapper, which basically is the core of accessing the API. There is a class called ApiProxy.cs, which has all the methods for the API call. This is…
aherlambang
  • 14,290
  • 50
  • 150
  • 253