spark_api
spark_api copied to clipboard
SkipToken not included in results for Spark API calls
It is for RESO Web API calls, though (via nextlink). Example:
SparkApi.client.get "/listings?_skiptoken="
returns results but not the SkipToken
Could you check if that exists in the pagination info, @catheg88? The current implementation of this will only yield the values of the results.
a = SparkApi.client.get "/listings?_skiptoken="
a.pagination
We should also be able to access the D record like this if pagination doesn't include this and you need this prior to any work being done:
a = SparkApi.client.get "/listings?_skiptoken="
a.d
Got it. There's no result from a.pagination, but I do see the SkipToken from a.d["SkipToken"]. Good to know.