Skip to content

Conversation

@pjmuller
Copy link
Contributor

@pjmuller pjmuller commented Dec 6, 2015

See title ;)

@pjmuller
Copy link
Contributor Author

pjmuller commented Dec 6, 2015

I also added one extra API call for the app stream

# @see https://developers.podio.com/doc/items/get-item-count-34819997
def item_count(app_id)
Podio.connection.get("/item/app/#{app_id}/count/").body
# options are either filters {gender: 1, firstname: "Joe"} or a view {view_id: 123}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding option specifics in the code is discouraged. These may be the options now, but not guaranteed in the future. The API docs should be the source of reference.

@cpeters
Copy link
Contributor

cpeters commented Jul 27, 2016

Please split these 2 commits into individual PRs

req.url("/stream/app/#{app_id}/v3/", options)
}.body
end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants