Questions tagged [discussion]
The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.
340 questions
9
votes
7
answers
4k
views
How to format time since xxx e.g. "4 minutes ago" similar to Stack Exchange sites
function timeSince(date) {
var seconds = Math.floor((new Date() - date) / 1000);
var interval = Math.floor(seconds / 31536000);
if (interval > 1) {
return interval + " years";...
1
vote
1
answer
170
views
I was building an irc bot with the stackapps api and...
So I was building an irc bot from scratch. I had named it sobot. Did the first test run and guess what? There's already an irc bot by that name. So what I am asking is: Am i paddling in the wrong ...
3
votes
0
answers
128
views
How the apps-libraries will be judged for the contest?
Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
5
votes
3
answers
273
views
Is Stack Apps the place to suggest applications?
Is StackApps.com the place to suggest applications you would like to see created?
I sometimes receive suggestions along the lines of "Is it possible add [feature-suggestion] to Stack Exchange?" I ...
4
votes
3
answers
341
views
Getting started: What kind of thing can we do with the SE-API that we can't do with the SE Data Explorer?
I want to know if my slender grasp of the latter will help me learn about the former.
9
votes
3
answers
252
views
Are there any restrictions on using icons/look-and-feel from the site(s)?
Can I haz non-logo icons from the site(s)?
I'm designing an app and my plan, assuming it pleases the court, is to use some of the icons/look-and-feel from the site.
For example:
The green and red ...
5
votes
1
answer
151
views
Site in closed beta but api working
Webapps has been added yesterday, website is in closed beta and it's not possible to see something on the website when you are not logged.
But if you use the API you can get information.
http://api....
1
vote
1
answer
69
views
In question/timeline api all votes have the same timestamp... is it intentional?
In question/timeline api all votes actions have the same timestamp in creation_date... is it intentional?
3
votes
0
answers
134
views
Observe a private beta in StackAuth
See here.
WebApps and Meta.WebApps are listed, as WebApps has entered the private beta phase.
Note that the state property for those two are private_beta and linked_meta respectively, values nobody ...
7
votes
0
answers
493
views
How to use min/max with sort
While some sort values make inference of the expected min/max values less than ambiguous, others do not.
Pending formal documentation, I hope this can serve as an informal reference.
Aggregated sort ...
5
votes
2
answers
183
views
Date that the contest ends
I hoped I wouldn't have to ask this, but after the sudden 0.9 release, it might be good to confirm...
Will there be at least a week's notice (preferably 2) given of the contest ending?
The ...
4
votes
0
answers
705
views
Area 51 site proposal: StackExchange API Application Development [closed]
The question was closed instead of migrated so I have opened a new question on meta
https://meta.stackoverflow.com/questions/55163
Currently intended role of StackApps.com is not entirely clear.
...
3
votes
1
answer
159
views
when/if/how/why do non-trilogy Stack Exchange sites aquire/provide API access
So I am looking at http://mathoverflow.net, trying to blow some cobwebs out of the dark corners of my brain that used to house some not-insignificant abilities and found myself wondering about API ...
11
votes
1
answer
3k
views
Should we add a "this site is not affiliated to Stack Overflow.." disclaimer to our website app?
I've checked legal section but it does not say anything specific of this aspect apart from:
Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
4
votes
0
answers
886
views
How to retrieve paged API results in C# and Silverlight
In this tip we are going to leverage the SimpleRequestFactory and gather a multipage response.
Let's pull the first 5 pages of 100 users on stackapps.com.
NOTE: for Silverlight, substitute Newtonsoft....
12
votes
0
answers
15k
views
How to call the API via JSONP in Plain Old JavaScript
This tips demonstrates how to call the API in JavaScript without the need of jQuery or other frameworks.
In a lot of cases you will find that the JSONP implementations provided in various frameworks ...
4
votes
0
answers
1k
views
Dev-Tip: How to call the API in C# and Silverlight
This tip shows a simple and reliable way to create HttpWebRequest that are configured to properly query the api.
With the exception of the AutomaticDecompression assignment, this code can be used in ...
8
votes
1
answer
567
views
How to batch up multiple id requests to maximize economy and still avoid (400) Bad Request [closed]
Update:
All of our grumblings and the unbearable beauty of our workarounds resulted in this issue being fixed last week.
You can now send 100 id in one request and receive 100 responses.
See Url ...
2
votes
1
answer
155
views
Explain http://stackauth.com/0.9/help/method?method=users/{id}/associated
Any One knows what this does?
What Id should I use?
5
votes
1
answer
145
views
Access to /users/recent/ (Recent Activity) through the API
Would it be possible to have access to a user Recent Activity?
I know that this is not a public information on the website, but I think that most part is public. I only see one Activity that should ...
4
votes
0
answers
219
views
Stack Overflow KDE Plasma widget
Is a Plasma widget being developed for Stack Overflow in KDE 4?
I tried StackTray, but I'm thinking of something more complete to use as a widget on my desktop. I'd like to see this done, or ...
4
votes
3
answers
747
views
What real world application does the Stack API have?
This is such a noob question, but its simple, so hopefully someone can answer for me please:
If you skill up in the Stack API, what purpose does it serve? What can you do with the API, how can you ...
7
votes
1
answer
244
views
Are apps created from the CC data dump ok to add?
I've created a few apps in the past using the CC data dumps that I can't move over to the API at this point. It seems like the stackapps site is meant to be the place to find apps for Stack Exchange ...
1
vote
1
answer
151
views
Creating plug-ins with StackApps which can be used on a per-user basis.
Facebook developers can create applications which run inside Facebook. For example, the Graffiti app adds a button to the New wall item popup, and has its own pages inside Facebook.
What if we could ...
1
vote
1
answer
195
views
why is badge counts a nested structure?
conclusion
a very short dialog with systempunotout showed me that I could look at this another way that makes a nested structure make perfect sense.
the q remains for reference.
This should be ...
1
vote
1
answer
81
views
redundant data in users
this is an example of truly redundant data. the paths are documented. they don't need to be included in the results.
"user_questions_url": "/users/22656/questions",
"user_answers_url": "/users/...
1
vote
1
answer
55
views
redundant question fields
These are simply pointing to known endpoints. This is truly 100% redundant data.
"question_timeline_url": "/questions/3078600/timeline",
"question_comments_url": "/questions/3078600/comments",
"...
9
votes
1
answer
184
views
The API v0.9 2010.06.24.002 as seen by SOAPI
Stack Overflow API as seen by the SOAPI parser and code generator:
With the API freeze, changes to the vast API should slow to a trickle, making manual maintenance possible. At this milestone, I have ...
12
votes
7
answers
393
views
API V2 Musings: What would you like to see
Answers should take the form of feature requests/modifications that are either obviously beyond the scope of v1 and or have been status-declined or status-deferred
They will be indexed here in the Q.
0
votes
2
answers
108
views
Scratch Pad Wiki Question
This q is for use by anyone who needs to modify, add or delete an answer or to modify the q to update the last_activity field.
Leave this description, but otherwise have at it.
0
votes
1
answer
70
views
r.e. /stats fields.
I see we are getting some meta data in stats now. This is good.
I see the api path in there, but I have to assume that it is simply part of the record that is being output and is not intended as a ...
9
votes
1
answer
254
views
Standardized set of sort icons?
Can we (anyone who is interested) create a "standard" set of icons that represent the various sorting methods available? That way, we'll have a set of universally recognized icons.
That means we'll ...
5
votes
3
answers
625
views
OBSOLETE - Build an app with Soapi.JS and gain praise and adulation. And some rep
Bounty Contest:
Build anything using the Soapi.JS JavaScript wrapper and either post the code or a link to a live demo.
When the question gets old enough (7 days I think) I will click 'start a bounty' ...
3
votes
2
answers
208
views
What does min and max mean when sort is "activity" or "hot"?
Does they mean anything actually? There was an "issue" when you needed to add min=0 to queries to actually get the answers instead of nothing. Just checked that this is not the case anymore, but was ...
1
vote
1
answer
108
views
/users/{id}/badges id parameter clarification
On /users/{id}/badges, the description of the id parameter
a semicolon delimited list of user ids
diverges from the inferred standard for multi-valued parameters:
A single primary key identifier or ...
5
votes
3
answers
215
views
API having more rights than a 0 rep user.
The fact that the API has total_upvotes and total_downvotes makes the fact that you need 1000 rep on the sites a bit weird. Are there more things that the API knows by default, which you can only ...
2
votes
2
answers
280
views
Abuse potential in API write-access?
I understand some of the use-cases for write-access in v2 of the API -- primarily to enable full access to StackExchange sites without a web browser. And I'm sure it will be a hit for people who want ...
4
votes
3
answers
125
views
Are these fields redundant?
Why do we have total_upvotes + total_downvotes as well as score?
Doesn't
score = total_upvotes - total_downvotes
Is this always true? If so, isn't it redundant?
12
votes
1
answer
201
views
Is it safe to assume the API will be at api.<DOMAIN>?
I'm writing an application that will eventually allow you to use it for any StackExchange site. Thus, I'm allowing users to input the domains of the sites they want to use (e.g. stackoverflow.com). I'...
1
vote
1
answer
88
views
Is there a difference between "newest" and "creation"?
When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
2
votes
3
answers
282
views
Best way of structuring a library?
I am busy building an app using the API and I am about to start to work with the API.
I have looked at the one other PHP library, and it is one object with method calls which return back a ...
8
votes
1
answer
142
views
Will there be a "last call" when the API is about to be released?
I understand the contest ends when version 1.0 of the API will be released, but will there be any indication when this time comes? So that you know you can allocate one last weekend for final fixes?
2
votes
2
answers
73
views
Should /badges/{id} returns users that have been awarded all badges or any badge in the list?
The current behavior of the list version of /badges/{id} is to return the users that have been awarded any of the badges in the list.
An alternative is to have the API to return the list of the users ...
3
votes
1
answer
120
views
Can we merge the 'library' and 'wrapper' tags?
There seems to be some fragmentation amongst the tags assigned to wrappers/libraries. Some have library, some have wrapper, and some have both.
If I'm not mistaken, they are the same thing. Can we ...
1
vote
3
answers
2k
views
OBSOLETE - iStack (iPhone app for Stackoverflow sites) - suggestions for UI
Well there's a much better and complete iphone app called six to eight by Adam Wright here: Six to Eight: An iPhone client (discontinued)
(NB: this post did have an app but well, it was useless)
2
votes
1
answer
148
views
Top questions/answers
Is there a way to get a list of X questions/answers with the highest votes up, visits, etc?
Say I want to get the list of most voted questions in .NET category (tag) or Java.
0
votes
1
answer
112
views
/questions/tagged/{tags} - tags param clarification
This API method has been removed as of Jul 16 '10. The original question is preserved below for posterity.
It is not clear what a "list" of {tags} looks like.
Does this parameter follow the ...
2
votes
1
answer
143
views
Indicate in documentation whether "numbers" can be non-integral
"number" is an very ambiguous term. Integral or non-integral?
For developers in more dynamically-typed languages like JavaScript, this is not an issue; but when using more statically-typed languages ...
1
vote
1
answer
100
views
`type=jsontext` JSON results for help pages
It would greatly simplify machine reading if we could apply type=jsontext to API help pages, including the index.
Update: Here's an unofficial JSON schema for v1.x.
1
vote
1
answer
106
views
Position required parameters at the top of help pages
The required id parameter for ...a lot of API routes... is now placed at the bottom of the page.
It makes more sense to place required parameters at the top of the page with a slight separation, like ...