New answers tagged

1

I am just 2 years late to answer your question :-( but this should help for anyone else looking for a C# solution. private static async Task<Type> PostToStackOverflowAsync<Type>(string url, Dictionary<string, string> values) where Type : new() { string jsonText; try { using (var client = new ...


4

It's allowed with the caveat there's no guarantee it won't be merged, provided that you abide by the good faith criteria. If you attempt to actually run something like the script in your previous post, for example, both accounts will likely be suspended without second thought. Having a separate account for testing doesn't shield you from the consequences of ...


2

To get the questions in a tag you can simply use the /questions endpoint as that does accept a tagged query parameter, from that document page: To constrain questions returned to those with a set of tags, use the tagged parameter with a semi-colon delimited list of tags. This is an and contraint ... The API endpoints can relatively simple be used from ...


0

Several things: You appear to be trying to use Soapi.CS -- which is way obsolete and using an old API version that no longer functions. If you are going to use .net, try one of the more recent libraries like: StacMan ExchangeLinq BridgeStack Stacky This code: .Questions.ById(1) would fetch question #1, which has been deleted. The API will not fetch ...


3

You can create and edit filters from the documentation page of the API endpoint. So you start at the Index of all endpoints. There you'll find /users/{id}/answers. On the right at the top of the parameter block you'll find the filter dialog: When you click the [edit] link the filter dialog opens: Where you can expand any the [types] provided by this ...



Top 50 recent answers are included