>>> 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
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