Yeah, another thread, but this one really has be confused. I’m updating my search wrappers but I am getting extremely inconsistent results when I’m searching with the same exact query and using the same exact method call. Sometimes all four calls will be the exact same, but the majority of the time I will get results like this:
This is one of the results I get when from these method calls, that should return the exact same result.
SearchChannels base_search = g_twitch_api_oauth.SearchChannelsPage("SixDegrees");
SearchChannels base_search1 = g_twitch_api_oauth.SearchChannelsPage("SixDegrees");
SearchChannels base_search2 = g_twitch_api_oauth.SearchChannelsPage("SixDegrees");
SearchChannels base_search3 = g_twitch_api_oauth.SearchChannelsPage("SixDegrees");
And just for good measure here is my method:
public SearchChannels SearchChannelsPage(string name, PagingSearchChannels paging = null)
{
if (paging.isNull())
{
paging = new PagingSearchChannels();
}
RestRequest request = Request("search/channels", Method.GET);
request.AddQueryParameter("query", name);
request = paging.Add(request);
IRestResponse<SearchChannels> response = client.Execute<SearchChannels>(request);
return response.Data;
}
I also tried the same tests with my paging method removed, and still got he same random results.