Skip to content
pehrlich edited this page Oct 24, 2012 · 16 revisions

Authentication

password:

  config.username = "[email protected]"
  config.password = "password"

token:

  config.username = "[email protected]/token"
  # token found at Settings -> Channels -> API -> Token Access
  config.password = "kX53RIXZKUFhZxSYhRxe7QGFocTkDmmERDxpcddF"
  # these settings then create the following syntax:
  # curl -u [email protected]/token:kX53RIXZKUFhZxSYhRxe7QGFocTkDmmERDxpcddF https://...

Search

See:

  query = client.users.search(:query => "[email protected]")
  client.search(query: 'type:ticket moon').first
Clone this wiki locally