3

I periodically browse the tag and found this question today:

How to get track ID from URL using the SoundCloud API

The author of the question did not specify what programming language he wanted an answer in, so I just provided a high-level answer on what endpoints to hit to get track information.

How should the questions be handled? Should I have posted a comment and asked the user for more information?

1 Answer 1

7

The author of the question did not specify what programming language he wanted an answer in, so I just provided a high-level answer on what endpoints to hit to get track information.

That's totally correct! Without being asked for examples in a specific language, laying out the structure of the API, and pointing out the parts to be used, is just what you should do.

How should such questions be handled?

For APIs that can be targeted similarly in many languages (such as the HTTP API in question), no further action is required. They can be answered without problems - as you just did.

Only if the usage of the API deviates a lot depending on the application language, more information needs to be given in the question. RegEx questions see this kind quite often.

Should I have posted a comment and asked the user for more information?

Yes, you can always do that. Now that you know the OP is using PHP, you can extend your answer with a more specific example - if you want.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .