yelp-python icon indicating copy to clipboard operation
yelp-python copied to clipboard

Add raw json response method

Open dreyco676 opened this issue 10 years ago • 3 comments

Parsing the data into python objects is fine but can hide new fields that may be added to the API overtime.

Providing raw json allows caching of data with additional fields and accessing them again at a later time.

dreyco676 avatar Apr 12 '16 16:04 dreyco676

We'll be sure to add fields to the clientlib if we make any changes to the API over time.

Could you provide more information on what you're trying to cache?

tomelm avatar Apr 12 '16 17:04 tomelm

That makes sense, I wasn't sure if the API team was managing the Clientlib as well or if that was another team. Sometimes they get out of sync.

I can see from the TOS I'm only supposed to cache ids so that's what I'll plan on doing. Feel free to close this issue.

dreyco676 avatar Apr 12 '16 18:04 dreyco676

Yup API team manages the clientlibs too :)

watterso avatar Jun 24 '16 20:06 watterso