Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
aphelionz authored Sep 24, 2018
1 parent 74bfb5c commit 7d3d488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ To discover resources via other parameters
>>> resources = hs.resources(author="email or username")
>>> resources = hs.resources(group="id or name")

**from_date** allows you to specify the earliest creation date to query for
**from_date** allows you to specify the earliest creation date to query for. Use any python datetime object i.e. datetime.datetime(2018, 09, 07)

**to_date** allows you to specify the latest creation date to query for
**to_date** allows you to specify the latest creation date to query for Use any python datetime object i.e. datetime.datetime(2018, 09, 07)

>>> # Discover via date range (datetime objects)
>>> resources = hs.resources(from_date=datetime, to_date=datetime)
Expand Down

0 comments on commit 7d3d488

Please sign in to comment.