CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 25 Aug 2025 19:38:24 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090610043759
location: https://web.archive.org/web/20090610043759/https://github.com/nbio/cloudquery/tree/
server-timing: captures_list;dur=2.121920, exclusion.robots;dur=0.026004, exclusion.robots.policy;dur=0.010785, esindex;dur=0.013134, cdx.remote;dur=111.625943, LoadShardBlock;dur=624.175051, PetaboxLoader3.datanode;dur=176.319510, PetaboxLoader3.resolve;dur=215.541612
x-app-server: wwwb-app213
x-ts: 302
x-tr: 885
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Mon, 25 Aug 2025 19:38:25 GMT
content-type: text/html; charset=utf-8
content-length: 111
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Wed, 10 Jun 2009 04:37:58 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090610043759/https://github.com/nbio/cloudquery/tree/master
x-archive-orig-x-runtime: 36ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 111
cache-control: max-age=1800
memento-datetime: Wed, 10 Jun 2009 04:37:59 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 10 Jun 2009 04:37:59 GMT", ; rel="memento"; datetime="Wed, 10 Jun 2009 04:37:59 GMT", ; rel="next memento"; datetime="Sat, 12 Sep 2009 18:01:57 GMT", ; rel="last memento"; datetime="Tue, 22 Sep 2009 02:16:45 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090610023146_crawl103-c/52_10_20090610043740_crawl101.arc.gz
server-timing: captures_list;dur=0.689615, exclusion.robots;dur=0.024056, exclusion.robots.policy;dur=0.011027, esindex;dur=0.015669, cdx.remote;dur=6.106531, LoadShardBlock;dur=272.356724, PetaboxLoader3.datanode;dur=260.005973, PetaboxLoader3.resolve;dur=521.863064, load_resource;dur=530.550525
x-app-server: wwwb-app213
x-ts: 301
x-tr: 844
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 25 Aug 2025 19:38:26 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Wed, 10 Jun 2009 04:37:59 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 108ms
x-archive-orig-etag: "0b40cf1c4f2c79fd6d11e6bedeb05f8c"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 26685
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 10 Jun 2009 04:37:59 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 10 Jun 2009 04:37:59 GMT", ; rel="memento"; datetime="Wed, 10 Jun 2009 04:37:59 GMT", ; rel="next memento"; datetime="Sat, 12 Sep 2009 18:01:57 GMT", ; rel="last memento"; datetime="Sat, 12 Sep 2009 18:01:57 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090610023146_crawl103-c/52_10_20090610043740_crawl101.arc.gz
server-timing: captures_list;dur=0.682976, exclusion.robots;dur=0.026546, exclusion.robots.policy;dur=0.012400, esindex;dur=0.014627, cdx.remote;dur=26.122874, LoadShardBlock;dur=265.125031, PetaboxLoader3.datanode;dur=231.343688, PetaboxLoader3.resolve;dur=158.576453, load_resource;dur=188.062515
x-app-server: wwwb-app213
x-ts: 200
x-tr: 564
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
nbio's cloudquery at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install nbio-cloudquery
Description: | Ruby client for the Xoopit search API |
Homepage: | https://code.google.com/p/xci-clients/ |
Clone URL: |
git://github.com/nbio/cloudquery.git
Give this clone URL to anyone.
git clone git://github.com/nbio/cloudquery.git
|
name | age | message | |
---|---|---|---|
![]() |
.document | Tue Apr 28 09:57:38 -0700 2009 | Initial commit to cloudquery. [cee-dub] |
![]() |
.gitignore | Thu Apr 30 13:36:55 -0700 2009 | Refactored into Request and Client. Secrets are... [cee-dub] |
![]() |
LICENSE | Tue Apr 28 09:57:38 -0700 2009 | Initial commit to cloudquery. [cee-dub] |
![]() |
README.markdown | Mon May 04 16:28:20 -0700 2009 | Update readme with a little more install/usage ... [cee-dub] |
![]() |
Rakefile | Mon May 04 16:28:20 -0700 2009 | Update readme with a little more install/usage ... [cee-dub] |
![]() |
VERSION.yml | Mon May 04 16:28:27 -0700 2009 | Version bump to 0.1.5 [cee-dub] |
![]() |
cloudquery.gemspec | Mon May 04 16:28:27 -0700 2009 | Regenerated gemspec for version 0.1.5 [cee-dub] |
![]() |
lib/ | Mon May 04 00:50:35 -0700 2009 | Documentation updates. [cee-dub] |
![]() |
simple.contact.xml | Sun May 03 20:49:36 -0700 2009 | Added simple example run like tutorial at http:... [cee-dub] |
![]() |
spec/ | Sun May 03 20:04:02 -0700 2009 | Documentation! Also: - made #account_path priv... [cee-dub] |
cloudquery
Client for Xoopit's cloudquery API
Install
Depends on json
, rack
, and taf2-curb
. The install below should take
care of it. If not, sudo gem install json rack taf2-curb
will do it.
Be sure you've run gem sources -a https://gems.github.com
once on your system. Then:
sudo gem install xoopit-cloudquery
Simple contacts application example
> require 'rubygems'
=> true
> require 'cloudquery'
=> true
> include Cloudquery
=> Object
> secret = Client.get_secret(<account_name>, <password>)
=> "your secret appears here"
> c = Client.new(:account => '<account_name>', :secret => secret)
=> #<Cloudquery::Client:0x10b1b24 @secure=true, @secret="your secret appears here", @account="<account_name>", @document_id_method=nil>
> c.add_indexes('superheroes')
=> {"result"=>["kMzzzybpqpY"], "size"=>1, "STATUS"=>200}
> c.add_schema(File.open('simple.contact.xml'))
=> {"result"=>["ubKme0EX3H2ud7VhBU7qngk3........."], "size"=>1, "STATUS"=>201}
> doc = {
'simple.contact.name' => 'Steve Rogers',
'simple.contact.email' => ['steve.rogers@example.com','captain.america@marvel.com'],
'simple.contact.telephone' => ['555-555-5555','123-456-6789'],
'simple.contact.address' => ['Lower East Side, NY NY'],
'simple.contact.birthday' => Date.parse('July 4, 1917'),
'simple.contact.note' => 'Captain America!',
}
=> {"simple.contact.birthday"=>#<Date: 4842827/2,0,2299161>, "simple.contact.address"=>["Lower East Side, NY NY"], "simple.contact.telephone"=>["555-555-5555", "123-456-6789"], "simple.contact.note"=>"Captain America!", "simple.contact.email"=>["steve.rogers@example.com", "captain.america@marvel.com"], "simple.contact.name"=>"Steve Rogers"}
> c.add_documents('superheroes', doc, 'simple.contact')
=> {"result"=>["nDLCNLPo3oHtxANzG4YBn5kMzzzybpqpY"], "size"=>1, "STATUS"=>201}
> docs = [
{
'simple.contact.name' => 'Clark Kent',
'simple.contact.email' => ['clark.kent@example.com','superman@dc.com'],
'simple.contact.telephone' => ['555-123-1234','555-456-6789'],
'simple.contact.address' => ['344 Clinton St., Apt. #3B, Metropolis', 'The Fortess of Solitude, North Pole'],
'simple.contact.birthday' => Date.parse('June 18, 1938'),
'simple.contact.note' => 'Superhuman strength, speed, stamina, durability, senses, intelligence, regeneration, and longevity; super breath, heat vision, x-ray vision and flight. Member of the justice league.'
},
{
'simple.contact.name' => 'Bruce Wayne',
'simple.contact.email' => ['bruce.wayne@example.com','batman@dc.com'],
'simple.contact.telephone' => ['555-123-6666','555-456-6666'],
'simple.contact.address' => ['1007 Mountain Drive, Gotham', 'The Batcave, Gotham'],
'simple.contact.birthday' => Date.parse('February 19, 1939'),
'simple.contact.note' => 'Sidekick is Robin. Has problems with the Joker. Member of e justice league.'
}
]
> c.add_documents('superheroes', docs, 'simple.contact')
=> {"result"=>["lQgByVSvJk1skHtKpMYX40kMzzzybpqpY", "weJF4uDPJrlvrETTJQNibFkMzzzybpqpY"], "size"=>2, "STATUS"=>201}
> c.count_documents('superheroes', '*', 'simple.contact')
=> {"result"=>3, "matches"=>3, "STATUS"=>200}
> c.get_documents('superheroes', '*', {:fields => 'simple.contact.name'}, 'simple.contact')
=> {"result"=>[{"simple.contact.name"=>"Steve Rogers"}, {"simple.contact.name"=>"Clark Kent"}, {"simple.contact.name"=>"Bruce Wayne"}], "matches"=>3, "size"=>3, "STATUS"=>200}
> c.get_documents('superheroes', 'name:Steve', {:fields => 'simple.contact.name'}, 'simple.contact')
=> {"result"=>[{"simple.contact.name"=>"Steve Rogers"}], "matches"=>1, "size"=>1, "STATUS"=>200}
> c.get_documents('superheroes', ':@:justice', {:fields => 'simple.contact.name'}, 'simple.contact')
=> {"result"=>[{"simple.contact.name"=>"Clark Kent"}, {"simple.contact.name"=>"Bruce Wayne"}], "matches"=>2, "size"=>2, "STATUS"=>200}
> c.modify_documents('superheroes', 'name:steve', {'simple.contact.note' => 'His name is STEVE!'}, 'simple.contact')
=> {"result"=>["nDLCNLPo3oHtxANzG4YBn5kMzzzybpqpY"], "matches"=>1, "size"=>1, "STATUS"=>200}
> c.delete_documents('superheroes', 'name:steve', 'simple.contact') => {"result"=>["nDLCNLPo3oHtxANzG4YBn5kMzzzybpqpY"], "matches"=>2, "size"=>1, "STATUS"=>200}
Copyright
Copyright (c) 2009 nb.io, LLC and Xoopit, Inc. See LICENSE for details.
This feature is coming soon. Sit tight!