Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
121 questions
2
votes
1
answer
163
views
Is there any way to get statistics by tag?
We are Stack Overflow Teams users. We want to get the statistics by tags.
Currently only StackExchangeApiClient.getStatistics API is found which include all team's data.
And can the https://...
2
votes
1
answer
175
views
Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?
This is the query I want to run:
/2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
2
votes
1
answer
109
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
2
votes
1
answer
134
views
Area 51 sites api [duplicate]
Why does http://api.stackoverflow.com/1.1/usage/stackauth-methods/sites not list Area 51 (http://area51.stackexchange.com/)
2
votes
1
answer
397
views
Can I fetch Stack Overflow users by location in Stack Exchange API
I read the documentation and I know that I can get users' locations but I have not seen anywhere about querying by location. Does that mean that it is not possible? If it is possible, how?
As an ...
2
votes
1
answer
60
views
Advanced search doesn't return expected results when using min & max (dates) together?
I want to use the Advanced Search API to get the same results as the Stack Overflow site search.
With it, I can see new questions on 11/10/2015.
When I tried to craft a query using the Advanced ...
2
votes
1
answer
174
views
Is there an easy way to get user reputation via API?
I am looking for an easy way to access user reputation so that I can write a small react component and display my rep on my portfolio site.
I want to make this package available on NPM and have ...
2
votes
1
answer
337
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
1
vote
1
answer
68
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
1
vote
1
answer
102
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
1
vote
1
answer
69
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...
1
vote
1
answer
165
views
How to increase the allowed number of API calls?
Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app).
Is it possible to get that number increased?
1
vote
1
answer
79
views
How to sort /questions/featured by bounty_closes_date
The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
1
vote
1
answer
103
views
fromdate is ignored for /posts/{id}/comments requests
The api docs:
http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments
The test request.
You can see comment itself here, it's four months old, while cutoff date in request is less than ...
1
vote
2
answers
135
views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example gaming.stackexchange....
1
vote
1
answer
111
views
How to get all questions with a specific tag between certain dates
I would like to get all questions created and tagged with tag "R" between 2 dates.
I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
1
vote
3
answers
222
views
What is the best way to provide support for an unknowable number of StackExchange sites?
I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
1
answer
2k
views
How to login programmatically on Android?
I think my question is not a duplicate of this one: How to login programmatically
I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
1
vote
1
answer
481
views
Is there a SQL-like query for the API?
I've looked at the API docs.
However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc).
Example: data....
1
vote
2
answers
56
views
Is there a glossary of the properties returned in response to the Stack Exchange API?
While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
0
votes
1
answer
88
views
How to use the API to show the user reputation? [duplicate]
How do I use the Stack Exchange API to let my users enter their Stack Overflow URL and then extract their reputation and show it in a profile controller in Rails?