Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Usage

Retrieving entities from dandelion is easy, just instantiate a Datagem and iterate; pagination is implemented automatically for you, so don't worry and just get data.

>>> from dandelionimport Datagem
>>> from dandelion import Datagem
>>> d = Datagem('datagem-slug')
>>> for obj in d.objects[:10]:
... print obj['acheneID']
Expand Down Expand Up @@ -124,7 +124,7 @@ Available comparators are:

### Sort elements

Sorting is easy as everything else, with the `sort` method:
Sorting is easy as everything else, with the `order` method:

>>> for obj in d.objects.select('acheneID').order('acheneID')[:5]:
... print obj['acheneID']
Expand Down