-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull in the user profile/settings/default publication/published posts #23
Conversation
Adds details on how to find your user_id and how to set a password if you have an account that doesn't have one
…ation / get a list of all accessible publications / user settings / user profile.
…requires one extra step after login to get cookies)
hey, thanks a lot, especially for the user id method. Can you put a deprecated warning on the publication_url parameter? I'll take it out in future versions. |
If the parameter is None, then set it to the primary publication. |
Yeah, will do. |
@ma2za I couldn't find any reasonable way to mark a parameter in python as deprecated, and since Python doesn't allow Constructor overloading, I couldn't mark the "function" as deprecated either... However, I think the approach I took to matching up a URL to the new "publication" object works well. Let me know what you think. |
This PR adds several new endpoint calls to pull in the user profile/settings/published posts/get draft
This allows for:
I also made it so you can change the publication after api instantiation in case you want to change which publication you are working on; and by default it uses the users default publication.
I ran into a lot of issues because I have a
custom_domain
. This lead to all sorts of cookie issues.Some examples of the new calls: