pyinaturalist.v1.posts¶
Summary¶
|
Search posts |
Module Contents¶
- pyinaturalist.v1.posts.get_posts(**params)¶
Search posts
Notes
API reference: GET /posts
- Parameters
per_page (
Optional
[int
]) – Number of results to return in a page. The maximum value is generally 200 unless otherwise noteddry_run (
bool
) – Just log the request instead of sending a real requestsession (
Optional
[Session
]) – An existing Session object to use instead of creating a new oneuser_agent (
Optional
[str
]) – A custom user-agent string to provide to the iNaturalist API
Example
Get journal posts from user ‘username’
>>> response = get_posts(login='username')