Skip to content

Instantly share code, notes, and snippets.

@auchenberg
Created July 9, 2012 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auchenberg/3076540 to your computer and use it in GitHub Desktop.
Save auchenberg/3076540 to your computer and use it in GitHub Desktop.
Podio global search
# encoding: UTF-8
require 'podio'
Podio.client = Podio::Client.new({:api_key => 'app key', :api_secret => 'app secret'})
Podio.client.authenticate_with_credentials('user email', 'user password')
results = Podio::Search.globally('70-cd-60-f8-41-a2')
results_item = Podio::Search.globall('auchenberg')
puts 'Search results'
puts results.size
puts results_item.size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment