You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import pytumblr
>>> client = pytumblr.TumblrRestClient(TUMBLR_CLIENT_KEY, TUMBLR_CLIENT_SECRET, TUMBLR_TOKEN, TUMBLR_TOKEN_SECRET)
>>> client.posts('staff', before=1541048400) # November 1, 2018 at 12:00 am
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ian/PycharmProjects/Stash/venv/lib/python3.7/site-packages/pytumblr/helpers.py", line 47, in add_dot_tumblr
return fn(*args, **kwargs)
File "/home/ian/PycharmProjects/Stash/venv/lib/python3.7/site-packages/pytumblr/__init__.py", line 133, in posts
return self.send_api_request("get", url, kwargs, ['id', 'tag', 'limit', 'offset', 'reblog_info', 'notes_info', 'filter', 'api_key'], True)
File "/home/ian/PycharmProjects/Stash/venv/lib/python3.7/site-packages/pytumblr/__init__.py", line 558, in send_api_request
validate_params(valid_parameters, params)
File "/home/ian/PycharmProjects/Stash/venv/lib/python3.7/site-packages/pytumblr/helpers.py", line 29, in validate_params
raise Exception("{0} are not allowed fields".format(field_strings))
Exception: before are not allowed fields
Looking at the code, it looks like the allowed params defined in this package do not line up with the params defined in the API docs
The text was updated successfully, but these errors were encountered:
Python 3.7.1
PyTumblr 0.0.8
Looking at the code, it looks like the allowed params defined in this package do not line up with the params defined in the API docs
The text was updated successfully, but these errors were encountered: