Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
1
vote
1 answer

How to get all questions related to a tag, using the stackr library?

I would like to retrieve all question asked for a specific tag. Specifically for every question: all tags, date posted, body, user who posted the question, and votes. I tried this: library(stackr) test <- stack_tags("r","questions",…
Konstancs
  • 47
  • 1
  • 7
1
vote
1 answer

OAuth for a Stack Exchange API library?

I use the stackr library for the Stack Exchange API. I have registered my API and have the credentials. In the documentation it refers that it is possible to use a general auth. What kind of commands should I include to use the API in a code like…
Pozmanski
  • 181
  • 11
1
vote
2 answers

How to get questions' text using the stackr library for the API?

Using stackr it is possible, with the following command, to list the questions from a specific user. library(devtools) devtools::install_github("dgrtwo/stackr") library(stackr) textques <- stack_users(712603, "questions", num_pages=10,…
Pozmanski
  • 181
  • 11
1
vote
1 answer

Stack Exchange API - getting answers for the questions object

I use https://api.stackexchange.com/docs. To get a sample question, I use the address https://api.stackexchange.com/2.2/questions/6827752?&site=stackoverflow. Thanks to this, he gains a question. The following page shows…
sdfgsdgsgr
  • 95
  • 1
  • 1
  • 8
1
vote
1 answer

Node.js Request GET returning raw data instead of JSON

I have a particularly interesting issue, So I am trying to use Stackoverflow Search/Advanced API to query stackoverflow to get questions. I have tried it using PostMan and its returning JSON but in my Node.js application it is returning me raw…
Hari Govind
  • 369
  • 2
  • 14
1
vote
4 answers

"Unexpected character exception" when making GET request to StackExchange API using Flurl

I have created a console application in which I'm making a simple GET request to the Stack Exchange API to fetch some comments. I'm using Flurl. This method is called from Main private static async Task GetComments() { dynamic d = await…
adiga
  • 34,372
  • 9
  • 61
  • 83
1
vote
2 answers

Stack exchange oauth response unreadable

Hello I am trying to set up an authorization oauth client based on Java and apache Oltu library for stack exchange api. The response i received looks like this when printed in console …
Arka Mallick
  • 1,206
  • 3
  • 15
  • 28
1
vote
1 answer

Error retrieving multiple ids using the Stack Exchange API

Working with the Stack Exchange 2.2 API, I have run into a roadblock when using post_ids to retrieve data. My results are incomplete. According the online documents for the posts/{ids} interface, I should be able to retrieve 30 questions. (It says…
Mozahler
  • 4,958
  • 6
  • 36
  • 56
1
vote
1 answer

How to cross check a technical skill (tag) with stackexchange api?

I'm having some custom keywords/tags (technical keywords which are dynamically generated by a Machine Learning module). Example: MVC, aws, etc... So what I need is to check whether that particular tag exists in stack exchange API. Through following…
Amila Iddamalgoda
  • 4,166
  • 11
  • 46
  • 85
1
vote
1 answer

Get the creation date of a tag from the Stack Exchange API

I am querying the SE API, on site Stack Overflow, to get data on the tags used on the site. The endpoint for tags furnishes said tags without the creation date, so that in fact the typical response is (this is the first items, where sorting has been…
mar tin
  • 9,266
  • 23
  • 72
  • 97
1
vote
1 answer

HTTP GET request to StackExchange API doesn't return in AngularJS app

I made a GET request to get a user by ID, but it doesn't seem to work (nothing happens at all). I am using my user ID so I know the user exists. I get no error message. Here is my AngularJS code : myApp.controller('mainpage', ['$scope', '$http',…
jossi geda
  • 13
  • 4
1
vote
1 answer

Can't use required library when an @grant value is set

There are a few questions relating to this, but the general 'solution' of using unsafeWindow isn't working for me. I'm trying to use the Stack Exchange Javascript SDK. This works: // ==UserScript== // @name testing // @include …
1
vote
1 answer

How to restrict fields returned by stackexchange api, and turn off paging?

I'd like to have a list of just the current titles for all questions in one of the smaller (less than 10,000 questions) stackexchange site. I tried the interactive utility here: https://api.stackexchange.com/docs/questions and it both reports the…
uhoh
  • 3,713
  • 6
  • 42
  • 95
1
vote
1 answer

Using the StackExchange API to search on keywords

I'm thinking about writing an app that lets you download data from StackOverflow. There is one caveat: I want to download data that contains specified keywords. For example: if you search for "How do I implement an interface in Java?" you get the…
1
vote
1 answer

Stackexchange API encoding

I am writing following decorator for Stackexchange API: class StackOverflowHandler(tornado.web.RequestHandler): def get(self, look_up_pattern): url =…
Rudziankoŭ
  • 10,681
  • 20
  • 92
  • 192